Skip to main content

Wrap binary expression

PropertyValue
IdRR0049
Applicable Syntaxlogical and/or expression, bitwise and/or expression
Enabled by Default✓

Usage​

Example #1​

before.cs
if (x && y && z)
{
}
after.cs
if (x
&& y
&& z)
{
}

Example #2​

before.cs
if (x
&& y
&& z)
{
}
after.cs
if (x && y && z)
{
}

Configuration​

roslynator_refactoring.wrap_binary_expression.enabled = true|false