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)
140hglobal = PInvokeCore.GlobalAlloc(GMEM_MOVEABLE, (uint)_length); 146Marshal.Copy(_buffer, 0, (nint)pointer, _length); 249if (_length > 0) 251_buffer = binaryReader.ReadBytes(_length); 275_buffer = new byte[_length]; 284Marshal.Copy((nint)pointer, _buffer, 0, _length); 325binaryWriter.Write(_length); 337Debug.Assert(_length == 0, "if we have no data, then our length has to be 0");