C# Edit and Continue: error 4058
Error Message
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.
See Also
Reference
Supported Code Changes (C#)
Edit and Continue (Visual C#)