Author: miguel
Date: 2005-04-16 15:28:59 -0400 (Sat, 16 Apr 2005)
New Revision: 43125
Added:
trunk/mcs/errors/cs0019-9.cs
Modified:
trunk/mcs/errors/errors.txt
trunk/mcs/errors/gmcs-expect-no-error
Log:
Add new negative test case
Added: trunk/mcs/errors/cs0019-9.cs
===================================================================
--- trunk/mcs/errors/cs0019-9.cs 2005-04-16 19:26:15 UTC (rev 43124)
+++ trunk/mcs/errors/cs0019-9.cs 2005-04-16 19:28:59 UTC (rev 43125)
@@ -0,0 +1,16 @@
+//
+// From bug #59864
+//
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+public class Foo {
+
+ public static void Main ()
+ {
+ MethodImplAttributes methodImplAttributes = 0;
+
+ if ((methodImplAttributes & MethodImplOptions.Synchronized) ==
0) {
+ }
+ }
+}
Modified: trunk/mcs/errors/errors.txt
===================================================================
--- trunk/mcs/errors/errors.txt 2005-04-16 19:26:15 UTC (rev 43124)
+++ trunk/mcs/errors/errors.txt 2005-04-16 19:28:59 UTC (rev 43125)
@@ -86,6 +86,10 @@
ignored during overload resolution. (marked override == in IL,
it has a 'virtual', but no 'newslot')
+-29 Use -option instead of --option: to move people to the new
+ command line handling.
+
+
----------
Errors that we have allocated that will have corresponding errors in
Modified: trunk/mcs/errors/gmcs-expect-no-error
===================================================================
--- trunk/mcs/errors/gmcs-expect-no-error 2005-04-16 19:26:15 UTC (rev
43124)
+++ trunk/mcs/errors/gmcs-expect-no-error 2005-04-16 19:28:59 UTC (rev
43125)
@@ -38,3 +38,4 @@
cs0119.cs
cs0647.cs
cs1708.cs
+cs0019-9.cs
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches