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)
146Invariant.Assert(_xmlDocsRefCounts.ContainsKey(element.OwnerDocument), "Not registered on XmlElement"); 149_xmlDocsRefCounts[element.OwnerDocument]--; 153if (_xmlDocsRefCounts[element.OwnerDocument] == 0) 158_xmlDocsRefCounts.Remove(element.OwnerDocument); 176if (!_xmlDocsRefCounts.ContainsKey(element.OwnerDocument)) 180_xmlDocsRefCounts[element.OwnerDocument] = 1; 189_xmlDocsRefCounts[element.OwnerDocument]++; 206Invariant.Assert(_xmlDocsRefCounts.ContainsKey(sender as XmlDocument), "Not expecting a notification from this sender");