Looking to just get or set links for a property in VS2010?

I am using VS 2010 and C #. When I want to find all references to methods or properties, press Shift + F12 . You can only find get or set links for the checked property.

Is it possible? Maybe I should install any extension?

+6
source share
2 answers

I suggest you evaluate the ReSharper product, which has extremely powerful features that greatly enhance the performance of Visual Studio.

Finding use is what you are looking for.

If you find that ReSharper will be fine (and you will!), Then continue to buy a license after evaluation.

Just make sure to try it at least!

+4
source

Poor person - just delete / comment either getter or setter and recompile: all errors will be your links .;)

EDIT: instead of deleting (which may be invalid syntax), change the visibility of the specific get / set to private.

+7
source

Source: https://habr.com/ru/post/918664/


All Articles