2 writes to _htmlWindowShims
System.Windows.Forms (2)
System\Windows\Forms\Controls\WebBrowser\HtmlShimManager.cs (2)
64_htmlWindowShims = []; 267_htmlWindowShims = null;
13 references to _htmlWindowShims
System.Windows.Forms (13)
System\Windows\Forms\Controls\WebBrowser\HtmlShimManager.cs (13)
62if (_htmlWindowShims is null) 66_htmlWindowShims[window] = shim; 68else if (!_htmlWindowShims.ContainsKey(window)) 71_htmlWindowShims[window] = shim; 75(shim ?? _htmlWindowShims[window]).EnsureWindowObservation(); 139if (_htmlWindowShims is null || window.NativeHtmlWindow.IsDisposed) 144if (_htmlWindowShims.TryGetValue(window, out HtmlWindow.HtmlWindowShim? windowShim)) 161if (_htmlWindowShims is not null) 163foreach (var (window, shim) in _htmlWindowShims) 214if (_htmlWindowShims is not null 215&& _htmlWindowShims.Remove(unloadedWindow, out HtmlWindow.HtmlWindowShim? windowShim)) 258if (_htmlWindowShims is not null) 260shims.AddRange(_htmlWindowShims.Values);