Code Inspection-Unused Constructors/Unused Forms
Hi all,
I am utilizing the Resharper 'Find Code Issue' function to remove code that has been deprecated over the years on a 200,000 line application. For the most part it's great, except one issue. It doesn't seem to identify unused Constructors on my forms.If I right click 'Find Usage' I get a 'Usage of XXX were not found'. But when I perform the 'Find Code Issue' it's not identified. How can I ensure Windows Forms Constructors that aren't being used are identified?
Example of my class:
Public class myUnusedClass : System.Windows.Forms.Form
{
public myUnusedClass(string something) //Find usage results in 0 results.
{
....do some stuff
}
}
Please sign in to leave a comment.