[mcs] Moves using static lookup at the end of simple name lookup rules. Fixes #55348
[mono.git] / mcs / tests / test-cls-14.cs
index 4d408c56a21bc206cd38a3bd2691326df8d9cecb..94b6145964719ff51d9696e4bba4ae03ea0a847c 100644 (file)
@@ -1,17 +1,22 @@
+// Compiler options: -warnaserror
+
 using System;
+[assembly:CLSCompliant (true)]
 
 public class CLSClass {
         [CLSCompliant (false)]
         static public implicit operator CLSClass(byte value) {
                return new CLSClass();
         }
-        
+
+#pragma warning disable 3019, 169
         [CLSCompliant (true)]
         private void Error (bool arg) {
         }
+#pragma warning restore 3019, 169
 }
 
 public class MainClass {
         public static void Main () {
         }
-}
\ No newline at end of file
+}