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: 15 April 2024