10 references to Arg_EnumIllegalVal
System.Security.Cryptography (10)
System\Security\Cryptography\CspParameters.cs (1)
43throw new ArgumentException(SR.Format(SR.Arg_EnumIllegalVal, nameof(value)));
System\Security\Cryptography\X509Certificates\X500DistinguishedName.cs (1)
103throw new ArgumentException(SR.Format(SR.Arg_EnumIllegalVal, "flag"));
System\Security\Cryptography\X509Certificates\X509ChainPolicy.cs (4)
62throw new ArgumentException(SR.Format(SR.Arg_EnumIllegalVal, nameof(value))); 76throw new ArgumentException(SR.Format(SR.Arg_EnumIllegalVal, nameof(value))); 90throw new ArgumentException(SR.Format(SR.Arg_EnumIllegalVal, nameof(value))); 104throw new ArgumentException(SR.Format(SR.Arg_EnumIllegalVal, nameof(value)));
System\Security\Cryptography\X509Certificates\X509Store.cs (3)
40throw new ArgumentException(SR.Format(SR.Arg_EnumIllegalVal, nameof(storeLocation))); 52_ => throw new ArgumentException(SR.Format(SR.Arg_EnumIllegalVal, nameof(storeName))), 66throw new ArgumentException(SR.Format(SR.Arg_EnumIllegalVal, nameof(storeLocation)));
System\Security\Cryptography\X509Certificates\X509SubjectKeyIdentifierExtension.cs (1)
202throw new ArgumentException(SR.Format(SR.Arg_EnumIllegalVal, algorithm), nameof(algorithm));