Skip to main content

Wrap conditional expression

PropertyValue
IdRR0050
Applicable Syntaxconditional expression
Enabled by Default✓

Usage​

Example #1​

before.cs
x ? y : z
after.cs
x
? y
: z

Configuration​

roslynator_refactoring.wrap_conditional_expression.enabled = true|false