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

RCS1041: Remove empty initializer

Property Value
Id RCS1041
Category Redundancy
Default Severity Info
Enabled by Default
Supports Fade-Out
Supports Fade-Out Analyzer -

Example

Code with Diagnostic

var items = new List<object>() { }; // RCS1041

Code with Fix

var items = new List<object>();

See Also

(Generated with DotMarkdown)