22 references to ThrowBytesOverflow
mscorlib (22)
system\text\asciiencoding.cs (3)
619ThrowBytesOverflow(encoder, true); 630ThrowBytesOverflow(encoder, byteCount < 1); 726ThrowBytesOverflow(encoder, bytes == byteStart); // throw?
system\text\dbcscodepageencoding.cs (2)
734ThrowBytesOverflow(encoder, chars == charStart); // throw ? 753ThrowBytesOverflow(encoder, chars == charStart); // throw ?
system\text\encoding.cs (1)
2219enc.ThrowBytesOverflow(encoder, bytes == byteStart); // Throw? (and reset fallback if not converting)
system\text\latin1encoding.cs (5)
239ThrowBytesOverflow(encoder, true); 250ThrowBytesOverflow(encoder, byteCount < 1); 299ThrowBytesOverflow(encoder, true); 347ThrowBytesOverflow(encoder, chars == charStart); 367ThrowBytesOverflow(encoder, chars == charStart); // throw ?
system\text\sbcscodepageencoding.cs (5)
492ThrowBytesOverflow(encoder, true); 503ThrowBytesOverflow(encoder, byteCount < 1); 558ThrowBytesOverflow(encoder, true); 608ThrowBytesOverflow(encoder, chars == charStart); 627ThrowBytesOverflow(encoder, chars == charStart); // throw ?
system\text\unicodeencoding.cs (2)
1011ThrowBytesOverflow(encoder, bytes == byteStart); // Throw maybe (if no bytes written) 1074ThrowBytesOverflow(encoder, bytes == byteStart); // Throw maybe (if no bytes written)
system\text\utf32encoding.cs (2)
642ThrowBytesOverflow(encoder, bytes == byteStart); // Throw maybe (if no bytes written) 711ThrowBytesOverflow(encoder, bytes == byteStart); // Throw maybe (if no bytes written)
system\text\utf7encoding.cs (1)
547ThrowBytesOverflow(encoder, buffer.Count == 0);
system\text\utf8encoding.cs (1)
1031ThrowBytesOverflow(encoder, pTarget == bytes); // Throw if we must