SA1025: CodeMustNotContainMultipleWhitespaceInARow

StyleCop

TypeName

CodeMustNotContainMultipleWhitespaceInARow

CheckId

SA1025

Category

Spacing Rules

Cause

The code contains multiple whitespace characters in a row.

Rule Description

A violation of this rule occurs whenever the code contains multiple whitespace characters in a row, unless the characters come at the beginning or end of a line of code, or come after a comma or semicolon.

How to Fix Violations

To fix a violation of this rule, remove the extra whitespace characters are leave only a single space.