Parentheses in object creation

EditorConfig key: roslynator-object-creation-parentheses-style

Parentheses in object creation

roslynator-object-creation-parentheses-style

Whether new T() and new T { ... } use parentheses when constructor arguments are absent.

Default value:

include

Possible values:

  • include
  • omit

Examples