JetBrains Rider 2022.2 Help

Code Inspection: Add/remove qualifier for static members

In C#, you can qualify instance members with this keyword, and qualify static members with type name or a base type name. These qualifiers help you disambiguate members hidden by local variables or method parameters. In all other cases, these modifiers are optional, and you can decide for yourself whether to use them or not. With JetBrains Rider, you can configure your preferences for using optional modifiers and enforce these preferences.

By default, JetBrains Rider treats all optional member qualifiers as redundant and suggests removing them.

For more information about configuring and enforcing your preferences for optional member qualifiers, see Code Syntax Style: Optional Member Qualifiers.

Last modified: 08 March 2021