12 writes to _namespaceManager
System.Private.Xml (12)
System\Xml\Core\XmlTextReaderImpl.cs (12)
379
_namespaceManager
= new XmlNamespaceManager(nt);
464
_namespaceManager
= new XmlNamespaceManager(nt);
496
_namespaceManager
= new XmlNamespaceManager(nt);
569
_namespaceManager
= new XmlNamespaceManager(nt);
1980
_namespaceManager
= _fragmentParserContext.NamespaceManager;
1984
_namespaceManager
= new XmlNamespaceManager(_nameTable);
1995
_namespaceManager
= new NoNamespaceManager();
2974
_namespaceManager
= parserContext.NamespaceManager;
2979
_namespaceManager
= new XmlNamespaceManager(_nameTable);
2989
_namespaceManager
= new XmlNamespaceManager(_nameTable);
9016
_namespaceManager
= context.NamespaceManager;
9044
_namespaceManager
??= new XmlNamespaceManager(nt);
30 references to _namespaceManager
System.Private.Xml (30)
System\Xml\Core\XmlTextReaderImpl.cs (29)
1415
Debug.Assert(
_namespaceManager
!= null);
1416
return
_namespaceManager
.LookupNamespace(prefix);
1944
Debug.Assert(
_namespaceManager
!= null);
1945
return
_namespaceManager
.GetNamespacesInScope(scope);
1952
Debug.Assert(
_namespaceManager
!= null);
1953
return
_namespaceManager
.LookupPrefix(namespaceName);
1976
if (
_namespaceManager
is NoNamespaceManager)
1988
Debug.Assert(
_namespaceManager
!= null);
1989
_xmlContext.defaultNamespace =
_namespaceManager
.LookupNamespace(string.Empty)!;
1993
if (!(
_namespaceManager
is NoNamespaceManager))
2137
Debug.Assert(
_namespaceManager
!= null);
2138
while (
_namespaceManager
.PopScope()) ;
2321
return
_namespaceManager
;
2975
_xmlContext.defaultNamespace =
_namespaceManager
.LookupNamespace(string.Empty)!;
4360
Debug.Assert(
_namespaceManager
!= null);
4361
_namespaceManager
.PushScope();
7730
Debug.Assert(
_namespaceManager
!= null);
7732
_namespaceManager
.PopScope();
7762
Debug.Assert(
_namespaceManager
!= null);
7763
string? ns =
_namespaceManager
.LookupNamespace(node.prefix);
7800
Debug.Assert(
_namespaceManager
!= null);
7804
_namespaceManager
.AddNamespace(prefix, uri);
9017
_xmlContext.defaultNamespace =
_namespaceManager
.LookupNamespace(string.Empty)!;
9020
nt =
_namespaceManager
.NameTable;
9170
return
_namespaceManager
;
9245
Debug.Assert(
_namespaceManager
!= null);
9246
prefix =
_namespaceManager
.LookupPrefix(ns);
9317
Debug.Assert(
_namespaceManager
!= null);
9322
_nodes[i].ns =
_namespaceManager
.LookupNamespace(pref);
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
1954
_namespaceManager
!.PushScope();