All rules
CA1708Naming Enabled by default: No
Identifiers should differ by more than case
Identifiers should differ by more than case
Microsoft docsDescription
Identifiers for namespaces, types, members, and parameters cannot differ only by case because languages that target the common language runtime are not required to be case-sensitive. For example, Visual Basic is a widely used case-insensitive language.
Cause
The names of two types, members, parameters, or fully qualified namespaces are identical when they're converted to lowercase.
By default, this rule only looks at externally visible types, members, and namespaces, but this is configurable.
How to fix violations
Select a name that's unique when it's compared to other identifiers in a case-insensitive manner.
Example
public class Class1
{
protected string someName;
public string SomeName => someName;
}When to suppress
Do not suppress a warning from this rule. The library might not be usable in all available languages in .NET.
Your vote
Group results
0 yes 0 no
ConsensusNone (disabled)
Severity preference (yes voters)
Suggestion0
Warning0
Error0