Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Development Edition
Naming Warnings
 Identifiers should not contain unde...
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
Visual Studio Team System
Identifiers should not contain underscores

TypeName

IdentifiersShouldNotContainUnderscores

CheckId

CA1707

Category

Microsoft.Naming

Breaking Change

Breaking - when fired on assemblies

Non Breaking - when fired 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 required for new software libraries, and increases customer confidence that the library was developed by someone with expertise in developing managed code.

Remove all underscore characters from the name.

Do not suppress a warning from this rule.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker