CheckSharp.Checks.Naming

AbstractClassNameCheck

Checks names of abstract classes to conform to a given regex pattern.

PropertyDefaultDescription
format^Abstract[A-Z][a-zA-Z0-9]*$

ClassMemberFieldNameCheck

Checks member field names to conform to a given regex pattern. Only fields that are declared in a class and are NOT declared using the const keyword are checked.

PropertyDefaultDescription
format^[a-z][a-zA-Z0-9]*$

ClassNameCheck

Checks class names to conform to a given regex pattern.

PropertyDefaultDescription
format^[A-Z][a-zA-Z0-9]*$

ConstFieldNameCheck

Checks const field names to conform to a given regex pattern. Only fields that are declared using the const keyword are checked.

PropertyDefaultDescription
format^[A-Z][A-Z0-9_]*$

InterfaceNameCheck

Checks interface names to conform to a given regex pattern.

PropertyDefaultDescription
format^I[A-Z][a-zA-Z0-9]*$

MethodNameCheck

Checks method names to conform to a given regex pattern.

PropertyDefaultDescription
format^[A-Z][a-zA-Z0-9]*$