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)
1154if (_activeXInstance is { } ax)
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (12)
93public object? ActiveXInstance => _activeXInstance; 839Debug.Assert(_activeXInstance is null, "activeXInstance must be null"); 852Debug.Assert(_activeXInstance is not null, "w/o an exception being thrown we must have an object..."); 872if (_activeXInstance is not null) 877Marshal.FinalReleaseComObject(_activeXInstance); 1016Debug.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; 1024AttachInterfaces(_activeXInstance); 1172if (_activeXInstance is not null)
System\Windows\Forms\Controls\WebBrowser\WebBrowserContainer.cs (1)
173object? activeX = webBrowserBase._activeXInstance;
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (1)
378object? nativeObject = Host._activeXInstance;