4 references to ValidateErrorCode
System.Net.Quic (4)
System\Net\Quic\QuicConnection.cs (1)
607ThrowHelper.ValidateErrorCode(nameof(errorCode), errorCode, $"{nameof(CloseAsync)}.{nameof(errorCode)}");
System\Net\Quic\QuicConnectionOptions.cs (2)
160ValidateErrorCode(argumentName, DefaultCloseErrorCode); 161ValidateErrorCode(argumentName, DefaultStreamErrorCode);
System\Net\Quic\QuicStream.cs (1)
458ThrowHelper.ValidateErrorCode(nameof(errorCode), errorCode, $"{nameof(Abort)}.{nameof(errorCode)}");