2 writes to _htmlDocumentShims
System.Windows.Forms (2)
System\Windows\Forms\Controls\WebBrowser\HtmlShimManager.cs (2)
35
_htmlDocumentShims
= [];
249
_htmlDocumentShims
= null;
12 references to _htmlDocumentShims
System.Windows.Forms (12)
System\Windows\Forms\Controls\WebBrowser\HtmlShimManager.cs (12)
33
if (
_htmlDocumentShims
is null)
37
_htmlDocumentShims
[doc] = shim;
39
else if (!
_htmlDocumentShims
.ContainsKey(doc))
42
_htmlDocumentShims
[doc] = shim;
103
if (
_htmlDocumentShims
is null)
108
if (
_htmlDocumentShims
.TryGetValue(document, out HtmlDocument.HtmlDocumentShim? value))
171
if (
_htmlDocumentShims
is not null)
173
HtmlDocument.HtmlDocumentShim[] shims = new HtmlDocument.HtmlDocumentShim[
_htmlDocumentShims
.Count];
174
_htmlDocumentShims
.Values.CopyTo(shims, 0);
180
_htmlDocumentShims
.Remove(shim.Document);
232
if (
_htmlDocumentShims
is not null)
234
foreach (HtmlDocument.HtmlDocumentShim shim in
_htmlDocumentShims
.Values)