[Mono-bugs] [Bug 561970] Exception "collection was modified" in a ReadOnlyCollection

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Apr 20 10:45:34 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=561970#c7


Rodrigo Kumpera <rkumpera at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
       InfoProvider|knocte at gmail.com            |
         Resolution|                            |INVALID

--- Comment #7 from Rodrigo Kumpera <rkumpera at novell.com> 2010-04-20 14:45:33 UTC ---
The stacktace shows the actual method been called, so it has to be from List
since IList is an interface.

You could fix it by either making a copy of the list, making sure no external
modification happens or by building a modification resistant list.

-- 
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