Permalink
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (32 sloc) 628 Bytes

Merge if with parent if

Property Value
Id RR0196
Title Merge if with parent if
Syntax if statement
Span if keyword
Enabled by Default

Usage

Before

if (x)
{
    if (y)
    {
    }
}
else
{
}

After

if (x && y)
{
}
else
{
}

full list of refactorings

(Generated with DotMarkdown)