"Move type to file" can bring along #endregion directive, resulting in non-compiling code #57077
Labels
Area-IDE
Bug
help wanted
The issue is "up for grabs" - add a comment if you are interested in working on it
Resolution-Duplicate
The described behavior is tracked in another issue
Milestone
Version Used: Version 17.1.0 Preview 1.0 [31810.13.main]
Steps to Reproduce:
Caret on class
I
, invoke lightbulb, select "Move type to C.I.cs".Expected Behavior:
C.I.cs
contains:Actual Behavior:
C.I.cs
contains the following non-compiling code:The
#endregion
in the original file is also pulled into column 0 (leading white space removed).The text was updated successfully, but these errors were encountered: