2009-06-05 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0182-3.cs
blob80451ac24cb5de3275db62f076649a7e58797a95
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 (Type [] t)
14 [Mine(new Type [2])]
15 public class Foo {
16 public static int Main ()
18 return 0;