ReSharper 2024.1 Help

Code inspection: Type is never used (private accessibility)

Category

Redundancies in Symbol Declarations

ID

UnusedType.Local

EditorConfig

resharper_unused_type_local_highlighting

Default severity

Warning

Language

C#, VB.NET, XAML

Requires SWA

No

Unused types might indicate dead code, which can occur for example, after changing the consumer code. ReSharper detects such unused types and suggests that you either remove or comment them to reduce code size and simplify its maintenance.

Last modified: 11 February 2024