SA1015: ClosingGenericBracketsMustBeSpacedCorrectly

StyleCop

TypeName

ClosingGenericBracketsMustBeSpacedCorrectly

CheckId

SA1015

Category

Spacing Rules

Cause

A closing generic bracket within a C# element is not spaced correctly.

Rule Description

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.

How to Fix Violations

To fix a violation of this rule, ensure that there is no whitespace before the closing generic bracket.