24 references to ToInt16
mscorlib (18)
microsoft\win32\win32native.cs (16)
350
StandardDate.Year = BitConverter.
ToInt16
(bytes, 12);
351
StandardDate.Month = BitConverter.
ToInt16
(bytes, 14);
352
StandardDate.DayOfWeek = BitConverter.
ToInt16
(bytes, 16);
353
StandardDate.Day = BitConverter.
ToInt16
(bytes, 18);
354
StandardDate.Hour = BitConverter.
ToInt16
(bytes, 20);
355
StandardDate.Minute = BitConverter.
ToInt16
(bytes, 22);
356
StandardDate.Second = BitConverter.
ToInt16
(bytes, 24);
357
StandardDate.Milliseconds = BitConverter.
ToInt16
(bytes, 26);
359
DaylightDate.Year = BitConverter.
ToInt16
(bytes, 28);
360
DaylightDate.Month = BitConverter.
ToInt16
(bytes, 30);
361
DaylightDate.DayOfWeek = BitConverter.
ToInt16
(bytes, 32);
362
DaylightDate.Day = BitConverter.
ToInt16
(bytes, 34);
363
DaylightDate.Hour = BitConverter.
ToInt16
(bytes, 36);
364
DaylightDate.Minute = BitConverter.
ToInt16
(bytes, 38);
365
DaylightDate.Second = BitConverter.
ToInt16
(bytes, 40);
366
DaylightDate.Milliseconds = BitConverter.
ToInt16
(bytes, 42);
system\bitconverter.cs (2)
169
return (char)
ToInt16
(value, startIndex);
284
return (ushort)
ToInt16
(value, startIndex);
System.Data (4)
fx\src\data\System\Data\Odbc\OdbcConnection.cs (1)
412
resultValue = BitConverter.
ToInt16
(buffer, 0);
fx\src\data\System\Data\Sql\sqlnorm.cs (1)
364
SetValue(fi, recvr, BitConverter.
ToInt16
(b, 0));
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCertificateStoreProvider.cs (2)
116
Int16 keyPathLength = BitConverter.
ToInt16
(encryptedColumnEncryptionKey, currentIndex);
120
int cipherTextLength = BitConverter.
ToInt16
(encryptedColumnEncryptionKey, currentIndex);
System.Messaging (1)
System\Messaging\ActiveXMessageFormatter.cs (1)
188
return BitConverter.
ToInt16
(bytes, 0);
System.ServiceModel (1)
System\ServiceModel\MsmqIntegration\ActiveXSerializer.cs (1)
162
return BitConverter.
ToInt16
(bytes, 0);