Is there a way to automatically find all unused public functions in a solution? I have resharper, and right now I have to do a “find usages” on each symbol, which is tedious–it seems like there should be a better way
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Of course there’s a better way. Here’s what you should do if you use ReSharper 4.5 or later:
ReSharper will display various code issues that it detects in your solution in “Inspection results” tool window. Specifically, under “Unused symbols”, you’ll see all non-private types and members in your code that are not used.