Wrap binary expression
Property | Value |
---|---|
Id | RR0049 |
Applicable Syntax | logical 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