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); 245_length = binaryReader.ReadInt32(); 271_length = (int)stat.cbSize; 290_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); 246if (_length > 0) 248_buffer = binaryReader.ReadBytes(_length); 272_buffer = new byte[_length]; 281Marshal.Copy((nint)pointer, _buffer, 0, _length); 322binaryWriter.Write(_length); 334Debug.Assert(_length == 0, "if we have no data, then our length has to be 0");