TypeName | SA1013ClosingBracesMustBeSpacedCorrectly |
CheckId | SA1013 |
Category | Spacing Rules |
A closing brace within a C# element is not spaced correctly.
A violation of this rule occurs when the spacing around a closing brace is not correct.
A closing brace should always be followed by a single space, unless it is the last character on the line, or unless it is followed by a closing parenthesis, a comma, or a semicolon.
A closing brace should always be preceded by a single space, unless it is the first character on the line.
To fix a violation of this rule, ensure that the spacing around the closing brace follows the rule described above.
[SuppressMessage("StyleCop.CSharp.SpacingRules", "SA1013:ClosingBracesMustBeSpacedCorrectly", Justification = "Reviewed.")]
#pragma warning disable SA1013 // ClosingBracesMustBeSpacedCorrectly
#pragma warning restore SA1013 // ClosingBracesMustBeSpacedCorrectly