Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inserting new code above existing code temporarily shifts adorners #22

Open
ermau opened this issue Sep 29, 2012 · 0 comments
Open

Inserting new code above existing code temporarily shifts adorners #22

ermau opened this issue Sep 29, 2012 · 0 comments
Labels

Comments

@ermau
Copy link
Owner

ermau commented Sep 29, 2012

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant