Skip to main content

RCS1035: Remove redundant comma in initializer

WARNING

This analyzer is obsolete. Use RCS1260 instead.

Properties

PropertyValue
Default Severitydisabled by default
Minimum language version-

Examples

Example #1

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

Applies to