Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

CA1707: Identifiers should not contain underscores







Breaking Change

Breaking - when raised on assemblies

Non-breaking - when raised on type parameters

The name of an identifier contains the underscore (_) character.

By convention, identifier names do not contain the underscore (_) character. The rule checks namespaces, types, members, and parameters.

Naming conventions provide a common look for libraries that target the common language runtime. This reduces the learning curve that is required for new software libraries, and increases customer confidence that the library was developed by someone who has expertise in developing managed code.

Remove all underscore characters from the name.

Do not suppress a warning from this rule.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.