TypeName | SA1107CodeMustNotContainMultipleStatementsOnOneLine |
CheckId | SA1107 |
Category | Readability Rules |
The C# code contains more than one statement on a single line.
A violation of this rule occurs when the code contain more than one statement on the same line. Each statement should begin on a new line.
To fix a violation of this rule, move each statement to begin on its own line.
[SuppressMessage("StyleCop.CSharp.ReadabilityRules", "SA1107:CodeMustNotContainMultipleStatementsOnOneLine", Justification = "Reviewed.")]
#pragma warning disable SA1107 // CodeMustNotContainMultipleStatementsOnOneLine
#pragma warning restore SA1107 // CodeMustNotContainMultipleStatementsOnOneLine