src\libraries\System.Private.CoreLib\src\System\Text\Latin1Encoding.cs (5)
195return GetBytesCommon(chars, charCount, bytes, byteCount);
227return GetBytesCommon(pChars + charIndex, charCount, pBytes + byteIndex, bytes.Length - byteIndex);
238return GetBytesCommon(charsPtr, chars.Length, bytesPtr, bytes.Length);
248int written = GetBytesCommon(charsPtr, chars.Length, bytesPtr, bytes.Length, throwForDestinationOverflow: false);
289return GetBytesCommon(pChars + charIndex, charCount, pBytes + byteIndex, bytes.Length - byteIndex);