19 references to ToUInt16
System.Data (5)
fx\src\data\System\Data\Sql\sqlnorm.cs (1)
385
SetValue(fi, recvr, BitConverter.
ToUInt16
(b, 0));
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCngProvider.cs (2)
96
UInt16 keyPathLength = BitConverter.
ToUInt16
(encryptedColumnEncryptionKey, currentIndex);
100
UInt16 cipherTextLength = BitConverter.
ToUInt16
(encryptedColumnEncryptionKey, currentIndex);
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCspProvider.cs (2)
102
UInt16 keyPathLength = BitConverter.
ToUInt16
(encryptedColumnEncryptionKey, currentIndex);
106
UInt16 cipherTextLength = BitConverter.
ToUInt16
(encryptedColumnEncryptionKey, currentIndex);
System.IO.Log (2)
System\IO\Log\LogLogRecordHeader.cs (2)
61
flags = (LogLogRecordFlags)BitConverter.
ToUInt16
(bits, FlagsOffset);
68
flags = (LogLogRecordFlags)BitConverter.
ToUInt16
(bits, FlagsOffset);
System.Messaging (1)
System\Messaging\ActiveXMessageFormatter.cs (1)
193
return BitConverter.
ToUInt16
(bytes, 0);
System.ServiceModel (2)
System\ServiceModel\Channels\PeerIPHelper.cs (1)
314
if (BitConverter.
ToUInt16
(bytes, 0) == Six2FourPrefix)
System\ServiceModel\MsmqIntegration\ActiveXSerializer.cs (1)
171
return BitConverter.
ToUInt16
(bytes, 0);
WindowsBase (9)
Base\MS\Internal\IO\Zip\ZipIOExtraFieldPaddingElement.cs (1)
87
if (BitConverter.
ToUInt16
(sniffiedBytes, 0) != _signature)
Base\MS\Internal\Security\RightsManagement\NativeRightsManagementAPIsStructures.cs (8)
81
Year = BitConverter.
ToUInt16
(dataBuffer,0);
82
Month = BitConverter.
ToUInt16
(dataBuffer,2);
83
DayOfWeek = BitConverter.
ToUInt16
(dataBuffer,4);
84
Day = BitConverter.
ToUInt16
(dataBuffer,6);
85
Hour = BitConverter.
ToUInt16
(dataBuffer,8);
86
Minute = BitConverter.
ToUInt16
(dataBuffer,10);
87
Second = BitConverter.
ToUInt16
(dataBuffer,12);
88
Milliseconds = BitConverter.
ToUInt16
(dataBuffer,14);