[Mono-bugs] [Bug 80969][Nor] New - Generics multidimensional arrays problem

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Feb 26 19:50:41 EST 2007


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 marek.safar at seznam.cz.

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

--- shadow/80969	2007-02-26 19:50:41.000000000 -0500
+++ shadow/80969.tmp.16030	2007-02-26 19:50:41.000000000 -0500
@@ -0,0 +1,65 @@
+Bug#: 80969
+Product: Mono: Runtime
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: JIT
+AssignedTo: lupus at ximian.com                            
+ReportedBy: marek.safar at seznam.cz               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Generics multidimensional arrays problem
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+Steps to reproduce the problem:
+1. Compile
+
+using System;
+
+class C<T>
+{
+	public void Test ()
+	{
+		T[,] a = new T[0, 0];
+		Console.WriteLine (a.GetType ());
+	}
+}
+
+class M
+{
+	public static void Main ()
+	{
+		C<string> c1 = new C<string> ();
+		C<bool> c2 = new C<bool> ();
+		c1.Test ();
+		c2.Test ();
+	}
+}
+
+2. Run
+
+
+Actual Results:
+
+System.String[,]
+System.String[,]
+
+Expected Results:
+
+System.String[,]
+System.Boolean[,]
+
+How often does this happen? 
+
+100%
+
+Additional Information:


More information about the mono-bugs mailing list