24 references to SR
System.Security.Permissions (24)
System\Security\CodeAccessPermission.cs (2)
16public void Deny() { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); } 22public void PermitOnly() { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); }
System\Security\HostProtectionException.cs (2)
82AppendResourceString(SR.HostProtection_ProtectedResources, ProtectedResources, sb); 83AppendResourceString(SR.HostProtection_DemandedResources, DemandedResources, sb);
System\Security\Permissions\PrincipalPermission.cs (11)
30throw new ArgumentException(SR.Argument_InvalidPermissionState); 83throw new ArgumentException(SR.Format(SR.Argument_WrongType, GetType().FullName), nameof(target)); 126throw new ArgumentException(SR.Format(SR.Argument_WrongType, GetType().FullName), nameof(target)); 182throw new ArgumentException(SR.Format(SR.Argument_WrongType, GetType().FullName), nameof(other)); 228throw new SecurityException(SR.Security_PrincipalPermission); 248throw new SecurityException(SR.Security_PrincipalPermission); 275throw new ArgumentException(SR.Argument_NotAPermissionElement); 280throw new ArgumentException(SR.Argument_InvalidXMLBadVersion);
System\Security\SecurityContext.cs (9)
14public static SecurityContext Capture() { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); } 15public SecurityContext CreateCopy() { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); } 16public void Dispose() { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); } 17public static bool IsFlowSuppressed() { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); } 18public static bool IsWindowsIdentityFlowSuppressed() { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); } 19public static void RestoreFlow() { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); } 20public static void Run(SecurityContext securityContext, ContextCallback callback, object state) { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); } 21public static AsyncFlowControl SuppressFlow() { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); } 22public static AsyncFlowControl SuppressFlowWindowsIdentity() { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); }