https://bugzilla.novell.com/show_bug.cgi?id=328036#c5





--- Comment #5 from Robert Jordan <[EMAIL PROTECTED]>  2007-09-25 04:24:38 MST 
---
Same problem with Dictionary.ValueCollection. Patch updated
(bug-328036-2.diff).

using System;
using System.Collections;
using System.Collections.Generic;

class T
{
        static void Main ()
        {
                Dictionary<string, string> d =  new Dictionary<string,
string>();
                d["a"] = "b";

                ICollection keys = d.Keys;
                object[] keyArray = new object[d.Count];
                keys.CopyTo(keyArray, 0);

                ICollection vals = d.Values;
                object[] valArray = new object[d.Count];
                vals.CopyTo (valArray, 0);
        }
}


-- 
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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to