Is there a way to find all unused code in a .NET project using ReSharper?
I just did a major overhaul of a coworker project and almost everything was rewritten throughout the process. There used to be too much code.
Now I am left with the prospect that there are old pre-refactoring methods somewhere in my project that are no longer needed.
Is there a way to search the whole project for such methods in one go?
I understand the risk of potentially removing the code used in reflection.
It is very similar to this question , except that I would like to add two additional things:
- ReSharper specific answer
- Instructions on how to achieve this using ReSharper as I cannot figure it out.
+2
source to share
2 answers