1 // CS7048: First argument of a security attribute `CustomSecurityAttribute' must be a valid SecurityAction
5 using System
.Security
.Permissions
;
7 public class CustomSecurityAttribute
: CodeAccessSecurityAttribute
9 public CustomSecurityAttribute ()
10 : base (SecurityAction
.Demand
)
14 public override IPermission
CreatePermission()
23 public static void Main ()