RCS1037: inconsistent behavior for scopes of document/project/solution
- Dominant language
- C#
- Stars
- 3.5k
- Forks
- 294
- Avg merge
- 2h 30m
- Merged PRs (30d)
- 4
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.
Contributor guide
Research direction
Reproduce RCS1037 in Roslynator 2019 v3.2.0 using the RoslynPad solution at commit 44b73b29d35b9cda7c4d383b96695f621c2be2b3, starting with TelemetryProvider.cs line 26. Compare document, project, and solution scopes, including the preview behavior. Done means the selected scope consistently finds and removes all trailing-space occurrences.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100