[Mono-bugs] [Bug 568955] System.InvalidOperationException: List has changed. from gmcs while compiling.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Apr 18 11:09:55 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=568955

http://bugzilla.novell.com/show_bug.cgi?id=568955#c4


--- Comment #4 from Pablo Ruiz <pruiz at netway.org> 2010-04-18 15:09:54 UTC ---
After analyzing the problem, looks like ContructionBaseInitalizer it's
modifiying statements list at some point inside it's Resolve() method.

Attached below it's a patch which iterates over a copy of Block.statements to
avoid enumerating a list which would be modified.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list