[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / errors / cs0182-4.cs
index 0fbb80f7cfc16509f4522fa7289872eb6c25bf2c..e68c9c216a56b78f856fc4750bc1b6ffd1c8955e 100644 (file)
@@ -1,20 +1,10 @@
 // CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression
-// Line: 14
-using System;
-using System.Reflection;
+// Line: 4
 
-[AttributeUsage (AttributeTargets.All)]
-public class MineAttribute : Attribute {
-       public MineAttribute (object t)
+[A (true is bool)]
+class AAttribute : System.Attribute
+{
+       public AAttribute (bool b)
        {
        }
 }
-
-
-[Mine(new Type [2,2])]
-public class Foo {     
-       public static int Main ()
-       {
-               return 0;
-       }
-}