"Invert if" does not properly enclose an entire #region
/#endregion
#73917
Labels
Area-IDE
Bug
help wanted
The issue is "up for grabs" - add a comment if you are interested in working on it
Milestone
Version Used:
VS 17.10.1
Steps to Reproduce:
Add something like the following code to a program:
And then use the "Invert if" refactor on the
if
statement.Diagnostic Id:
I don't know the diagnostic id. I'm not 100% sure this refactor is part of this repository.
This also might be the case for other code block refactors.
Expected Behavior:
After the refactor the
#endregion
should be inside theif
block.Actual Behavior:
The refactor puts it outside the closing
}
.The text was updated successfully, but these errors were encountered: