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)
1415Debug.Assert(_namespaceManager != null); 1416return _namespaceManager.LookupNamespace(prefix); 1944Debug.Assert(_namespaceManager != null); 1945return _namespaceManager.GetNamespacesInScope(scope); 1952Debug.Assert(_namespaceManager != null); 1953return _namespaceManager.LookupPrefix(namespaceName); 1976if (_namespaceManager is NoNamespaceManager) 1988Debug.Assert(_namespaceManager != null); 1989_xmlContext.defaultNamespace = _namespaceManager.LookupNamespace(string.Empty)!; 1993if (!(_namespaceManager is NoNamespaceManager)) 2137Debug.Assert(_namespaceManager != null); 2138while (_namespaceManager.PopScope()) ; 2321return _namespaceManager; 2975_xmlContext.defaultNamespace = _namespaceManager.LookupNamespace(string.Empty)!; 4360Debug.Assert(_namespaceManager != null); 4361_namespaceManager.PushScope(); 7730Debug.Assert(_namespaceManager != null); 7732_namespaceManager.PopScope(); 7762Debug.Assert(_namespaceManager != null); 7763string? ns = _namespaceManager.LookupNamespace(node.prefix); 7800Debug.Assert(_namespaceManager != null); 7804_namespaceManager.AddNamespace(prefix, uri); 9017_xmlContext.defaultNamespace = _namespaceManager.LookupNamespace(string.Empty)!; 9020nt = _namespaceManager.NameTable; 9170return _namespaceManager; 9245Debug.Assert(_namespaceManager != null); 9246prefix = _namespaceManager.LookupPrefix(ns); 9317Debug.Assert(_namespaceManager != null); 9322_nodes[i].ns = _namespaceManager.LookupNamespace(pref);
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
1954_namespaceManager!.PushScope();