This project is read-only.
2
Vote

Debugger: Deleting the active statement restarts the current method

description

Source:
Console.WriteLine("Side effect!");
4.ToString();
5.ToString();

Console.ReadKey();
Place a breakpoint on the third line, then run.
When the breakpoint is hit, delete that entire line.
Execution will restart from the beginning of the method instead of continuing from the previous line (as it would without Roslyn)

comments