It’s possible to find all functions call in Visual Studio. But is there a way to do the same with variables?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could use the
Find all referencesfunction. In the results you’ll see the line, so you can quickly see if it is an access of the variable.More information: http://www.blackwasp.co.uk/VSFindAllReferences.aspx
Another dirty way is temporary commenting the declaration of the variable. Intellisense will update immediately and show errors where the variable is used.