[Mono-bugs] [Bug 349875] Dictionary<TKey, TValue> stores values out of order.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 19 14:06:34 EST 2007


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

User juraj at hotfeet.ch added comment
https://bugzilla.novell.com/show_bug.cgi?id=349875#c1


Juraj Skripsky <juraj at hotfeet.ch> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |juraj at hotfeet.ch
             Status|NEW                                             |RESOLVED
         Resolution|                                                |INVALID




--- Comment #1 from Juraj Skripsky <juraj at hotfeet.ch>  2007-12-19 12:06:33 MST ---
According to MS.NET docs, this behavior is perfectly fine for the Values
property (see
http://msdn2.microsoft.com/en-us/library/ekcfxy3x.aspx):

"The order of the values in the Dictionary<(Of <(TKey,
TValue>)>)..::.ValueCollection is unspecified, but it is the same order as the
associated keys in the Dictionary<(Of <(TKey, TValue>)>)..::.KeyCollection
returned by the Keys property."

As for the enumeration of the Dictionary'2 itself, the documentation does not
state a required ordering of the returned elements.

Setting to resolved/fixed.
Please reopen if the docs support your claim.


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