1 // Compiler options: -unsafe
4 using System
.Reflection
;
8 public static int Main ()
10 object[] o
= Assembly
.GetExecutingAssembly ().GetCustomAttributes (typeof (System
.Security
.Permissions
.SecurityPermissionAttribute
), false);
14 System
.Security
.Permissions
.SecurityPermissionAttribute a
= (System
.Security
.Permissions
.SecurityPermissionAttribute
) o
[0];
16 if (a
.Action
!= System
.Security
.Permissions
.SecurityAction
.RequestMinimum
)
19 if (!a
.SkipVerification
)
22 Console
.WriteLine (a
);