Skip to content

New rule proposal: NullForgivingOperatorMustNotBePrecededBySpace #3176

Open
@vweijsters

Description

@vweijsters

Category: Spacing
Title: Null-forgiving operator must not be preceded by space.
Description: A null-forgiving operator following a C# expression is not spaced correctly.
Rationale: Consistency with spacing rules for other unary postfix operator. #3172 requested that it should be allowed to not have space before a null-forgiving operator. For consistency reasons this rule would be added to ensure a consistent style.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions