Rider Help

Code Inspection: Type or member is never used (non-private accessibility)

This is a solution-wide code inspection. It only works when the solution-wide analysis is enabled.

Unused types or members might indicate dead code, which can occur, for example, after changing the product's functionality. Rider detects methods that are not called and types that are not used.

To reduce code size and simplify its maintenance, Rider can either remove or comment out the unused type or member, depending on what you choose.

Last modified: 11 October 2017

See Also