TypeName | RemovePrivateMethodNeverUsedAnalyzer |
Check Id | CC0068 |
Category | Usage |
Severity | Info |
Removes a private method that is not in use.
public class MyClass
{
private int field;
public MyClass() { }
private void MyMethod()
{
field = 1;
}
}
A code fix will be presented to you that will transform the code removing the unused method:
public class MyClass
{
private int field;
public MyClass() { }
}
TBD
TBD