How to find out which code in a C # .NET assembly is not being called

I have a C # .NET assembly in visual studio 2008. If necessary, I can upgrade it to VS 2010.

How can I find which code in the assembly is not being called? Ideally, if something can analyze the whole solution in one go. It’s too difficult for me to analyze all this myself.

The assembly is shared between the client and server project, so I need to understand what code is used there.

+3
source share
6 answers

Try to get resharper. It does it for you. You can get a free trial from your website. http://www.jetbrains.com/resharper/download/

+1
source

VS 2010 - , .

MSDN:

, , Visual Studio . , , , . . , , line-by-line, .

+2
+1

FxCOP - Microsoft, .

/, . , .

+1

Visual Studio, help here.

+1

ReSharper, , , ( ).

30- , , , .

+1
source

All Articles