Author: marek
Date: 2008-01-22 08:18:06 -0500 (Tue, 22 Jan 2008)
New Revision: 93521

Added:
   trunk/mcs/errors/gcs0838.cs
Log:
New test.



Added: trunk/mcs/errors/gcs0838.cs
===================================================================
--- trunk/mcs/errors/gcs0838.cs 2008-01-22 13:15:52 UTC (rev 93520)
+++ trunk/mcs/errors/gcs0838.cs 2008-01-22 13:18:06 UTC (rev 93521)
@@ -0,0 +1,13 @@
+// CS0838: An expression tree cannot contain a multidimensional array 
initializer
+// Line: 11
+
+using System;
+using System.Linq.Expressions;
+
+class C
+{
+       void Foo ()
+       {
+               Expression<Func<char [,]>> e = () => new char [,] { { 'x', 'y' 
}, { 'a', 'b' }};
+       }
+}

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to