[Mono-bugs] [Bug 79422][Nor] New - int array must implement IList<int>

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Sep 17 04:32:36 EDT 2006


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 andrews at mainsoft.com.

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

--- shadow/79422	2006-09-17 04:32:36.000000000 -0400
+++ shadow/79422.tmp.20379	2006-09-17 04:32:36.000000000 -0400
@@ -0,0 +1,36 @@
+Bug#: 79422
+Product: Mono: Class Libraries
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: andrews at mainsoft.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: int array must implement IList<int>
+
+//the following code compiles on dotnet and must compile according to MSDN:
+//ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_csref/html/
+7d956536-3851-41b5-94ad-3e7c0a5fe485.htm
+//but gives a compile error on Mono
+
+using System;
+using System.Collections.Generic;
+
+namespace dumb2
+{
+	class Program
+	{
+		static void Main (string[] args)
+		{
+			 IList<int> str = new int [] { 1, 2, 3, 4, 5, 6 };
+		}
+	}
+}


More information about the mono-bugs mailing list