[Mono-bugs] [Bug 328036] [PATCH]Casting bug with generic collections

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Sep 25 12:29:37 EDT 2007


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





--- Comment #7 from Robert Jordan <robertj at gmx.net>  2007-09-25 10:29:37 MST ---
I really thought about optimizing this, but I looked like a seldom hit
corner case to me, because in many cases Key/ValueCollection.CopyTo will
be called instead of the (hidden) ICollection.CopyTo.

I'll try to optimize this for reference types.

(IIRC, Array.SetValue already does the necessary integral narrowing, but
I'll look at this as well)


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