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