1 // cs0647-7.cs: Error during emitting `DebugPermissionAttribute' attribute. The reason is `it is attached to invalid parent'
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 ()