8 references to ThrowBytesOverflow
System.Text.Encoding.CodePages (8)
System\Text\DBCSCodePageEncoding.cs (2)
713
ThrowBytesOverflow
(encoder, chars == charStart); // throw ?
732
ThrowBytesOverflow
(encoder, chars == charStart); // throw ?
System\Text\EncodingByteBuffer.cs (1)
114
_enc.
ThrowBytesOverflow
(_encoder, _bytes == _byteStart); // Throw? (and reset fallback if not converting)
System\Text\SBCSCodePageEncoding.cs (5)
478
ThrowBytesOverflow
(encoder, true);
489
ThrowBytesOverflow
(encoder, byteCount < 1);
549
ThrowBytesOverflow
(encoder, true);
601
ThrowBytesOverflow
(encoder, chars == charStart);
618
ThrowBytesOverflow
(encoder, chars == charStart); // throw ?