C# Edit and Continue: error 4058
Edit and Continue is disabled until syntax errors are fixed
This error occurs when you make changes that contain syntax errors. Edit and Continue cannot detect possible unsupported edits until the syntax errors are fixed.
To correct this error
Check the Error List for compiler errors.
Locate and fix all errors in your source code.