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)
62
if (
_htmlWindowShims
is null)
66
_htmlWindowShims
[window] = shim;
68
else if (!
_htmlWindowShims
.ContainsKey(window))
71
_htmlWindowShims
[window] = shim;
75
(shim ??
_htmlWindowShims
[window]).EnsureWindowObservation();
139
if (
_htmlWindowShims
is null || window.NativeHtmlWindow.IsDisposed)
144
if (
_htmlWindowShims
.TryGetValue(window, out HtmlWindow.HtmlWindowShim? windowShim))
161
if (
_htmlWindowShims
is not null)
163
foreach (var (window, shim) in
_htmlWindowShims
)
214
if (
_htmlWindowShims
is not null
215
&&
_htmlWindowShims
.Remove(unloadedWindow, out HtmlWindow.HtmlWindowShim? windowShim))
258
if (
_htmlWindowShims
is not null)
260
shims.AddRange(
_htmlWindowShims
.Values);