The only thing we have in the yard that squirrels eat are the black walnuts and the indian peaches. We don't eat either so that's okay.
Two of the three walnut trees are inside the dog pen. Every now and then a squirrel makes the mistake of thinking the dogs are really sound asleep. I tell you more squirrels come in and leave safely than get caught, way more. It's funny to see the sit out there in the yard and watch the dog pen. They'll sit up, watch for awhile. Drop down, move closer, stop, sit up and watch. And they keep repeating it till they get close. They'll go through the fence to get into the pen and grab a walnut and then they go up/over the fence to get out. Not sure why they do it that way since the walnut is about the size of their head and would go through the fence just fine. They'll find a "high" spot (come to the deck and sit on the rail, go to the porch on the building in the back lot, get on the picnic table, etc.) to eat their walnut. The carry the peaches from the peach trees to a maple tree and climb up it to eat dessert.
Of course, they also keep planting walnut trees in the flower beds, the back lot, the yard, where ever the urge hits them, in an attempt to have a source of walnut that is not in the dog pen.
Where I live, if I decide the squirrels are an issue, I think I'd be tempted to get me a suppressor (probably should have already done it considering how long it takes the paperwork) for the SIG 522.