2 writes to _lockBytes
System.Windows.Forms (2)
System\Windows\Forms\ActiveX\AxHost.State.cs (2)
184_lockBytes = new(lockBytes, takeOwnership: true); 366DisposeHelper.NullAndDispose(ref _lockBytes);
3 references to _lockBytes
System.Windows.Forms (3)
System\Windows\Forms\ActiveX\AxHost.State.cs (3)
258Debug.Assert(_lockBytes is not null, "how can we have a storage w/o ILockBytes?"); 259if (_storage is null || _lockBytes is null) 272using var lockBytes = _lockBytes.GetInterface();