Looking for unused features?

I know you can do a Find All References to a function and you can tell if it is being used anywhere, but is there a tool that will go through all of my functions and highlight any that are not called anywhere in the code?

+2


source to share


2 answers


I believe ReSharper can do what you want. More specifically, the Safe Delete command should at least make the job easier. Although I haven't tried it yet, the Code Cleanup tool can do it all automatically.



+7


source


I prefer ReSharper , but if you're looking for a free product, Microsoft FxCop will identify unused public methods.



+3


source







All Articles