17 references to ReadInt16
mscorlib (2)
system\reflection\customattribute.cs (2)
1744
if (Marshal.
ReadInt16
(blobStart) != CustomAttributeVersion)
1748
cNamedArgs = Marshal.
ReadInt16
(blobStart);
PresentationCore (1)
Core\CSharp\System\Windows\Media\ImageSourceConverter.cs (1)
264
if (Marshal.
ReadInt16
(addr) != 0x1c15)
PresentationFramework (1)
src\Framework\MS\Internal\IO\Packaging\XpsFilter.cs (1)
197
short shCharacter = Marshal.
ReadInt16
(pBuffer);
System (2)
services\monitoring\system\diagnosticts\FileVersionInfo.cs (2)
371
return(Marshal.
ReadInt16
(memRef) << 16) + Marshal.
ReadInt16
((IntPtr)((long)memRef + 2));
System.Drawing (4)
commonui\System\Drawing\ImageConverter.cs (1)
198
if (rawData.Length <= sizeof(SafeNativeMethods.OBJECTHEADER) || Marshal.
ReadInt16
(addr) != 0x1c15)
commonui\System\Drawing\Printing\PrinterSettings.cs (3)
1208
short kind = Marshal.
ReadInt16
((IntPtr)(checked((long)kindsBuffer + i*2)));
1250
short kind = Marshal.
ReadInt16
((IntPtr)(checked((long)kindsBuffer + 2*i)));
1298
int offset = checked(Marshal.SystemDefaultCharSize * Marshal.
ReadInt16
((IntPtr)(checked((long)pDevnames + slot * 2))));
System.Messaging (1)
System\Messaging\Interop\Restrictions.cs (1)
100
short vt = Marshal.
ReadInt16
((IntPtr)((long)this.restrinctions + (index * GetRestrictionSize()) + 8));
System.ServiceModel (2)
System\ServiceModel\Channels\PnrpPeerResolver.cs (1)
2224
AddressFamily addressFamily = (AddressFamily)Marshal.
ReadInt16
(socketAddress.lpSockAddr);
System\ServiceModel\ComIntegration\DispatchProxy.cs (1)
536
ushort vt = (ushort)Marshal.
ReadInt16
(GetDisp(baseArray, displacement));
System.Windows.Forms (2)
winforms\Managed\System\WinForms\NativeMethods.cs (2)
4431
val = (IntPtr) Marshal.
ReadInt16
(val);
4437
val = (IntPtr) Marshal.
ReadInt16
(val);
WindowsBase (2)
Shared\MS\Win32\NativeMethodsCLR.cs (2)
4743
val = (IntPtr) Marshal.
ReadInt16
(val);
4749
val = (IntPtr) Marshal.
ReadInt16
(val);