Open sandboxFocus

Method MustRespectNamingConvention

MustRespectNamingConvention(IAspectReceiver<INamedDeclaration>, string)

Reports a warning when any declaration in the selection fails to respect the given naming convention, with the asterisk character (*) matching any substring.

Declaration
public static void MustRespectNamingConvention(this IAspectReceiver<INamedDeclaration> receiver, string pattern)
Parameters
Type Name Description
IAspectReceiver<INamedDeclaration> receiver
string pattern