Need to parse C # code to search for classes without links

I have legacy C # code and am using Visual Studio 2008. I am looking for a tool, like a code analyzer, that will tell me which class is not used, as well as other useful information that may be useful for optimizing the code.

If there is an exact duplicate, please indicate.

Thank.

+5
source share
4 answers

Take a look at NDepend .

+8
source

ReSharper (r #) has something like.

Kindness,

Dan

+2
source
+1

The C # Test Coverage tool will tell you which code blocks (methods) are not executed during any one (or set) of runs. If you carefully implement your code, blocks that are not executed are strong candidates for dead code.

+1
source

All Articles