Skip to content

Inserting new code above existing code temporarily shifts adorners #22

@ermau

Description

@ermau
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions