Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 820 Bytes

RCS1050.md

File metadata and controls

32 lines (21 loc) · 820 Bytes

RCS1050: Include/omit parentheses when creating new object

Property Value
Id RCS1050
Severity None
Required option roslynator_object_creation_parentheses_style

Example

Code with Diagnostic

var items = new List<string> { "a", "b", "c"  };

Code with Fix

var items = new List<string>() { "a", "b", "c"  };

Options

Include/omit parentheses when creating new object

roslynator_object_creation_parentheses_style = include|omit

(Generated with DotMarkdown)