-
Notifications
You must be signed in to change notification settings - Fork 23
SA1015
TypeName |
ClosingGenericBracketsMustBeSpacedCorrectly |
CheckId |
SA1015 |
Category |
Spacing Rules |
A closing generic bracket within a C# element is not spaced correctly.
A violation of this rule occurs when the spacing around a closing generic bracket is not correct.
A closing generic bracket should never be preceded by whitespace, unless the bracket is the first character on the line. A closing generic bracket should be followed by an open parenthesis, a close parenthesis, a closing generic bracket, a nullable symbol, an end of line or a single whitespace (but not whitespace and an open parenthesis).
To fix a violation of this rule, ensure the whitespace around the closing generic bracket is correct.
[SuppressMessage("StyleCop.CSharp.SpacingRules", "SA1015:ClosingGenericBracketsMustBeSpacedCorrectly", Justification = "Reviewed.")]
</div>
</body>
- - SA0102 - Clean Install
- - Download
- - Documentation Rules - Layout Rules - Maintainability Rules - Naming Rules - Ordering Rules - Readability Rules - Spacing Rules - Suppressions
- - Adding a custom StyleCop settings page - Adding custom rule settings - Authoring a custom styleCop rule - Authoring rules metadata - Custom CSharp Language Service - Custom MSBuild Integration - Hosting StyleCop in a Custom Environment - Installing a Custom Rule - Integrating StyleCop Into Build Environments - Integrating StyleCop into MSBuild - Writing Custom Rules for StyleCop