How can I use ReSharper to list unused methods in a solution?

C#asp.netResharper

C# Problem Overview


In a legacy ASP.NET project I have inherited, there are an abundance of methods defined which are used absolutely nowhere.

I'm familiar with the "Find usages" functionality, but would like to be able to generate a list of methods which are not called anywhere in the app. Does such functionality exist?

C# Solutions


Solution 1 - C#

You can select ReSharper => Inspect => Codes Issues in solution ; And there, you can group by "Issue Type" and you should see all issues that match with "Type or type member is never used" (unused method goes there)

(And if you click right on it, you can select : "Show only "type or type member is never used" issues" .. and there you go ;)

ReSharper1

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionMicheal WellsView Question on Stackoverflow
Solution 1 - C#Gauthier G. LetellierView Answer on Stackoverflow