Extract class to a new file from file with regions included creates a class with unclosed #region tag #39640
Labels
Area-IDE
Bug
Developer Community
The issue was originally reported on https://developercommunity.visualstudio.com
Feature - Extract Class
help wanted
The issue is "up for grabs" - add a comment if you are interested in working on it
IDE-CodeStyle
Built-in analyzers, fixes, and refactorings
Projects
Milestone
This issue has been moved from a ticket on Developer Community.
Say, we have a file
KekPuks.cs
:And we want to extract class
Kek
to a new file. We use VS own refactoring method, then VS will create a new file namedKek.cs
:As you see, the new generated source file will contain
#endregion
tag without started#region
.Just checked it in the VS2017
15.9.14
,15.9.15
versions, also in the VS201916.2.1
,16.2.2
Original Comments
Visual Studio Feedback System on 8/19/2019, 00:00 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Visual Studio Feedback System on 8/19/2019, 03:22 PM:
This issue is currently being investigated. Our team will get back to you if either more information is needed, a workaround is available, or the issue is resolved.
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: