17 references to ReadInt16
PresentationCore (2)
System\Windows\Media\Imaging\PropVariant.cs (2)
520array[i] = (ushort) Marshal.ReadInt16(ca.pElems, i*sizeof(ushort)); 572array[i] = (bool) (Marshal.ReadInt16(ca.pElems, i*sizeof(ushort)) != 0);
PresentationFramework (1)
MS\Internal\IO\Packaging\XpsFilter.cs (1)
199shCharacter = Marshal.ReadInt16(pBuffer, _int16Size);
ReachFramework (3)
MS\Internal\Printing\Configuration\DevMode.cs (2)
460short dmSize = Marshal.ReadInt16(devModeWPointer, DevMode.DEVMODEW_dmSizeByteOffset); 461short dmExtraSize = Marshal.ReadInt16(devModeWPointer, DevMode.DEVMODEW_dmDriverExtraByteOffset);
MS\Internal\Printing\Configuration\WinSpoolPrinterCapabilities.cs (1)
472result[i] = Marshal.ReadInt16(baseAddr, offset);
System.Data.Odbc (1)
Common\System\Data\ProviderBase\DbBuffer.cs (1)
223value = Marshal.ReadInt16(ptr, offset);
System.Data.OleDb (2)
RowBinding.cs (1)
402short wtype = Marshal.ReadInt16(ptr, ODB.OffsetOf_tagDBBINDING_wType);
System\Data\ProviderBase\DbBuffer.cs (1)
196value = Marshal.ReadInt16(ptr, offset);
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (1)
325public static short ReadInt16(IntPtr ptr) => ReadInt16(ptr, 0);
System\Runtime\InteropServices\Marshal.NativeAot.cs (1)
209return ReadValueSlow<short>(ptr, ofs, &ReadInt16);
System.Speech (6)
Internal\Synthesis\AudioBase.cs (6)
384wfx.nChannels = Marshal.ReadInt16(ptr, 2); 387wfx.nBlockAlign = Marshal.ReadInt16(ptr, 12); 388wfx.wBitsPerSample = Marshal.ReadInt16(ptr, 14); 389wfx.cbSize = Marshal.ReadInt16(ptr, 16); 406nBlockAlign = Marshal.ReadInt16(ptr, 12); 424int cbSize = Marshal.ReadInt16(waveHeader, 16);