5 references to net_invalid_enum
System.Net.Security (5)
System\Net\Security\SslClientAuthenticationOptions.cs (2)
57
throw new ArgumentException(SR.Format(SR.
net_invalid_enum
, nameof(X509RevocationMode)), nameof(value));
72
throw new ArgumentException(SR.Format(SR.
net_invalid_enum
, nameof(EncryptionPolicy)), nameof(value));
System\Net\Security\SslServerAuthenticationOptions.cs (2)
59
throw new ArgumentException(SR.Format(SR.
net_invalid_enum
, nameof(X509RevocationMode)), nameof(value));
74
throw new ArgumentException(SR.Format(SR.
net_invalid_enum
, nameof(EncryptionPolicy)), nameof(value));
System\Net\Security\SslStream.cs (1)
211
throw new ArgumentException(SR.Format(SR.
net_invalid_enum
, "EncryptionPolicy"), nameof(encryptionPolicy));