TypeName

MemberAccessSymbolsMustBeSpacedCorrectly

CheckId

SA1019

Category

Spacing Rules

Cause

The spacing around a member access symbol is incorrect, within a C# code file.

Rule Description

A violation of this rule occurs when the spacing around a member access symbol is incorrect. A member access symbol should not have whitespace on either side, unless it is the first or last character on the line.

How to Fix Violations

To fix a violation of this rule, ensure that the member access symbol is not surrounded by any whitespace.