Author: marek
Date: 2005-04-07 02:58:31 -0400 (Thu, 07 Apr 2005)
New Revision: 42624
Added:
trunk/mcs/errors/cs0422.cs
trunk/mcs/errors/cs1608.cs
Modified:
trunk/mcs/errors/gmcs-expect-wrong-error
Log:
new tests
Added: trunk/mcs/errors/cs0422.cs
===================================================================
--- trunk/mcs/errors/cs0422.cs 2005-04-07 06:58:08 UTC (rev 42623)
+++ trunk/mcs/errors/cs0422.cs 2005-04-07 06:58:31 UTC (rev 42624)
@@ -0,0 +1,11 @@
+// cs0422.cs: 'C.Prop.get': abstract properties cannot have private accessors
+// Line: 7
+
+abstract class C {
+ protected abstract int Prop
+ {
+ private get;
+ set;
+ }
+}
+
Added: trunk/mcs/errors/cs1608.cs
===================================================================
--- trunk/mcs/errors/cs1608.cs 2005-04-07 06:58:08 UTC (rev 42623)
+++ trunk/mcs/errors/cs1608.cs 2005-04-07 06:58:31 UTC (rev 42624)
@@ -0,0 +1,9 @@
+// cs1608.cs: The RequiredAttribute attribute is not permitted on C# types
+// Line: 6
+
+using System.Runtime.CompilerServices;
+
+[RequiredAttribute (typeof (object))]
+class ClassMain {
+}
+
Modified: trunk/mcs/errors/gmcs-expect-wrong-error
===================================================================
--- trunk/mcs/errors/gmcs-expect-wrong-error 2005-04-07 06:58:08 UTC (rev
42623)
+++ trunk/mcs/errors/gmcs-expect-wrong-error 2005-04-07 06:58:31 UTC (rev
42624)
@@ -39,6 +39,7 @@
cs0271.cs
cs0272.cs
cs0407.cs
+cs0422.cs
cs0428.cs
cs0525-2.cs
cs0525.cs
@@ -98,6 +99,7 @@
cs1599-3.cs
cs1599.cs
cs1605.cs
+cs1608.cs
cs1609.cs
cs1615.cs
cs1620.cs
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches