SA1016 - Visual-Stylecop/Visual-StyleCop GitHub Wiki
<title>SA1016: OpeningAttributeBracketsMustBeSpacedCorrectly</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 |
OpeningAttributeBracketsMustBeSpacedCorrectly |
CheckId |
SA1016 |
Category |
Spacing Rules |
An opening attribute bracket within a C# element is not spaced correctly.
A violation of this rule occurs when the spacing around an opening attribute bracket is not correct.
An opening attribute bracket should never be followed by whitespace, unless the bracket is the last character on the line.
To fix a violation of this rule, ensure that there is no whitespace after the opening attribute bracket.
[SuppressMessage("StyleCop.CSharp.SpacingRules", "SA1016:OpeningAttributeBracketsMustBeSpacedCorrectly", Justification = "Reviewed.")]