Edit and Continue : error 1009
Error Message
A static or global variable was deleted: variable referenced in file
You removed a static or global variable while debugging. Edit and Continue does not support this type of change.
To fix this problem
From the Debug menu, choose Undo to undo the change, or
From the Debug menu, choose Stop Debugging, then make the changes and start a new debugging session.