[Mono-bugs] [Bug 332534] IEnumerator. MoveNext for Dictionary throws an Exception when it is at the end of the collection .

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 10 09:51:47 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=332534#c3





--- Comment #3 from Adrian Gallero <agallero at netscape.net>  2007-10-10 07:51:47 MST ---
sorry, I am a little slow today...
it should have been of course:
if (curTableItem >= dictionary.table.Length-1) return false;
curTableItem++;

It might have a performance impact (since we need to decrease 1 to length), so
I am not sure it is worth.


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