61 references to SR
Microsoft.AspNetCore.Shared.Tests (61)
artifacts\obj\Microsoft.AspNetCore.Shared.Tests\Release\net10.0\System.Net.Http.SR.cs (1)
10
internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(
SR
)));
runtime\Http2\HPackDecoderTest.cs (26)
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);
622
Assert.Equal(
SR
.net_http_hpack_late_dynamic_table_size_update, exception.Message);
637
Assert.Equal(
SR
.net_http_hpack_late_dynamic_table_size_update, 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);
868
Assert.Equal(
SR
.net_http_hpack_incomplete_header_block, exception.Message);
902
Assert.Equal(
SR
.net_http_hpack_huffman_decode_failed, exception.Message);
runtime\Http2\HuffmanDecodingTests.cs (3)
272
Assert.Equal(
SR
.net_http_hpack_huffman_decode_failed, exception.Message);
289
Assert.Equal(
SR
.net_http_hpack_huffman_decode_failed, exception.Message);
334
Assert.Equal(
SR
.net_http_hpack_huffman_decode_failed, exception.Message);
runtime\Http3\QPackDecoderTest.cs (1)
296
Assert.Equal(
SR
.net_http_hpack_incomplete_header_block, exception.Message);
src\Shared\runtime\Http2\Hpack\HPackDecoder.cs (12)
292
throw new HPackDecodingException(
SR
.Format(
SR
.net_http_invalid_header_name, ""));
372
throw new HPackDecodingException(
SR
.net_http_hpack_late_dynamic_table_size_update);
492
throw new HPackDecodingException(
SR
.net_http_hpack_incomplete_header_block);
538
throw new HPackDecodingException(
SR
.net_http_hpack_unexpected_end);
577
throw new HPackDecodingException(
SR
.Format(
SR
.net_http_headers_exceeded_length, _maxHeadersLength));
618
throw new HPackDecodingException(
SR
.net_http_hpack_huffman_decode_failed, ex);
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\Http2\Hpack\HPackEncoder.cs (1)
403
throw new HttpRequestException(
SR
.net_http_request_invalid_char_encoding);
src\Shared\runtime\Http2\Hpack\Huffman.cs (4)
733
throw new HuffmanDecodingException(
SR
.net_http_hpack_huffman_decode_failed);
776
throw new HuffmanDecodingException(
SR
.net_http_hpack_huffman_decode_failed);
792
throw new HuffmanDecodingException(
SR
.net_http_hpack_huffman_decode_failed);
800
throw new HuffmanDecodingException(
SR
.net_http_hpack_huffman_decode_failed);
src\Shared\runtime\Http2\Hpack\IntegerDecoder.cs (3)
73
throw new HPackDecodingException(
SR
.net_http_hpack_bad_integer);
81
throw new HPackDecodingException(
SR
.net_http_hpack_bad_integer);
91
throw new HPackDecodingException(
SR
.net_http_hpack_bad_integer);
src\Shared\runtime\Http3\QPack\QPackDecoder.cs (9)
277
throw new QPackDecodingException(
SR
.Format(
SR
.net_http_invalid_header_name, ""));
484
throw new QPackDecodingException(
SR
.Format(
SR
.net_http_invalid_header_name, ""));
586
throw new QPackDecodingException(
SR
.net_http_hpack_incomplete_header_block);
621
throw new QPackDecodingException(
SR
.Format(
SR
.net_http_headers_exceeded_length, _maxHeadersLength));
662
throw new QPackDecodingException(
SR
.net_http_hpack_huffman_decode_failed, ex);
754
throw new QPackDecodingException(
SR
.net_http_qpack_no_dynamic_table);
src\Shared\runtime\Http3\QPack\QPackEncoder.cs (1)
309
throw new QPackEncodingException(
SR
.net_http_request_invalid_char_encoding);