public abstract bool IsSubsetOf(System.Security.IPermission target); public void PermitOnly() { }
internal bool CheckDeny(CodeAccessPermission denied) { if (denied == null) { return(true); } Type type = denied.GetType(); return(type != base.GetType() || this.Intersect(denied) == null || denied.IsSubsetOf(PermissionBuilder.Create(type))); }