19 references to Format
InMemory.FunctionalTests (1)
Http3\Http3StreamTests.cs (1)
2386SR.Format(SR.net_http_headers_exceeded_length, limit),
Microsoft.AspNetCore.Server.Kestrel.Core (7)
src\Shared\runtime\Http2\Hpack\HPackDecoder.cs (4)
297throw new HPackDecodingException(SR.Format(SR.net_http_invalid_header_name, "")); 582throw new HPackDecodingException(SR.Format(SR.net_http_headers_exceeded_length, _maxHeadersLength)); 667throw new HPackDecodingException(SR.Format(SR.net_http_hpack_invalid_index, index)); 675throw new HPackDecodingException(SR.Format(SR.net_http_hpack_large_table_size_update, size, _maxDynamicTableSize));
src\Shared\runtime\Http3\QPack\QPackDecoder.cs (3)
277throw new QPackDecodingException(SR.Format(SR.net_http_invalid_header_name, "")); 484throw new QPackDecodingException(SR.Format(SR.net_http_invalid_header_name, "")); 621throw new QPackDecodingException(SR.Format(SR.net_http_headers_exceeded_length, _maxHeadersLength));
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (11)
src\Shared\test\Shared.Tests\runtime\Http2\HPackDecoderTest.cs (11)
178Assert.Equal(SR.Format(SR.net_http_hpack_invalid_index, 62), exception.Message); 254Assert.Equal(SR.Format(SR.net_http_hpack_invalid_index, 62), exception.Message); 278Assert.Equal(SR.Format(SR.net_http_invalid_header_name, string.Empty), exception.Message); 302Assert.Equal(SR.Format(SR.net_http_invalid_header_name, string.Empty), exception.Message); 326Assert.Equal(SR.Format(SR.net_http_invalid_header_name, string.Empty), exception.Message); 372Assert.Equal(SR.Format(SR.net_http_invalid_header_name, string.Empty), exception.Message); 404Assert.Equal(SR.Format(SR.net_http_hpack_invalid_index, 62), exception.Message); 499Assert.Equal(SR.Format(SR.net_http_hpack_invalid_index, 62), exception.Message); 665Assert.Equal(SR.Format(SR.net_http_hpack_large_table_size_update, 4097, DynamicTableInitialMaxSize), exception.Message); 677Assert.Equal(SR.Format(SR.net_http_headers_exceeded_length, MaxHeaderFieldSize), exception.Message); 728Assert.Equal(SR.Format(SR.net_http_headers_exceeded_length, MaxHeaderFieldSize + 1), ex.Message);