Fetching contributors…
Cannot retrieve contributors at this time
31 lines (21 sloc) 790 Bytes

RCS1067: Remove argument list from object creation expression

Property Value
Id RCS1067
Category Style
Default Severity Info
Enabled by Default -
Supports Fade-Out
Supports Fade-Out Analyzer -


Code with Diagnostic

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

Code with Fix

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

See Also

(Generated with DotMarkdown)