Skip to content

RCS1037: inconsistent behavior for scopes of document/project/solution #822

Open
@montoner0

Description

Product and Version Used:
Roslynator 2019 v3.2.0 in VS2019 Community and Pro editions 16.10.*

Steps to Reproduce:
In this solution the issue is perfectly reproducible on my side https://github.com/aelij/RoslynPad.git (commit 44b73b29d35b9cda7c4d383b96695f621c2be2b3 at the moment of the reproduction)

  1. Open solution
  2. Go to TelemetryProvider.cs in RoslynPad project
  3. Line 26 has the issue with trailing spaces
  4. Try to fix all occurrences in solution.

Actual Behavior:
It does nothing in the case of this solution (even preview window doesn't appear).
For other cases, sometimes (most of times) it removes some of white-spaces, sometimes it doesn't remove anything, sometimes it removes all of them (at least for the document scope, not sure about project/solution).

Expected Behavior:
It should find and remove all occurrences in the selected scope.

Activity

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions