// 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;
- }
-}