Total .NET Analyzer Rule Documentation  

UnusedInterface Rule

The interface is not being used.

Remarks

The code contains a Interface that is never used. Although having unused items does not affect code functionality, unused items clutter code, making it difficult to read and maintain.

More importantly, unused Interfaces could indicate deeper logic issues in your application. For instance, the Interface could represent important functionality that has not been implemented.

Resolution

You should review all unused Classes to ensure that they do not represent important functionality that should be implemented. If the Class is unnecessary, you should consider removing it to keep your application running optimally and to keep your code readable and manageable.

See Also