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