4 writes to _buffer
System.Windows.Forms (4)
System\Windows\Forms\ActiveX\AxHost.State.cs (4)
251
_buffer
= binaryReader.ReadBytes(_length);
270
_buffer
= null;
275
_buffer
= new byte[_length];
294
_buffer
= null;
9 references to _buffer
System.Windows.Forms (9)
System\Windows\Forms\ActiveX\AxHost.State.cs (9)
138
if (
_buffer
is not null)
146
Marshal.Copy(
_buffer
, 0, (nint)pointer, _length);
164
HRESULT hr =
_buffer
is null
205
Debug.Assert(
_buffer
is not null);
206
if (
_buffer
is null)
211
_memoryStream = new MemoryStream(
_buffer
);
284
Marshal.Copy((nint)pointer,
_buffer
, 0, _length);
326
if (
_buffer
is not null)
328
binaryWriter.Write(
_buffer
);