2 writes to _storage
System.Windows.Forms (2)
System\Windows\Forms\ActiveX\AxHost.State.cs (2)
185
_storage
= new(storage, takeOwnership: true);
367
DisposeHelper.NullAndDispose(ref
_storage
);
7 references to _storage
System.Windows.Forms (7)
System\Windows\Forms\ActiveX\AxHost.State.cs (7)
136
Debug.Assert(
_storage
is null, "but we already have a storage!");
193
if (
_storage
is null)
198
return
_storage
is null ? default :
_storage
.GetInterface();
257
Debug.Assert(
_storage
is not null, "how can we not have a storage object?");
259
if (
_storage
is null || _lockBytes is null)
264
using var storage =
_storage
.GetInterface();