18 references to Format
Microsoft.AspNetCore.Shared.Tests (18)
runtime\Http2\HPackDecoderTest.cs (11)
178
Assert.Equal(SR.
Format
(SR.net_http_hpack_invalid_index, 62), exception.Message);
254
Assert.Equal(SR.
Format
(SR.net_http_hpack_invalid_index, 62), exception.Message);
278
Assert.Equal(SR.
Format
(SR.net_http_invalid_header_name, string.Empty), exception.Message);
302
Assert.Equal(SR.
Format
(SR.net_http_invalid_header_name, string.Empty), exception.Message);
326
Assert.Equal(SR.
Format
(SR.net_http_invalid_header_name, string.Empty), exception.Message);
372
Assert.Equal(SR.
Format
(SR.net_http_invalid_header_name, string.Empty), exception.Message);
404
Assert.Equal(SR.
Format
(SR.net_http_hpack_invalid_index, 62), exception.Message);
499
Assert.Equal(SR.
Format
(SR.net_http_hpack_invalid_index, 62), exception.Message);
665
Assert.Equal(SR.
Format
(SR.net_http_hpack_large_table_size_update, 4097, DynamicTableInitialMaxSize), exception.Message);
677
Assert.Equal(SR.
Format
(SR.net_http_headers_exceeded_length, MaxHeaderFieldSize), exception.Message);
728
Assert.Equal(SR.
Format
(SR.net_http_headers_exceeded_length, MaxHeaderFieldSize + 1), ex.Message);
src\Shared\runtime\Http2\Hpack\HPackDecoder.cs (4)
292
throw new HPackDecodingException(SR.
Format
(SR.net_http_invalid_header_name, ""));
577
throw new HPackDecodingException(SR.
Format
(SR.net_http_headers_exceeded_length, _maxHeadersLength));
662
throw new HPackDecodingException(SR.
Format
(SR.net_http_hpack_invalid_index, index));
670
throw new HPackDecodingException(SR.
Format
(SR.net_http_hpack_large_table_size_update, size, _maxDynamicTableSize));
src\Shared\runtime\Http3\QPack\QPackDecoder.cs (3)
277
throw new QPackDecodingException(SR.
Format
(SR.net_http_invalid_header_name, ""));
484
throw new QPackDecodingException(SR.
Format
(SR.net_http_invalid_header_name, ""));
621
throw new QPackDecodingException(SR.
Format
(SR.net_http_headers_exceeded_length, _maxHeadersLength));