Permalink
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (28 sloc) 815 Bytes

RCS1061: Merge if statement with nested if statement

Property Value
Id RCS1061
Category Simplification
Default Severity Hidden
Enabled by Default
Supports Fade-Out -
Supports Fade-Out Analyzer

Example

Code with Diagnostic

if (condition) // RCS1061
{
    if (condition2)
    {
    }
}

Code with Fix

if (condition && condition2)
{
}

See Also

(Generated with DotMarkdown)