2010-03-03 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git] / errors / cs0182.cs
blob0fbb80f7cfc16509f4522fa7289872eb6c25bf2c
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;
6 [AttributeUsage (AttributeTargets.All)]
7 public class MineAttribute : Attribute {
8 public MineAttribute (object t)
14 [Mine(new Type [2,2])]
15 public class Foo {
16 public static int Main ()
18 return 0;