18 references to HostProtectionResource
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
961
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Permissions.
HostProtectionResource
))]
System.Security.Permissions (17)
System\Security\HostProtectionException.cs (16)
25
ProtectedResources =
HostProtectionResource
.None;
26
DemandedResources =
HostProtectionResource
.None;
32
ProtectedResources =
HostProtectionResource
.None;
33
DemandedResources =
HostProtectionResource
.None;
39
ProtectedResources =
HostProtectionResource
.None;
40
DemandedResources =
HostProtectionResource
.None;
43
public HostProtectionException(string message,
HostProtectionResource
protectedResources,
HostProtectionResource
demandedResources)
58
ProtectedResources = (
HostProtectionResource
)info.GetValue(ProtectedResourcesName, typeof(
HostProtectionResource
));
59
DemandedResources = (
HostProtectionResource
)info.GetValue(DemandedResourcesName, typeof(
HostProtectionResource
));
62
public
HostProtectionResource
DemandedResources { get; }
64
public
HostProtectionResource
ProtectedResources { get; }
95
info.AddValue(ProtectedResourcesName, ProtectedResources, typeof(
HostProtectionResource
));
96
info.AddValue(DemandedResourcesName, DemandedResources, typeof(
HostProtectionResource
));
System\Security\Permissions\HostProtectionAttribute.cs (1)
17
public
HostProtectionResource
Resources { get; set; }