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