C# Edit and Continue: error 4055
Error Message
Modifying a 'field | event | constant | enum member' initializer with an anonymous method will prevent the debug session from continuing while Edit and Continue is enabled
This error occurs when you try to modify an initializer that is assigned an anonymous method. Edit and Continue does not support this change during debugging.
To correct this error
Undo the changes, and then continue debugging without the changes.
-or-
From the Debug menu, click Stop Debugging, make the changes, then start a new session.
See Also
Reference
Anonymous Methods (C# Programming Guide)
Supported Code Changes (C#)
Edit and Continue (Visual C#)