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)
25ProtectedResources = HostProtectionResource.None; 26DemandedResources = HostProtectionResource.None; 32ProtectedResources = HostProtectionResource.None; 33DemandedResources = HostProtectionResource.None; 39ProtectedResources = HostProtectionResource.None; 40DemandedResources = HostProtectionResource.None; 43public HostProtectionException(string message, HostProtectionResource protectedResources, HostProtectionResource demandedResources) 58ProtectedResources = (HostProtectionResource)info.GetValue(ProtectedResourcesName, typeof(HostProtectionResource)); 59DemandedResources = (HostProtectionResource)info.GetValue(DemandedResourcesName, typeof(HostProtectionResource)); 62public HostProtectionResource DemandedResources { get; } 64public HostProtectionResource ProtectedResources { get; } 95info.AddValue(ProtectedResourcesName, ProtectedResources, typeof(HostProtectionResource)); 96info.AddValue(DemandedResourcesName, DemandedResources, typeof(HostProtectionResource));
System\Security\Permissions\HostProtectionAttribute.cs (1)
17public HostProtectionResource Resources { get; set; }