12 references to byteCount
System.Private.CoreLib (12)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\ASCIIEncoding.cs (4)
308argument: (charCount < 0) ? ExceptionArgument.charCount : ExceptionArgument.byteCount, 561argument: (byteIndex < 0) ? ExceptionArgument.byteIndex : ExceptionArgument.byteCount, 599argument: (byteCount < 0) ? ExceptionArgument.byteCount : ExceptionArgument.charCount, 738argument: (byteIndex < 0) ? ExceptionArgument.byteIndex : ExceptionArgument.byteCount,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Latin1Encoding.cs (4)
187argument: (charCount < 0) ? ExceptionArgument.charCount : ExceptionArgument.byteCount, 400ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.byteCount, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 423argument: (byteCount < 0) ? ExceptionArgument.byteCount : ExceptionArgument.charCount, 467argument: (byteIndex < 0) ? ExceptionArgument.byteIndex : ExceptionArgument.byteCount,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UTF8Encoding.cs (3)
354argument: (charCount < 0) ? ExceptionArgument.charCount : ExceptionArgument.byteCount, 511argument: (byteIndex < 0) ? ExceptionArgument.byteIndex : ExceptionArgument.byteCount, 549argument: (byteCount < 0) ? ExceptionArgument.byteCount : ExceptionArgument.charCount,
src\runtime\src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
887case ExceptionArgument.byteCount: