5 writes to _length
System.Windows.Forms (5)
System\Windows\Forms\ActiveX\AxHost.State.cs (5)
42
_length
= checked((int)memoryStream.Length);
73
_length
= checked((int)ms.Length);
248
_length
= binaryReader.ReadInt32();
274
_length
= (int)stat.cbSize;
293
_length
= 0;
8 references to _length
System.Windows.Forms (8)
System\Windows\Forms\ActiveX\AxHost.State.cs (8)
140
hglobal = PInvokeCore.GlobalAlloc(GMEM_MOVEABLE, (uint)
_length
);
146
Marshal.Copy(_buffer, 0, (nint)pointer,
_length
);
249
if (
_length
> 0)
251
_buffer = binaryReader.ReadBytes(
_length
);
275
_buffer = new byte[
_length
];
284
Marshal.Copy((nint)pointer, _buffer, 0,
_length
);
325
binaryWriter.Write(
_length
);
337
Debug.Assert(
_length
== 0, "if we have no data, then our length has to be 0");