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
.LinkDemand
)]
19 [AttributeUsage (AttributeTargets
.All
, AllowMultiple
= true, Inherited
= false)]
21 public class DebugPermissionAttribute
: CodeAccessSecurityAttribute
{
23 public DebugPermissionAttribute (SecurityAction action
)
28 public override IPermission
CreatePermission ()