10 references to ToInt16
Microsoft.DotNet.Build.Tasks.Workloads (4)
Utils.cs (4)
135short timeMid = IPAddress.HostToNetworkOrder(BitConverter.ToInt16(namespaceBytes, 4)); 137short timeHiVersion = IPAddress.HostToNetworkOrder(BitConverter.ToInt16(namespaceBytes, 6)); 162timeMid = IPAddress.NetworkToHostOrder(BitConverter.ToInt16(hash, 4)); 166timeHiVersion = 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)
System.Data.Odbc (1)
System\Data\Odbc\OdbcConnection.cs (1)
458resultValue = BitConverter.ToInt16(buffer, 0);
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\BitConverter.cs (3)
403public static char ToChar(byte[] value, int startIndex) => unchecked((char)ToInt16(value, startIndex)); 578public static ushort ToUInt16(byte[] value, int startIndex) => unchecked((ushort)ToInt16(value, startIndex)); 704public static Half ToHalf(byte[] value, int startIndex) => Int16BitsToHalf(ToInt16(value, startIndex));