1 write to s_namespaces
System.Private.Xml.Linq (1)
System\Xml\Linq\XNamespace.cs (1)
242Interlocked.CompareExchange(ref s_namespaces, new XHashtable<WeakReference<XNamespace>>(ExtractNamespace, NamespacesCapacity), null);
3 references to s_namespaces
System.Private.Xml.Linq (3)
System\Xml\Linq\XNamespace.cs (3)
241if (s_namespaces == null) 251if (!s_namespaces.TryGetValue(namespaceName, index, count, out refNamespace)) 258refNamespace = s_namespaces.Add(new WeakReference<XNamespace>(new XNamespace(namespaceName.Substring(index, count))));