30 references to ThrowCharsOverflow
mscorlib (30)
system\text\asciiencoding.cs (3)
867ThrowCharsOverflow(decoder, charCount < 1); 925ThrowCharsOverflow(decoder, chars == charStart); // throw? 937ThrowCharsOverflow(decoder, chars == charStart); // throw?
system\text\dbcscodepageencoding.cs (5)
982ThrowCharsOverflow(decoder, true); 1006ThrowCharsOverflow(decoder, true); 1012ThrowCharsOverflow(decoder, true); 1081ThrowCharsOverflow(decoder, bytes == byteStart); // throw? 1100ThrowCharsOverflow(decoder, bytes == byteStart); // throw?
system\text\encoding.cs (3)
1959enc.ThrowCharsOverflow(decoder, bytes <= byteStart); // Throw? 1984enc.ThrowCharsOverflow(decoder, bytes <= byteStart); // Throw? 2074enc.ThrowCharsOverflow(decoder, chars == charStart); // Throw?
system\text\latin1encoding.cs (1)
421ThrowCharsOverflow(decoder, charCount < 1);
system\text\sbcscodepageencoding.cs (3)
790ThrowCharsOverflow(decoder, charCount < 1); 861ThrowCharsOverflow(decoder, bytes == byteStart); // throw? 873ThrowCharsOverflow(decoder, bytes == byteStart); // throw?
system\text\unicodeencoding.cs (7)
1675ThrowCharsOverflow(decoder, chars == charStart);// Might throw, if no chars output 1724ThrowCharsOverflow(decoder, chars == charStart);// Might throw, if no chars output 1740ThrowCharsOverflow(decoder, chars == charStart);// Might throw, if no chars output 1783ThrowCharsOverflow(decoder, chars == charStart);// Might throw, if no chars output 1799ThrowCharsOverflow(decoder, chars == charStart);// Might throw, if no chars output 1847ThrowCharsOverflow(decoder, chars == charStart);// Might throw, if no chars output 1878ThrowCharsOverflow(decoder, chars == charStart);// Might throw, if no chars output
system\text\utf32encoding.cs (4)
1000ThrowCharsOverflow(decoder, chars == charStart);// Might throw, if no chars output 1023ThrowCharsOverflow(decoder, chars == charStart);// Might throw, if no chars output 1040ThrowCharsOverflow(decoder, chars == charStart);// Might throw, if no chars output 1078ThrowCharsOverflow(decoder, chars == charStart);// Might throw, if no chars output
system\text\utf7encoding.cs (1)
702ThrowCharsOverflow(decoder, true); // Always throw, they need at least 1 char even in Convert
system\text\utf8encoding.cs (3)
1811ThrowCharsOverflow(baseDecoder, pTarget == chars); 1903ThrowCharsOverflow(baseDecoder, pTarget == chars); 2188ThrowCharsOverflow(baseDecoder, pTarget == chars);