Total .NET Analyzer Rule Documentation  

UnderscoreName Rule

Avoid using the underscore character for member names.

Remarks

Using a standardized naming convention is an important element in writing code that is easy to read, understand, and maintain. Microsoft recommends that you do not use the underscore character ("_") at the start of member names (methods, properties, functions, etc.).

Not only is this recommended for standard naming convention, but it is also recommended to minimize the chance of collision between user member names and identifiers generated by the compiler (which often use the underscore character).

Resolution

Remove the underscore from the member name. For instance, you could change the class:

Class _CustomerInfo
' Code here...
End Class


To:

Class CustomerInfo
' Code here...
End Class

See Also

Naming Guidelines