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