Navigation:  StyleCop 4.3 > StyleCop 4.3 Rules >

Ordering Rules

Previous pageReturn to chapter overviewNext page
StyleCop 4.3

Send comments on this topic.

Ordering Rules

Glossary Item Box

Rules which enforce a standard ordering scheme for code contents.

SA1200: UsingDirectivesMustBePlacedWithinNamespace

SA1201: ElementsMustAppearInTheCorrectOrder

SA1202: ElementsMustBeOrderedByAccess

SA1203: ConstantsMustAppearBeforeFields

SA1204: StaticElementsMustAppearBeforeInstanceElements

SA1206: DeclarationKeywordsMustFollowOrder

SA1207: ProtectedMustComeBeforeInternal

SA1208: SystemUsingDirectivesMustBePlacedBeforeOtherUsingDirectives

SA1209: UsingAliasDirectivesMustBePlacedAfterOtherUsingDirectives

SA1210: UsingDirectivesMustBeOrderedAlphabeticallyByNamespace

SA1211: UsingAliasDirectivesMustBeOrderedAlphabeticallyByAliasName

 


© Microsoft Corporation. All Rights Reserved.