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