-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed as not planned
Milestone
Description
Version Used: Visual Studio 2019 Preview 2
🔗 Originally filed as https://devdiv.visualstudio.com/DevDiv/_workitems/edit/123201
Steps to reproduce:
-
Create a new .NET Framework Console application.
-
Add some functioning code to Main()--it doesn't really matter what it is.
-
Set a breakpoint at the beginning of Main().
-
Start debugging.
-
Add the following to Main():
var b = new Blah();
-
Open the light bulb and select the item to generate a new nested type named
Blah
in the same file.
Expected:
Preview shows a purple squiggle under private class Blah()
because it will be a rude edit.
Actual:
No squiggle in the preview. It doesn't show up until the code for the new type is generated.