Permalink
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (27 sloc) 830 Bytes

RCS1035: Remove redundant comma in initializer

Property Value
Id RCS1035
Category Redundancy
Default Severity Hidden
Enabled by Default -
Supports Fade-Out
Supports Fade-Out Analyzer -

Example

Code with Diagnostic

public void Foo()
{
    var arr = new string[] { "a", "b", "c", }; // RCS1035
}

Code with Fix

public void Foo()
{
    var arr = new string[] { "a", "b", "c" };
}

See Also

(Generated with DotMarkdown)