2 writes to localName
System.Private.Xml (2)
System\Xml\Core\XmlTextReaderImplHelpers.cs (2)
493
localName
= string.Empty;
541
this.
localName
= localName;
44 references to localName
System.Private.Xml (44)
System\Xml\Core\XmlTextReaderImpl.cs (28)
879
return _curNode.
localName
;
1055
if (Ref.Equal(_nodes[i].
localName
, localNameAtomized) && Ref.Equal(_nodes[i].ns, namespaceURI))
1109
if (Ref.Equal(_nodes[i].
localName
, localNameAtomized) &&
1504
switch (HandleGeneralEntityReference(_curNode.
localName
, true, true, _curNode.LinePos))
1524
switch (HandleGeneralEntityReference(_curNode.
localName
, false, true, _curNode.LinePos))
4454
IDtdAttributeListInfo? attlistInfo = _dtdInfo.LookupAttributeList(_curNode.
localName
, _curNode.prefix);
4469
IDtdAttributeInfo? attributeInfo = attlistInfo.LookupAttribute(attr.prefix, attr.
localName
);
4534
int locLen = startTagNode.
localName
.Length;
4549
if (!chars.AsSpan(_ps.charPos).StartsWith(startTagNode.
localName
))
4560
!chars.AsSpan(colonPos + 1).StartsWith(startTagNode.
localName
))
4905
if (Ref.Equal(attr.
localName
, _xmlNs))
4994
if (Ref.Equal(attr1.
localName
, _nodes[j].
localName
) && Ref.Equal(attr1.ns, _nodes[j].ns))
5014
if (Ref.Equal(attr1.
localName
, attr2.
localName
) && Ref.Equal(attr1.ns, attr2.ns))
5054
AddNamespace(attr.
localName
, ns, attr);
5059
switch (attr.
localName
)
6184
Debug.Assert(Ref.Equal(_lastEntity.Name, _curNode.
localName
));
6185
_curNode.lineInfo.linePos += _curNode.
localName
.Length;
7715
if (Ref.Equal(attr.
localName
, newAttr.
localName
))
8418
if (endPos - _ps.charPos - 1 == _curNode.
localName
.Length && _ps.chars.AsSpan(_ps.charPos + 1).StartsWith(_curNode.
localName
) &&
8825
if (Ref.Equal(_nodes[i].
localName
, atomizedName) && _nodes[i].prefix.Length == 0)
9212
if ((object)_nodes[i].
localName
== (object)localName &&
9255
if ((object)_nodes[i].
localName
== (object)localName &&
9292
if (Ref.Equal(attr.
localName
, _xmlNs))
9315
string pref = attr.
localName
;
System\Xml\Core\XmlTextReaderImplAsync.cs (6)
2065
int locLen = startTagNode.
localName
.Length;
2087
int locLen = startTagNode.
localName
.Length;
2102
int locLen = startTagNode.
localName
.Length;
2108
if (!chars.AsSpan(_ps.charPos).StartsWith(startTagNode.
localName
))
2119
!chars.AsSpan(colonPos + 1).StartsWith(startTagNode.
localName
))
2548
if (Ref.Equal(attr.
localName
, _xmlNs))
System\Xml\Core\XmlTextReaderImplHelpers.cs (10)
474
[MemberNotNull(nameof(
localName
))]
487
[MemberNotNull(nameof(
localName
))]
671
nameWPrefix =
localName
;
675
nameWPrefix = nt.Add($"{prefix}:{
localName
}");
685
if (Ref.Equal(
localName
, other.
localName
))
698
return string.CompareOrdinal(
localName
, other.
localName
);
743
localName = nodeData.
localName
;
762
localName2 = nodeData.
localName
;