[Mono-bugs] [Bug 73332][Maj] New - [GMCS] Arrays don't implement IEnumerable<T>
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Fri, 4 Mar 2005 05:44:00 -0500 (EST)
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 o.lauffenburger@topsolid.com.
http://bugzilla.ximian.com/show_bug.cgi?id=73332
--- shadow/73332 2005-03-04 05:44:00.000000000 -0500
+++ shadow/73332.tmp.7867 2005-03-04 05:44:00.000000000 -0500
@@ -0,0 +1,27 @@
+Bug#: 73332
+Product: Mono: Compilers
+Version: 1.1
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: o.lauffenburger@topsolid.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: [GMCS] Arrays don't implement IEnumerable<T>
+
+When compiling the 2 following lines with gmcs version 1.1.3.0 :
+
+string[] array = new string[10];
+System.Collections.Generic.IEnumerable<string> enumer = array;
+
+the error "error CS0029: Cannot convert implicitly from `string[]' to
+`System.Collections.Generic.IEnumerable`1'" occurs.
+
+This does not happen with the Microsoft C# compiler.