Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 600 Bytes

RCS1035.md

File metadata and controls

34 lines (24 loc) · 600 Bytes

RCS1035: Remove redundant comma in initializer

Property Value
Id RCS1035
Category Redundancy
Severity None

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)