Null check style

EditorConfig key: roslynator-null-check-style

Null check style

roslynator-null-check-style

Whether to use == null / != null or pattern matching for null checks.

Default value:

pattern_matching

Possible values:

  • equality_operator
  • pattern_matching

Examples