2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0592-7.cs
blobd9bd7b102c64e292c3d590ce97fd1d86e65a46aa
1 // cs0592-7.cs: The attribute `EnumAttribute' is not valid on this declaration type. It is valid on `method' declarations only
2 // Line: 13
4 using System;
5 using System.Reflection;
7 [AttributeUsage(AttributeTargets.Method)]
8 public class EnumAttribute : Attribute {}
10 public enum E
12 e_1,
13 [EnumAttribute]
14 e_2