* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / errors / cs0182-3.cs
1 // CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression
2 // Line: 14
3 using System;
4 using System.Reflection;
5
6 [AttributeUsage (AttributeTargets.All)]
7 public class MineAttribute : Attribute {
8         public MineAttribute (Type [] t)
9         {
10         }
11 }
12
13
14 [Mine(new Type [2])]
15 public class Foo {      
16         public static int Main ()
17         {
18                 return 0;
19         }
20 }
21
22
23
24
25
26