1 // CS7070: Security attribute `DebugPermissionAttribute' is not valid on this declaration type. Security attributes are only valid on assembly, type and method declarations
6 using System
.Security
.Permissions
;
10 [DebugPermission (SecurityAction
.RequestMinimum
)]
14 [AttributeUsage (AttributeTargets
.All
, AllowMultiple
= true, Inherited
= false)]
16 public class DebugPermissionAttribute
: CodeAccessSecurityAttribute
{
18 public DebugPermissionAttribute (SecurityAction action
)
23 public override IPermission
CreatePermission ()