[Mono-bugs] [Bug 321667] Removing from List<T> during enumeration should fail

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Nov 6 14:21:19 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=321667#c1


Sebastien Pouliot <spouliot at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |spouliot at novell.com
             Status|NEW                                             |RESOLVED
         Resolution|                                                |WORKSFORME




--- Comment #1 from Sebastien Pouliot <spouliot at novell.com>  2007-11-06 12:21:18 MST ---
Probably fixed a while ago... here's the result with SVN HEAD:

poupou at pollux:~/src/bugzilla> gmcs 321667.cs
poupou at pollux:~/src/bugzilla> mono 321667.exe

Unhandled Exception: System.InvalidOperationException: Collection was
modified;enumeration operation may not execute.
  at System.Collections.Generic.List`1+Enumerator[System.Int32].MoveNext ()
[0x00000]
  at T.Main () [0x00000]


-- 
Configure bugmail: https://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