[Mono-bugs] [Bug 74953][Maj] Changed - [GMCS] Converting array to IEnumerable<T>

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jun 20 02:34:24 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by mass at akuma.org.

http://bugzilla.ximian.com/show_bug.cgi?id=74953

--- shadow/74953	2005-06-19 04:47:00.000000000 -0400
+++ shadow/74953.tmp.11483	2005-06-20 02:34:24.000000000 -0400
@@ -239,6 +239,15 @@
 
 I could certainly author a quick C# ArrayList<T> if it helps resolve this bug, but cannot 
 imagine this could be used without some runtime changes.
 
 ------- Additional Comments From mass at akuma.org  2005-06-19 04:47 -------
 just checked on 2005b2, Type.GetInterfaces() only reports non-generic types.
+
+------- Additional Comments From mass at akuma.org  2005-06-20 02:34 -------
+Well, let me clarify that comment - other types (generic and not) report generic interfaces 
+just fine. 
+
+However, int[] only reports Array as a parent and IEnumerable, IList and ICollection as 
+interfaces it supports. This makes me think it is special-cased in the MS runtime in some 
+way. If someone desires disassembly of a cast and call, drop me a line and I'll cut&paste from 
+the vs.net 2k5b2 debug window.


More information about the mono-bugs mailing list