src\runtime\src\libraries\System.Private.CoreLib\src\System\Convert.cs (14)
2597if (!HexConverter.TryDecodeFromUtf16(chars, result, out _))
2623if (!HexConverter.TryDecodeFromUtf8(utf8Source, result, out _))
2692if (!HexConverter.TryDecodeFromUtf16(source, destination, out charsConsumed))
2748if (!HexConverter.TryDecodeFromUtf8(utf8Source, destination, out bytesConsumed))
2805return HexConverter.ToString(bytes, HexConverter.Casing.Upper);
2826HexConverter.EncodeToUtf16(source, destination);
2849HexConverter.EncodeToUtf8(source, utf8Destination);
2900return HexConverter.ToString(bytes, HexConverter.Casing.Lower);
2921HexConverter.EncodeToUtf16(source, destination, HexConverter.Casing.Lower);
2944HexConverter.EncodeToUtf8(source, utf8Destination, HexConverter.Casing.Lower);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Enum.cs (15)
1561HexConverter.ToCharsBuffer(data, destination);
1568HexConverter.ToCharsBuffer((byte)(value >> 8), destination);
1569HexConverter.ToCharsBuffer((byte)value, destination, 2);
1579HexConverter.ToCharsBuffer((byte)(value >> 24), destination);
1580HexConverter.ToCharsBuffer((byte)(value >> 16), destination, 2);
1581HexConverter.ToCharsBuffer((byte)(value >> 8), destination, 4);
1582HexConverter.ToCharsBuffer((byte)value, destination, 6);
1592HexConverter.ToCharsBuffer((byte)(value >> 56), destination);
1593HexConverter.ToCharsBuffer((byte)(value >> 48), destination, 2);
1594HexConverter.ToCharsBuffer((byte)(value >> 40), destination, 4);
1595HexConverter.ToCharsBuffer((byte)(value >> 32), destination, 6);
1596HexConverter.ToCharsBuffer((byte)(value >> 24), destination, 8);
1597HexConverter.ToCharsBuffer((byte)(value >> 16), destination, 10);
1598HexConverter.ToCharsBuffer((byte)(value >> 8), destination, 12);
1599HexConverter.ToCharsBuffer((byte)value, destination, 14);