[Mono-bugs] [Bug 483985] Wrong behavior of generic SortedList compared to .Net behavior

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 10 17:31:21 EDT 2009


User vargaz at gmail.com added comment

Zoltan Varga <vargaz at gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |vargaz at gmail.com

--- Comment #1 from Zoltan Varga <vargaz at gmail.com>  2009-03-10 15:31:19 MST ---
Modifying the collection invalidates enumerators as described on MSDN:

"An enumerator remains valid as long as the collection remains unchanged. If
changes are made to the collection, such as adding, modifying, or deleting
elements, the enumerator is irrecoverably invalidated and its behavior is

The fact that it seems to work is an implementation detail.

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