TypeName | SA1017ClosingAttributeBracketsMustBeSpacedCorrectly |
CheckId | SA1017 |
Category | Spacing Rules |
A closing attribute bracket within a C# element is not spaced correctly.
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.
To fix a violation of this rule, ensure that there is no whitespace before the closing attribute bracket.
[SuppressMessage("StyleCop.CSharp.SpacingRules", "SA1017:ClosingAttributeBracketsMustBeSpacedCorrectly", Justification = "Reviewed.")]
#pragma warning disable SA1017 // ClosingAttributeBracketsMustBeSpacedCorrectly
#pragma warning restore SA1017 // ClosingAttributeBracketsMustBeSpacedCorrectly