TypeName | ClosingAttributeBracketsMustBeSpacedCorrectly |
CheckId | SA1017 |
Category | Spacing Rules |
Cause
A closing attribute bracket within a C# element is not spaced correctly.
Rule Description
A violation of this rule occurs when the spacing around a closing attribute bracket is not correct.
A closing attribute bracket should never be preceded by whitespace, unless the bracket is the first character on the line.
How to Fix Violations
To fix a violation of this rule, ensure that there is no whitespace before the closing attribute bracket.