1 write to _xmlDocsRefCounts
PresentationFramework (1)
MS\Internal\Annotations\XmlElementCollection.cs (1)
39
_xmlDocsRefCounts
= new Dictionary<XmlDocument, int>();
8 references to _xmlDocsRefCounts
PresentationFramework (8)
MS\Internal\Annotations\XmlElementCollection.cs (8)
145
Invariant.Assert(
_xmlDocsRefCounts
.ContainsKey(element.OwnerDocument), "Not registered on XmlElement");
148
_xmlDocsRefCounts
[element.OwnerDocument]--;
152
if (
_xmlDocsRefCounts
[element.OwnerDocument] == 0)
157
_xmlDocsRefCounts
.Remove(element.OwnerDocument);
175
if (!
_xmlDocsRefCounts
.ContainsKey(element.OwnerDocument))
179
_xmlDocsRefCounts
[element.OwnerDocument] = 1;
188
_xmlDocsRefCounts
[element.OwnerDocument]++;
205
Invariant.Assert(
_xmlDocsRefCounts
.ContainsKey(sender as XmlDocument), "Not expecting a notification from this sender");