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)
84
return
_namespaces
?.NamespaceList;
506
if (
_namespaces
!= null)
508
_namespaces
.TryLookupPrefix(ns, out prefix);
510
if (
_namespaces
.TryLookupNamespace("", out string? defaultNS))
518
_usedPrefixes = ListUsedPrefixes(
_namespaces
, _aliasBase);
535
if (
_namespaces
!= null)
537
foreach (XmlQualifiedName qname in
_namespaces
.Namespaces)
1443
if (
_namespaces
!= null)
1446
if (
_namespaces
.TryLookupNamespace(prefix, out oldNs) && oldNs != null && oldNs != ns)