Welcome to Microsoft Q&A!
I tested it on my side. I suppose it is designed like this. The reference is not supported on local functions in C#.
If you have any suggestion about the feature, you can directly report it to product team by selecting “Help” menu > Send Feedback.
By the way, I click on Edit > Go To > Go To All… > type “squ” > it shows as follows:
Sincerely,
Anna
*
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.