Property | Value |
---|---|
Id | RCS1035 |
Category | Redundancy |
Default Severity | Hidden |
Enabled by Default | - |
Supports Fade-Out | ✓ |
Supports Fade-Out Analyzer | - |
public void Foo()
{
var arr = new string[] { "a", "b", "c", }; // RCS1035
}
public void Foo()
{
var arr = new string[] { "a", "b", "c" };
}
[assembly: SuppressMessage("Redundancy", "RCS1035:Remove redundant comma in initializer.", Justification = "<Pending>")]
#pragma warning disable RCS1035 // Remove redundant comma in initializer.
#pragma warning restore RCS1035 // Remove redundant comma in initializer.
(Generated with DotMarkdown)