4 writes to _namespaceManager
System.Private.Xml (4)
System\Xml\Schema\Parser.cs (2)
60_namespaceManager = reader.NamespaceManager; 63_namespaceManager = new XmlNamespaceManager(_nameTable);
System\Xml\Schema\ParserAsync.cs (2)
20_namespaceManager = reader.NamespaceManager; 23_namespaceManager = new XmlNamespaceManager(_nameTable);
14 references to _namespaceManager
System.Private.Xml (14)
System\Xml\Schema\Parser.cs (11)
61if (_namespaceManager == null) 85_builder = new XsdBuilder(reader, _namespaceManager, _schema, _nameTable, _schemaNames, _eventHandler); 92_builder = new XdrBuilder(reader, _namespaceManager, _xdrSchema, targetNamespace, _nameTable, _schemaNames, _eventHandler); 180_namespaceManager!.PushScope(); 188_namespaceManager.AddNamespace(_reader.Prefix.Length == 0 ? string.Empty : _reader.LocalName, _reader.Value); 197_namespaceManager.PopScope(); 250_namespaceManager!.PopScope(); 258_namespaceManager!.PopScope(); 364XmlAttribute attr = CreateXmlNsAttribute(r.Prefix, _namespaceManager!.LookupNamespace(r.Prefix)!); 369string elemNS = _namespaceManager!.LookupNamespace(r.Prefix)!; 384XmlAttribute attr = CreateXmlNsAttribute(r.Prefix, _namespaceManager!.LookupNamespace(r.Prefix)!);
System\Xml\Schema\ParserAsync.cs (3)
21if (_namespaceManager == null) 46_builder = new XsdBuilder(reader, _namespaceManager, _schema, _nameTable, _schemaNames, _eventHandler); 53_builder = new XdrBuilder(reader, _namespaceManager, _xdrSchema, targetNamespace, _nameTable, _schemaNames, _eventHandler);