RCS0027: Place new line after/before binary operator
Properties
Property | Value |
---|---|
Default Severity | disabled by default |
Minimum language version | - |
Examples
Example #1
diagnostic.cs
if (x &&
y &&
z)
{
}
fix.cs
if (x
&& y
&& z)
{
}
Configuration
info
Option roslynator_binary_operator_new_line
is required to be set for this analyzer to work.
.editorconfig
# Place new line after/before binary operator
roslynator_binary_operator_new_line = after|before