CA1716: Identifiers should not match keywords
Visual Studio 2012
|
TypeName |
IdentifiersShouldNotMatchKeywords |
|
CheckId |
CA1716 |
|
Category |
Microsoft.Naming |
|
Breaking Change |
Breaking |
Identifiers for namespaces, types, and virtual and interface members should not match keywords that are defined by languages that target the common language runtime. Depending on the language that is used and the keyword, compiler errors and ambiguities can make the library difficult to use.
This rule checks against keywords in the following languages:
-
Visual Basic
-
C#
-
C++/CLI
Case-insensitive comparison is used for Visual Basic keywords, and case-sensitive comparison is used for the other languages.