TypeName | SA1018NullableTypeSymbolsMustNotBePrecededBySpace |
CheckId | SA1018 |
Category | Spacing Rules |
A nullable type symbol within a C# element is not spaced correctly.
A violation of this rule occurs when the spacing around a nullable type symbol is not correct.
A nullable type symbol should never be preceded by whitespace, unless the symbol is the first character on the line.
To fix a violation of this rule, ensure that there is no whitespace before the nullable type symbol.
[SuppressMessage("StyleCop.CSharp.SpacingRules", "SA1018:NullableTypeSymbolsMustNotBePrecededBySpace", Justification = "Reviewed.")]
#pragma warning disable SA1018 // NullableTypeSymbolsMustNotBePrecededBySpace
#pragma warning restore SA1018 // NullableTypeSymbolsMustNotBePrecededBySpace