2 using System
.Reflection
;
4 class AAttribute
: Attribute
11 public int Prop { get; set; }
13 public static int Main ()
15 var f
= typeof (Program
).GetFields (BindingFlags
.NonPublic
| BindingFlags
.Instance
| BindingFlags
.DeclaredOnly
);
16 if (f
[0].GetCustomAttribute
<AAttribute
> () == null)