Navigation:  StyleCop 4.3 > StyleCop 4.3 Rules >

Layout Rules

Previous pageReturn to chapter overviewNext page
StyleCop 4.3

Send comments on this topic.

Layout Rules

Glossary Item Box

Rules which enforce code layout and line spacing.
SA1500: CurlyBracketsForMultiLineStatementsMustNotShareLine

SA1501: StatementMustNotBeOnSingleLine

SA1502: ElementMustNotBeOnSingleLine

SA1503: CurlyBracketsMustNotBeOmitted

SA1504: AllAccessorMustBeMultiLineOrSingleLine

SA1505: OpeningCurlyBracketsMustNotBeFollowedByBlankLine

SA1506: ElementDocumentationHeadersMustNotBeFollowedByBlankLine

SA1507: CodeMustNotContainMultipleBlankLinesInARow

SA1508: ClosingCurlyBracketsMustNotBePrecededByBlankLine

SA1509: OpeningCurlyBracketsMustNotBePrecedededByBlankLine

SA1510: ChainedStatementBlocksMustNotBePrecededByBlankLine

SA1511: WhileDoFooterMustNotBePrecededByBlankLine

SA1512: SingleLineCommentsMustNotBeFollowedByBlankLine

SA1513: ClosingCurlyBracketMustBeFollowedByBlankLine

SA1514: ElementDocumentationHeaderMustBePrecededByBlankLine

SA1515: SingleLineCommentMustBePrecededByBlankLine

SA1516: ElementsMustBeSeparatedByBlankLine

 


© Microsoft Corporation. All Rights Reserved.