[ilasm] Don't break arguments compatiblity
[mono-project.git] / mcs / errors / cs0592-7.cs
blobeb174c59d788d38ebbb103fd1f259ece76944137
1 // CS0592: 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