dotnet / dotnet/roslynator

RCS1036 multiple empty lines

Open
#86 0 comments 0 reactions 0 assignees View on GitHub
Area-Analyzers Enhancement
Dominant language
C#
Stars
3.5k
Forks
294
Avg merge
2h 30m
Merged PRs (30d)
4

Description

This example has five pieces of three consecutive empty lines each.
The third piece between `foo` and `bar` is reduced to a single line as expected.
The four other pieces are reduced by one line.
So it takes three invocations of RCS1036 to remove multiple consecutive empty lines instead of a single invocation as expected.

```
namespace ConsoleApplication2
{

class MultipleEmptyLines
{

int foo;

int bar;

}

}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.