Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (21 sloc) 598 Bytes

RCS1183: Format initializer with single expression on single line

Property Value
Id RCS1183
Category Formatting
Severity Hidden

Example

Code with Diagnostic

var dic = new Dictionary<int, string>()
{ // RCS1183
    { 0, "0" }
};

Code with Fix

var dic = new Dictionary<int, string>() { { 0, "0" } };

See Also

(Generated with DotMarkdown)