4 writes to _namespaces
System.Private.Xml (4)
System\Xml\Serialization\XmlSerializationWriter.cs (4)
48_namespaces = namespaces; 92_namespaces = null; 97_namespaces = new XmlSerializerNamespaces(qnames); 1460_namespaces = null;
9 references to _namespaces
System.Private.Xml (9)
System\Xml\Serialization\XmlSerializationWriter.cs (9)
84return _namespaces?.NamespaceList; 506if (_namespaces != null) 508_namespaces.TryLookupPrefix(ns, out prefix); 510if (_namespaces.TryLookupNamespace("", out string? defaultNS)) 518_usedPrefixes = ListUsedPrefixes(_namespaces, _aliasBase); 535if (_namespaces != null) 537foreach (XmlQualifiedName qname in _namespaces.Namespaces) 1443if (_namespaces != null) 1446if (_namespaces.TryLookupNamespace(prefix, out oldNs) && oldNs != null && oldNs != ns)