SA1017 - Visual-Stylecop/Visual-StyleCop GitHub Wiki
<title>SA1017: ClosingAttributeBracketsMustBeSpacedCorrectly</title>
<script src="script/helpstudio.js" type="text/javascript"></script>
<script src="script/StandardText.js" type="text/jscript"></script>
<script type="text/jscript"> WritePageTop(document.title);</script>
TypeName |
ClosingAttributeBracketsMustBeSpacedCorrectly |
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.")]