Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable RCS1201 when comments live between method calls #1468

Closed
RenderMichael opened this issue May 14, 2024 · 1 comment · Fixed by #1470
Closed

Disable RCS1201 when comments live between method calls #1468

RenderMichael opened this issue May 14, 2024 · 1 comment · Fixed by #1470

Comments

@RenderMichael
Copy link

Product and Version Used:

Roslynator 4.12.3

Steps to Reproduce:

var sb = new StringBuilder();

// first
sb.Append("first");

// second
sb.Append("second");

Actual Behavior:
RCS1201: Use method chaining

Expected Behavior:
No diagnostic

@RenderMichael
Copy link
Author

I promise my comments aren't that pointless and this is just a minimal repro 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants