ReSharper 2024.1 Help

Code Inspection: Inconsistent Naming

Category

Constraints Violations

ID

InconsistentNaming

EditorConfig

resharper_inconsistent_naming_highlighting

Default severity

Warning

Language

C#, VB.NET, XAML, JavaScript

Requires SWA

No

This inspection notifies you about violations of symbol naming style whether you use the default set of naming rules or configure your preferences.

Out of the box, ReSharper provides a set of naming rules that cover all kinds of identifiers. These rules are based on the Microsoft Naming Guidelines, .NET Platform Coding Style, and various best practices.

If your personal preferences or company standards differ from ReSharper defaults, you can configure the naming style in a flexible way: for each type of identifier you can choose capitalization rules, prefixes and suffixes, variations for different access rights, abbreviations to ignore, and more.

Your naming style preferences are saved using the mechanism of layer-based settings. Among other things, this mechanism allows you to maintain different preferences for different solutions as well as to keep these preferences under a VCS and automatically share them with your team members.

Last modified: 15 April 2024