RCS0014: Add blank line between switch sections
WARNING
This analyzer is obsolete. Use RCS0061 instead.
Properties
Property | Value |
---|---|
Default Severity | disabled by default |
Minimum language version | - |
Examples
Example #1
diagnostic.cs
switch (x)
{
case "a":
return A();
case "b":
return B();
}
fix.cs
switch (x)
{
case "a":
return A();
case "b":
return B();
}
Configuration
.editorconfig
# Add/remove blank line between closing brace and switch section
roslynator_blank_line_between_closing_brace_and_switch_section = true|false