Skip to main content

RCS0015: Add/remove blank line between using directives

Properties

PropertyValue
Default Severitydisabled by default
Minimum language version-

Examples

Example #1

diagnostic.cs
using System;
using Microsoft.CodeAnalysis;

namespace N
{
}
fix.cs
using System;

using Microsoft.CodeAnalysis;

namespace N
{
}

Configuration

info

Option roslynator_blank_line_between_using_directives is required to be set for this analyzer to work.

.editorconfig
# Add/remove blank line between using directives
roslynator_blank_line_between_using_directives = never|separate_groups

Applies to