Instant icon indicating copy to clipboard operation
Instant copied to clipboard

Inserting new code above existing code temporarily shifts adorners

Open ermau opened this issue 12 years ago • 0 comments

int x = 5;  [x | 5]
int y = 2   [x | 5]
int x = 5;

Once you add the = 2, Roslyn sees the line as a 'valid' variable declarator, despite the lack of semicolon. Since it won't actually compile, it won't get executed and therefore there's a disparity between current and last executed operation IDs.

ermau avatar Sep 29 '12 20:09 ermau