[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


https://bugzilla.novell.com/show_bug.cgi?id=483985

User vargaz at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=483985#c1


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
undefined."

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