6 references to ToUInt16
dotnet (1)
Commands\Test\MTP\IPC\Serializers\BaseSerializer.cs (1)
147
return BitConverter.
ToUInt16
(bytes);
ILAssembler (1)
GrammarVisitor.cs (1)
2512
SerializationTypeCode.UInt16 => valueBytes.Length >= 2 ? BitConverter.
ToUInt16
(valueBytes) : (ushort)0,
System.Text.Json (4)
System\Text\Json\Serialization\Metadata\PropertyRef.cs (4)
61
2 => BitConverter.
ToUInt16
(name),
62
3 => BitConverter.
ToUInt16
(name) | ((ulong)name[2] << 16),
65
6 => BitConverter.ToUInt32(name) | ((ulong)BitConverter.
ToUInt16
(name.Slice(4, 2)) << 32),
66
7 => BitConverter.ToUInt32(name) | ((ulong)BitConverter.
ToUInt16
(name.Slice(4, 2)) << 32) | ((ulong)name[6] << 48),