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

RCS1050: Add argument list to object creation expression

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

Example

Code with Diagnostic

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

Code with Fix

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

See Also

(Generated with DotMarkdown)