7 instantiations of HostProtectionPermission
mscorlib (7)
system\security\permissions\hostprotectionpermission.cs (5)
135
return new
HostProtectionPermission
( PermissionState.Unrestricted );
139
return new
HostProtectionPermission
( m_resources );
236
return new
HostProtectionPermission
(newResources);
248
return new
HostProtectionPermission
(newResources);
253
return new
HostProtectionPermission
(m_resources);
system\security\permissionset.cs (1)
1714
HostProtectionPermission newHpp = (HostProtectionPermission)hpp.Intersect(new
HostProtectionPermission
(fullTrustOnly));
system\security\util\xmlutil.cs (1)
376
return new
HostProtectionPermission
( permState );
14 references to HostProtectionPermission
mscorlib (14)
system\security\permissions\hostprotectionpermission.cs (4)
226
return ((uint)this.m_resources & (uint)((
HostProtectionPermission
)target).m_resources) == (uint)this.m_resources;
235
HostProtectionResource newResources = (HostProtectionResource)((uint)this.m_resources | (uint)((
HostProtectionPermission
)target).m_resources);
245
HostProtectionResource newResources = (HostProtectionResource)((uint)this.m_resources & (uint)((
HostProtectionPermission
)target).m_resources);
297
return
HostProtectionPermission
.GetTokenIndex();
system\security\permissionset.cs (7)
1709
HostProtectionPermission
.protectedResources = fullTrustOnly;
1710
HostProtectionPermission
hpp = (
HostProtectionPermission
)GetPermission(
HostProtectionPermission
.GetTokenIndex());
1714
HostProtectionPermission
newHpp = (
HostProtectionPermission
)hpp.Intersect(new HostProtectionPermission(fullTrustOnly));
1718
RemovePermission(typeof(
HostProtectionPermission
));
system\security\securityexception.cs (3)
82
HostProtectionPermission
hostProtectionPerm = permThatFailed as
HostProtectionPermission
;
84
return new HostProtectionException(GetResString("HostProtection_HostProtection"),
HostProtectionPermission
.protectedResources, hostProtectionPerm.Resources);