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