8 references to ThrowBytesOverflow
System.Text.Encoding.CodePages (8)
System\Text\DBCSCodePageEncoding.cs (2)
724ThrowBytesOverflow(encoder, chars == charStart); // throw ? 743ThrowBytesOverflow(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)
489ThrowBytesOverflow(encoder, true); 500ThrowBytesOverflow(encoder, byteCount < 1); 560ThrowBytesOverflow(encoder, true); 612ThrowBytesOverflow(encoder, chars == charStart); 629ThrowBytesOverflow(encoder, chars == charStart); // throw ?