Edit and Continue : error 1011
Error Message
A static or global variable was changed: variable referenced in file
You tried to change a static or global variable. This change is not supported by Edit and Continue
To correct this error
From the Edit menu, choose Undo to undo the change, or
Stop debugging, make your changes, then start a new debugging session.