7 references to HalfToInt16Bits
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.WriteBigEndian.cs (2)
48
short tmp = ReverseEndianness(BitConverter.
HalfToInt16Bits
(value));
350
short tmp = ReverseEndianness(BitConverter.
HalfToInt16Bits
(value));
src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.WriteLittleEndian.cs (2)
48
short tmp = ReverseEndianness(BitConverter.
HalfToInt16Bits
(value));
350
short tmp = ReverseEndianness(BitConverter.
HalfToInt16Bits
(value));
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1070
short valueInInt16Bits = BitConverter.
HalfToInt16Bits
(value);
src\libraries\System.Private.CoreLib\src\System\Numerics\TotalOrderIeee754Comparer.cs (2)
63
return CompareIntegerSemantic(BitConverter.
HalfToInt16Bits
((Half)(object)x!), BitConverter.
HalfToInt16Bits
((Half)(object)y!));