18 references to ToInt16
ILCompiler.Compiler (2)
Compiler\ObjectWriter\Dwarf\DwarfFde.cs (1)
57short dwarfReg = BitConverter.ToInt16(blobData, offset);
Compiler\TypePreinit.cs (1)
2426public override short AsInt16() => BitConverter.ToInt16(AsExactByteCount(2), 0);
ILCompiler.RyuJit (1)
JitInterface\CorInfoImpl.RyuJit.cs (1)
141short dwarfReg = BitConverter.ToInt16(blobData, offset);
Microsoft.DotNet.Build.Tasks.Workloads (4)
Utils.cs (4)
138short timeMid = IPAddress.HostToNetworkOrder(BitConverter.ToInt16(namespaceBytes, 4)); 140short timeHiVersion = IPAddress.HostToNetworkOrder(BitConverter.ToInt16(namespaceBytes, 6)); 165timeMid = IPAddress.NetworkToHostOrder(BitConverter.ToInt16(hash, 4)); 169timeHiVersion = IPAddress.NetworkToHostOrder(BitConverter.ToInt16(hash, 6));
Microsoft.ML.FastTree (1)
Utils\ToByteArrayExtensions.cs (1)
61short a = BitConverter.ToInt16(buffer, position);
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\Strings.vb (1)
204Return BitConverter.ToInt16(b, 0)
RepoTasks (4)
Uuid.cs (4)
30short timeMid = IPAddress.HostToNetworkOrder(BitConverter.ToInt16(namespaceBytes, 4)); 32short timeHiVersion = IPAddress.HostToNetworkOrder(BitConverter.ToInt16(namespaceBytes, 6)); 57timeMid = IPAddress.NetworkToHostOrder(BitConverter.ToInt16(hash, 4)); 61timeHiVersion = IPAddress.NetworkToHostOrder(BitConverter.ToInt16(hash, 6));
System.Data.Odbc (1)
System\Data\Odbc\OdbcConnection.cs (1)
458resultValue = BitConverter.ToInt16(buffer, 0);
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\BitConverter.cs (4)
432public static char ToChar(byte[] value, int startIndex) => unchecked((char)ToInt16(value, startIndex)); 607public static ushort ToUInt16(byte[] value, int startIndex) => unchecked((ushort)ToInt16(value, startIndex)); 733public static BFloat16 ToBFloat16(byte[] value, int startIndex) => Int16BitsToBFloat16(ToInt16(value, startIndex)); 758public static Half ToHalf(byte[] value, int startIndex) => Int16BitsToHalf(ToInt16(value, startIndex));