Skip to main content

RCS1036: Remove unnecessary blank line

Properties

PropertyValue
Default SeverityInfo
Minimum language version-

Examples

Example #1

diagnostic.cs
public class Foo
{

private string _f;


public bool Bar()
{

return false;

}

}
fix.cs
public class Foo
{
private string _f;

public bool Bar()
{
return false;
}
}

Configuration

.editorconfig
# Add/remove blank line between closing brace and switch section
roslynator_blank_line_between_closing_brace_and_switch_section = true|false

Applies to