1 write to s_namespaces
System.Private.Xml.Linq (1)
System\Xml\Linq\XNamespace.cs (1)
242
Interlocked.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)
241
if (
s_namespaces
== null)
251
if (!
s_namespaces
.TryGetValue(namespaceName, index, count, out refNamespace))
258
refNamespace =
s_namespaces
.Add(new WeakReference<XNamespace>(new XNamespace(namespaceName.Substring(index, count))));