4 writes to _nameTable
System.Private.Xml (4)
System\Xml\Core\XmlTextReaderImpl.cs (4)
304_nameTable = new NameTable(); 322_nameTable = nt; 378_nameTable = nt; 9041_nameTable = nt;
53 references to _nameTable
System.Private.Xml (53)
System\Xml\Core\XmlTextReaderImpl.cs (45)
309_xml = _nameTable.Add("xml"); 310_xmlNs = _nameTable.Add("xmlns"); 384nt = _nameTable; 830settings.NameTable = _nameTable; 870return _curNode.GetNameWPrefix(_nameTable); 1009return _nameTable; 1050namespaceURI = (namespaceURI == null) ? string.Empty : _nameTable.Get(namespaceURI); 1051string? localNameAtomized = _nameTable.Get(localName); 1105string? namespaceURIAtomized = (namespaceURI == null) ? string.Empty : _nameTable.Get(namespaceURI); 1106string? localNameAtomized = _nameTable.Get(localName); 1984_namespaceManager = new XmlNamespaceManager(_nameTable); 2313return _nameTable; 2979_namespaceManager = new XmlNamespaceManager(_nameTable); 2989_namespaceManager = new XmlNamespaceManager(_nameTable); 4275_stringBuilder.Append(el.GetNameWPrefix(_nameTable)); 4367_nameTable.Add(chars, _ps.charPos, pos - _ps.charPos)); 4376_nameTable.Add(chars, colonPos + 1, pos - colonPos - 1), 4383_nameTable.Add(chars, colonPos + 1, pos - colonPos - 1), 4384_nameTable.Add(chars, _ps.charPos, prefixLen), 4483SendValidationEvent(XmlSeverityType.Error, SR.Sch_StandAloneNormalization, attr.GetNameWPrefix(_nameTable), attr.LineNo, attr.LinePos); 4658args[0] = startTag.GetNameWPrefix(_nameTable); 4996Throw(SR.Xml_DupAttributeName, _nodes[j].GetNameWPrefix(_nameTable), _nodes[j].LineNo, _nodes[j].LinePos); 5016Throw(SR.Xml_DupAttributeName, attr2.GetNameWPrefix(_nameTable), attr2.LineNo, attr2.LinePos); 5030string ns = _nameTable.Add(attr.StringValue); 5031attr.ns = _nameTable.Add(XmlReservedNs.NsXmlNs); 5049string ns = _nameTable.Add(attr.StringValue); 6011string entityName = _nameTable.Add(_ps.chars, _ps.charPos, endPos - _ps.charPos); 6208string target = _nameTable.Add(_ps.chars, _ps.charPos, nameEndPos - _ps.charPos); 7616string entityName = _nameTable.Add(_ps.chars, _ps.charPos, endPos - _ps.charPos); 7654newAttr.SetNamedNode(XmlNodeType.Attribute, _nameTable.Add(name)); 7666string localName = _nameTable.Add(_ps.chars, _ps.charPos, endNamePos - _ps.charPos); 7676return AddAttribute(_nameTable.Add(_ps.chars, colonPos + 1, endNamePos - colonPos - 1), 7682string prefix = _nameTable.Add(_ps.chars, startPos, prefixLen); 7684return AddAttribute(_nameTable.Add(_ps.chars, colonPos + 1, endNamePos - colonPos - 1), 8378string checkName = _curNode.GetNameWPrefix(_nameTable); 8817string? atomizedName = _nameTable.Get(name); 8836name = _nameTable.Add(name); 8845if (Ref.Equal(_nodes[i].GetNameWPrefix(_nameTable), name)) 8998[MemberNotNull(nameof(_nameTable))] 9105_nameTable.Add(XmlReservedNs.NsXs); // Note: this is equal to XmlReservedNs.NsXsd in Everett 9106_nameTable.Add(XmlReservedNs.NsXsi); 9107_nameTable.Add(XmlReservedNs.NsDataType); 9238string localName = _nameTable.Add(attrDef.Name.Name); 9239string? prefix = _nameTable.Add(attrDef.Prefix); 9240string ns = _nameTable.Add(attrDef.Name.Namespace);
System\Xml\Core\XmlTextReaderImplAsync.cs (8)
1960_nameTable.Add(chars, _ps.charPos, pos - _ps.charPos)); 1969_nameTable.Add(chars, colonPos + 1, pos - colonPos - 1), 1976_nameTable.Add(chars, colonPos + 1, pos - colonPos - 1), 1977_nameTable.Add(chars, _ps.charPos, prefixLen), 2291args[0] = startTag.GetNameWPrefix(_nameTable); 3795string entityName = _nameTable.Add(_ps.chars, _ps.charPos, endPos - _ps.charPos); 3912string target = _nameTable.Add(_ps.chars, _ps.charPos, nameEndPos - _ps.charPos); 5093string entityName = _nameTable.Add(_ps.chars, _ps.charPos, endPos - _ps.charPos);