C# Edit and Continue: error 4030
Error Message
Modifying the initializer of a '[field | event | constant | enum member]' in a generic type will prevent the debug session from continuing while Edit and Continue is enabled
This error indicates that you tried to modify an initializer in a generic type. Edit and Continue does not support this type of change while debugging.
To correct this error
Undo the changes, and then continue debugging without the changes.
—or—
On the Debug menu, click Stop Debugging, then make the changes, and start a new debugging session.
See Also
Reference
Generic Type Parameters (C# Programming Guide)
Supported Code Changes (C#)
Edit and Continue (Visual C#)