3 writes to _axIWebBrowser2
System.Windows.Forms (3)
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (3)
1138DisposeHelper.NullAndDispose(ref _axIWebBrowser2); 1139_axIWebBrowser2 = new(ComHelpers.GetComPointer<IWebBrowser2>(nativeActiveXObject), takeOwnership: true); 1145protected override void DetachInterfaces() => DisposeHelper.NullAndDispose(ref _axIWebBrowser2);
2 references to _axIWebBrowser2
System.Windows.Forms (2)
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (2)
1399if (_axIWebBrowser2 is null) 1408return _axIWebBrowser2 ?? throw new InvalidOperationException(SR.WebBrowserNoCastToIWebBrowser2);