Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0182.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 (object t)
9         {
10         }
11 }
12
13
14 [Mine(new Type [2,2])]
15 public class Foo {      
16         public static int Main ()
17         {
18                 return 0;
19         }
20 }