11 references to ArgumentOutOfRange_GetByteCountOverflow
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.Invariant.cs (1)
124message: SR.ArgumentOutOfRange_GetByteCountOverflow);
src\libraries\System.Private.CoreLib\src\System\Text\ASCIIEncoding.cs (1)
850throw new ArgumentOutOfRangeException(nameof(charCount), SR.ArgumentOutOfRange_GetByteCountOverflow);
src\libraries\System.Private.CoreLib\src\System\Text\Latin1Encoding.cs (1)
165throw new ArgumentOutOfRangeException(nameof(charCount), SR.ArgumentOutOfRange_GetByteCountOverflow);
src\libraries\System.Private.CoreLib\src\System\Text\UnicodeEncoding.cs (2)
348throw new ArgumentOutOfRangeException(nameof(count), SR.ArgumentOutOfRange_GetByteCountOverflow); 1766throw new ArgumentOutOfRangeException(nameof(charCount), SR.ArgumentOutOfRange_GetByteCountOverflow);
src\libraries\System.Private.CoreLib\src\System\Text\UTF32Encoding.cs (3)
464throw new ArgumentOutOfRangeException(nameof(count), SR.ArgumentOutOfRange_GetByteCountOverflow); 808throw new ArgumentOutOfRangeException(nameof(count), SR.ArgumentOutOfRange_GetByteCountOverflow); 1073throw new ArgumentOutOfRangeException(nameof(charCount), SR.ArgumentOutOfRange_GetByteCountOverflow);
src\libraries\System.Private.CoreLib\src\System\Text\UTF7Encoding.cs (1)
739throw new ArgumentOutOfRangeException(nameof(charCount), SR.ArgumentOutOfRange_GetByteCountOverflow);
src\libraries\System.Private.CoreLib\src\System\Text\UTF8Encoding.cs (1)
819throw new ArgumentOutOfRangeException(nameof(charCount), SR.ArgumentOutOfRange_GetByteCountOverflow);
src\libraries\System.Private.CoreLib\src\System\Text\UTF8Encoding.Sealed.cs (1)
89message: (charCount < 0) ? SR.ArgumentOutOfRange_NeedNonNegNum : SR.ArgumentOutOfRange_GetByteCountOverflow);