TypeName | SA1020IncrementDecrementSymbolsMustBeSpacedCorrectly |
CheckId | SA1020 |
Category | Spacing Rules |
An increment or decrement symbol within a C# element is not spaced correctly.
A violation of this rule occurs when the spacing around an increment or decrement symbol is not correct.
There should be no whitespace between the increment or decrement symbol and the item that is being incremented or decremented.
To fix a violation of this rule, ensure that there is no whitespace between the increment or decrement symbol and the item that is being incremented or decremented.
[SuppressMessage("StyleCop.CSharp.SpacingRules", "SA1020:IncrementDecrementSymbolsMustBeSpacedCorrectly", Justification = "Reviewed.")]
#pragma warning disable SA1020 // IncrementDecrementSymbolsMustBeSpacedCorrectly
#pragma warning restore SA1020 // IncrementDecrementSymbolsMustBeSpacedCorrectly