16 references to WriteInt16
mscorlib (3)
system\runtime\interopservices\marshal.cs (3)
682
WriteInt16
(ptr, 0, val);
688
WriteInt16
(ptr, ofs, (short)val);
700
WriteInt16
(ptr, 0, (short)val);
PresentationFramework (2)
src\Framework\MS\Internal\IO\Packaging\indexingfiltermarshaler.cs (1)
130
Marshal.
WriteInt16
(p, s.Length * _int16Size, 0);
src\Framework\MS\Internal\IO\Packaging\XpsFilter.cs (1)
274
Marshal.
WriteInt16
(pBuffer, (int)bufCharacterCount * _int16Size, 0);
System (2)
net\System\Net\_ListenerResponseStream.cs (2)
173
Marshal.
WriteInt16
(pBufferAsIntPtr, chunkHeader.Length, 0x0A0D);
175
Marshal.
WriteInt16
(pBufferAsIntPtr, (int)(dataToWrite - 2), 0x0A0D);
System.Data (1)
fx\src\data\System\Data\ProviderBase\DbBuffer.cs (1)
442
Marshal.
WriteInt16
(ptr, offset, value);
System.Windows.Forms (5)
winforms\Managed\System\WinForms\AxHost.cs (2)
5168
Marshal.
WriteInt16
(lpBuffer, i * 2, ch);
5171
Marshal.
WriteInt16
(lpBuffer, i * 2, (short) 0);
winforms\Managed\System\WinForms\NativeMethods.cs (3)
4396
Marshal.
WriteInt16
(mem, 2, reserved1);
4397
Marshal.
WriteInt16
(mem, 4, reserved2);
4398
Marshal.
WriteInt16
(mem, 6, reserved3);
WindowsBase (3)
Shared\MS\Win32\NativeMethodsCLR.cs (3)
4704
Marshal.
WriteInt16
(mem, 2, reserved1);
4705
Marshal.
WriteInt16
(mem, 4, reserved2);
4706
Marshal.
WriteInt16
(mem, 6, reserved3);