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