8 references to ThrowBytesOverflow
System.Text.Encoding.CodePages (8)
System\Text\DBCSCodePageEncoding.cs (2)
713ThrowBytesOverflow(encoder, chars == charStart); // throw ? 732ThrowBytesOverflow(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)
478ThrowBytesOverflow(encoder, true); 489ThrowBytesOverflow(encoder, byteCount < 1); 549ThrowBytesOverflow(encoder, true); 601ThrowBytesOverflow(encoder, chars == charStart); 618ThrowBytesOverflow(encoder, chars == charStart); // throw ?