14 references to ReadInt16
mscorlib (1)
system\runtime\interopservices\marshal.cs (1)
485
return
ReadInt16
(ptr, 0);
PresentationCore (2)
Core\CSharp\System\Windows\Media\Imaging\PropVariant.cs (2)
584
array[i] = (ushort) Marshal.
ReadInt16
(ca.pElems, i*sizeof(ushort));
636
array[i] = (bool) (Marshal.
ReadInt16
(ca.pElems, i*sizeof(ushort)) != 0);
PresentationFramework (1)
src\Framework\MS\Internal\IO\Packaging\XpsFilter.cs (1)
216
shCharacter = Marshal.
ReadInt16
(pBuffer, _int16Size);
System (2)
net\System\Net\_SSPIWrapper.cs (2)
955
Version = Marshal.
ReadInt16
(unmanagedAddress, (int)Marshal.OffsetOf(typeof(SecurityPackageInfo),"Version"));
956
RPCID = Marshal.
ReadInt16
(unmanagedAddress, (int)Marshal.OffsetOf(typeof(SecurityPackageInfo),"RPCID"));
System.Data (2)
fx\src\data\System\Data\OleDb\RowBinding.cs (1)
359
short wtype = Marshal.
ReadInt16
(ptr, ODB.OffsetOf_tagDBBINDING_wType);
fx\src\data\System\Data\ProviderBase\DbBuffer.cs (1)
207
value = Marshal.
ReadInt16
(ptr, offset);
System.IdentityModel (2)
System\IdentityModel\SspiWrapper.cs (2)
176
Version = Marshal.
ReadInt16
(unmanagedAddress, (int)Marshal.OffsetOf(typeof(SecurityPackageInfo), "Version"));
177
RPCID = Marshal.
ReadInt16
(unmanagedAddress, (int)Marshal.OffsetOf(typeof(SecurityPackageInfo), "RPCID"));
System.ServiceModel.Activation (2)
System\ServiceModel\Activation\MetabaseReader.cs (2)
181
while (endPos < record.dwMDDataLen && Marshal.
ReadInt16
(record.pbMDData, endPos) != 0)
187
Marshal.
ReadInt16
(record.pbMDData, endPos - 2) != 0)
System.Windows.Forms (2)
winforms\Managed\System\WinForms\AxHost.cs (1)
5167
for (;i < cpBuffer && (ch = Marshal.
ReadInt16
(pbstr, i * 2)) != 0; i++) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
361
refTypeDesc.vt = Marshal.
ReadInt16
(typeDesc.unionMember, 4);