17 references to ThrowCharsOverflow
System.Private.CoreLib (17)
src\libraries\System.Private.CoreLib\src\System\Text\DecoderNLS.cs (1)
368_encoding.ThrowCharsOverflow(this, nothingDecoded: true);
src\libraries\System.Private.CoreLib\src\System\Text\Encoding.cs (3)
1300_enc.ThrowCharsOverflow(_decoder, _chars == _charStart); // Throw? 1319_enc.ThrowCharsOverflow(_decoder, _chars == _charStart); // Throw? 1385_enc.ThrowCharsOverflow(_decoder, _chars == _charStart); // Throw?
src\libraries\System.Private.CoreLib\src\System\Text\Encoding.Internal.cs (1)
1281ThrowCharsOverflow(decoder, nothingDecoded: chars.Length == originalCharsLength);
src\libraries\System.Private.CoreLib\src\System\Text\UnicodeEncoding.cs (7)
1477ThrowCharsOverflow(decoder, chars == charStart); // Might throw, if no chars output 1526ThrowCharsOverflow(decoder, chars == charStart); // Might throw, if no chars output 1542ThrowCharsOverflow(decoder, chars == charStart); // Might throw, if no chars output 1585ThrowCharsOverflow(decoder, chars == charStart); // Might throw, if no chars output 1601ThrowCharsOverflow(decoder, chars == charStart); // Might throw, if no chars output 1649ThrowCharsOverflow(decoder, chars == charStart); // Might throw, if no chars output 1683ThrowCharsOverflow(decoder, chars == charStart); // Might throw, if no chars output
src\libraries\System.Private.CoreLib\src\System\Text\UTF32Encoding.cs (4)
933ThrowCharsOverflow(decoder, chars == charStart); // Might throw, if no chars output 955ThrowCharsOverflow(decoder, chars == charStart); // Might throw, if no chars output 972ThrowCharsOverflow(decoder, chars == charStart); // Might throw, if no chars output 1014ThrowCharsOverflow(decoder, chars == charStart); // Might throw, if no chars output
src\libraries\System.Private.CoreLib\src\System\Text\UTF7Encoding.cs (1)
580ThrowCharsOverflow(decoder, true); // Always throw, they need at least 1 char even in Convert