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");
384
nt =
_nameTable
;
830
settings.NameTable =
_nameTable
;
870
return _curNode.GetNameWPrefix(
_nameTable
);
1009
return
_nameTable
;
1050
namespaceURI = (namespaceURI == null) ? string.Empty :
_nameTable
.Get(namespaceURI);
1051
string? localNameAtomized =
_nameTable
.Get(localName);
1105
string? namespaceURIAtomized = (namespaceURI == null) ? string.Empty :
_nameTable
.Get(namespaceURI);
1106
string? localNameAtomized =
_nameTable
.Get(localName);
1984
_namespaceManager = new XmlNamespaceManager(
_nameTable
);
2313
return
_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),
4483
SendValidationEvent(XmlSeverityType.Error, SR.Sch_StandAloneNormalization, attr.GetNameWPrefix(
_nameTable
), attr.LineNo, attr.LinePos);
4658
args[0] = startTag.GetNameWPrefix(
_nameTable
);
4996
Throw(SR.Xml_DupAttributeName, _nodes[j].GetNameWPrefix(
_nameTable
), _nodes[j].LineNo, _nodes[j].LinePos);
5016
Throw(SR.Xml_DupAttributeName, attr2.GetNameWPrefix(
_nameTable
), attr2.LineNo, attr2.LinePos);
5030
string ns =
_nameTable
.Add(attr.StringValue);
5031
attr.ns =
_nameTable
.Add(XmlReservedNs.NsXmlNs);
5049
string ns =
_nameTable
.Add(attr.StringValue);
6011
string entityName =
_nameTable
.Add(_ps.chars, _ps.charPos, endPos - _ps.charPos);
6208
string target =
_nameTable
.Add(_ps.chars, _ps.charPos, nameEndPos - _ps.charPos);
7616
string entityName =
_nameTable
.Add(_ps.chars, _ps.charPos, endPos - _ps.charPos);
7654
newAttr.SetNamedNode(XmlNodeType.Attribute,
_nameTable
.Add(name));
7666
string localName =
_nameTable
.Add(_ps.chars, _ps.charPos, endNamePos - _ps.charPos);
7676
return AddAttribute(
_nameTable
.Add(_ps.chars, colonPos + 1, endNamePos - colonPos - 1),
7682
string prefix =
_nameTable
.Add(_ps.chars, startPos, prefixLen);
7684
return AddAttribute(
_nameTable
.Add(_ps.chars, colonPos + 1, endNamePos - colonPos - 1),
8378
string checkName = _curNode.GetNameWPrefix(
_nameTable
);
8817
string? atomizedName =
_nameTable
.Get(name);
8836
name =
_nameTable
.Add(name);
8845
if (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);
9238
string localName =
_nameTable
.Add(attrDef.Name.Name);
9239
string? prefix =
_nameTable
.Add(attrDef.Prefix);
9240
string 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),
2291
args[0] = startTag.GetNameWPrefix(
_nameTable
);
3795
string entityName =
_nameTable
.Add(_ps.chars, _ps.charPos, endPos - _ps.charPos);
3912
string target =
_nameTable
.Add(_ps.chars, _ps.charPos, nameEndPos - _ps.charPos);
5093
string entityName =
_nameTable
.Add(_ps.chars, _ps.charPos, endPos - _ps.charPos);