Skip to content
Christophe HEISER edited this page Sep 26, 2015 · 2 revisions
<title>Spacing Rules</title> <script src="script/helpstudio.js" type="text/javascript"></script> <script src="script/StandardText.js" type="text/javascript"></script>
<script type="text/javascript">WritePageTop(document.title);</script>

Rules which enforce spacing requirements around keywords and symbols in the code.

SA1000: KeywordsMustBeSpacedCorrectly

SA1001: CommasMustBeSpacedCorrectly

SA1002: SemicolonsMustBeSpacedCorrectly

SA1003: SymbolsMustBeSpacedCorrectly

SA1004: DocumentationLinesMustBeginWithSingleSpace

SA1005: SingleLineCommentsMustBeginWithSingeSpace

SA1006: PreprocessorKeywordsMustNotBePrecededBySpace

SA1007: OperatorKeywordMustBeFollowedBySpace

SA1008: OpeningParenthesisMustBeSpacedCorrectly

SA1009: ClosingParenthesisMustBeSpacedCorrectly

SA1010: OpeningSquareBracketsMustBeSpacedCorrectly

SA1011: ClosingSquareBracketsMustBeSpacedCorrectly

SA1012: OpeningCurlyBracketsMustBeSpacedCorrectly

SA1013: ClosingCurlyBracketsMustBeSpacedCorrectly

SA1014: OpeningGenericBracketsMustBeSpacedCorrectly

SA1015: ClosingGenericBracketsMustBeSpacedCorrectly

SA1016: OpeningAttributeBracketsMustBeSpacedCorrectly

SA1017: ClosingAttributeBracketsMustBeSpacedCorrectly

SA1018: NullableTypeSymbolsMustNotBePrecededBySpace

SA1019: MemberAccessSymbolsMustBeSpacedCorrectly

SA1020: IncrementDecrementSymbolsMustBeSpacedCorrectly

SA1021: NegativeSignsMustBeSpacedCorrectly

SA1022: PositiveSignsMustBeSpacedCorrectly

SA1023: DereferenceAndAccessOfSymbolsMustBeSpacedCorrectly

SA1024: ColonsMustBeSpacedCorrectly

SA1025: CodeMustNotContainMultipleWhitespaceInARow

SA1026: CodeMustNotContainSpaceAfterNewKeywordInImplicitlyTypedArrayAllocation

SA1027: TabsMustNotBeUsed

SA1029: DoNotSplitNullConditionalOperators

Clone this wiki locally