1 write to _xmlDocsRefCounts
PresentationFramework (1)
src\Framework\MS\Internal\Annotations\XmlElementCollection.cs (1)
49
_xmlDocsRefCounts
= new Dictionary<XmlDocument, int>();
8 references to _xmlDocsRefCounts
PresentationFramework (8)
src\Framework\MS\Internal\Annotations\XmlElementCollection.cs (8)
155
Invariant.Assert(
_xmlDocsRefCounts
.ContainsKey(element.OwnerDocument), "Not registered on XmlElement");
158
_xmlDocsRefCounts
[element.OwnerDocument]--;
162
if (
_xmlDocsRefCounts
[element.OwnerDocument] == 0)
167
_xmlDocsRefCounts
.Remove(element.OwnerDocument);
185
if (!
_xmlDocsRefCounts
.ContainsKey(element.OwnerDocument))
189
_xmlDocsRefCounts
[element.OwnerDocument] = 1;
198
_xmlDocsRefCounts
[element.OwnerDocument]++;
215
Invariant.Assert(
_xmlDocsRefCounts
.ContainsKey(sender as XmlDocument), "Not expecting a notification from this sender");