2 writes to _activeXInstance
System.Windows.Forms (2)
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (2)
850
_activeXInstance
= ComHelpers.GetObjectForIUnknown((IUnknown*)unknown);
878
_activeXInstance
= null;
15 references to _activeXInstance
System.Windows.Forms (15)
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
1154
if (
_activeXInstance
is { } ax)
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (12)
93
public object? ActiveXInstance =>
_activeXInstance
;
839
Debug.Assert(
_activeXInstance
is null, "activeXInstance must be null");
852
Debug.Assert(
_activeXInstance
is not null, "w/o an exception being thrown we must have an object...");
872
if (
_activeXInstance
is not null)
877
Marshal.FinalReleaseComObject(
_activeXInstance
);
1016
Debug.Assert(
_activeXInstance
is not null, "The native control is null");
1017
_axOleObject = (IOleObject.Interface)
_activeXInstance
;
1018
_axOleInPlaceObject = (IOleInPlaceObject.Interface)
_activeXInstance
;
1019
_axOleInPlaceActiveObject = (IOleInPlaceActiveObject.Interface)
_activeXInstance
;
1020
_axOleControl = (IOleControl.Interface)
_activeXInstance
;
1024
AttachInterfaces(
_activeXInstance
);
1172
if (
_activeXInstance
is not null)
System\Windows\Forms\Controls\WebBrowser\WebBrowserContainer.cs (1)
173
object? activeX = webBrowserBase.
_activeXInstance
;
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (1)
378
object? nativeObject = Host.
_activeXInstance
;