Permalink
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (37 sloc) 883 Bytes

RCS1134: Remove redundant statement

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

Examples

Code with Diagnostic

public void Foo()
{
    // ...

    return; // RCS1134
}

Code with Fix

public void Foo()
{
    // ...
}

Code with Diagnostic

foreach (object item in items)
{
    /// ...

    continue; // RCS1134
}

See Also

(Generated with DotMarkdown)