Flush
authorMiguel de Icaza <miguel@gnome.org>
Wed, 30 Apr 2003 04:15:07 +0000 (04:15 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Wed, 30 Apr 2003 04:15:07 +0000 (04:15 -0000)
svn path=/trunk/mcs/; revision=14134

mcs/errors/cs8211.cs
mcs/errors/errors.txt
mcs/tests/README.tests

index d1fba3017cc2535bbfd41a13411ee2b77dfa4198..5e01159b741071589b9eb2ecb15794a9159ecdeb 100644 (file)
@@ -1,8 +1,24 @@
-//
-// This should report: the class containing main can not be generic
-//
-class X<Y> {
-       static void Main  ()
+using System;
+using System.Reflection;
+
+[AttributeUsage (AttributeTargets.All)]
+public class MineAttribute : Attribute {
+       public MineAttribute (Type [] t)
        {
        }
 }
+
+
+[Mine(new Type [2,2])]
+public class Foo {     
+       public static int Main ()
+       {
+               return 0;
+       }
+}
+
+
+
+
+
+
index 12bf0433193e29e245faaf4581595dc6221bc22e..83c9fc947b28283aabb284fc1f8b3bd300abf675 100755 (executable)
@@ -103,4 +103,10 @@ the Microsoft C# compiler:
 
 -208    Yield statement appears inside finally clause
 
--209    Yield statment appears in anonymous method.
\ No newline at end of file
+-209    Yield statment appears in anonymous method.
+
+-210    Fixed code not allowed inside iterators.
+
+-211    Array expression passed to attribute is not unidimensional
+
+-212    An Array creation expression is present, but the array is not initialized.
\ No newline at end of file
index 50e92d2ff0e93792ebd7580dfc22718b4c56334c..cb5787e7ae20b15553f852af3fbd6e6abeb746e5 100644 (file)
@@ -247,6 +247,11 @@ tests-191.cs
 Some accessibility tests that exist in Corlib and System, to probe the new
 functionality in the compiler for accessibility of private nested classes.
 
+test-192.cs
+-----------
+Fix for bug 41952, basically, we were not using the `unchecked' bit during
+constant resolution due to the nature of EmitMeta.
+
 verify-1.cs
 -----------
 Test whether we do not jump out of the method in a Try/Finally block.