1 write to _xmlDocsRefCounts
PresentationFramework (1)
MS\Internal\Annotations\XmlElementCollection.cs (1)
40
_xmlDocsRefCounts
= new Dictionary<XmlDocument, int>();
8 references to _xmlDocsRefCounts
PresentationFramework (8)
MS\Internal\Annotations\XmlElementCollection.cs (8)
146
Invariant.Assert(
_xmlDocsRefCounts
.ContainsKey(element.OwnerDocument), "Not registered on XmlElement");
149
_xmlDocsRefCounts
[element.OwnerDocument]--;
153
if (
_xmlDocsRefCounts
[element.OwnerDocument] == 0)
158
_xmlDocsRefCounts
.Remove(element.OwnerDocument);
176
if (!
_xmlDocsRefCounts
.ContainsKey(element.OwnerDocument))
180
_xmlDocsRefCounts
[element.OwnerDocument] = 1;
189
_xmlDocsRefCounts
[element.OwnerDocument]++;
206
Invariant.Assert(
_xmlDocsRefCounts
.ContainsKey(sender as XmlDocument), "Not expecting a notification from this sender");