2 writes to localName
System.Private.Xml (2)
System\Xml\Core\XmlTextReaderImplHelpers.cs (2)
494localName = string.Empty; 542this.localName = localName;
45 references to localName
System.Private.Xml (45)
System\Xml\Core\XmlTextReaderImpl.cs (26)
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)) 4471IDtdAttributeListInfo? attlistInfo = _dtdInfo.LookupAttributeList(_curNode.localName, _curNode.prefix); 4486IDtdAttributeInfo? attributeInfo = attlistInfo.LookupAttribute(attr.prefix, attr.localName); 4551int locLen = startTagNode.localName.Length; 4566if (!chars.AsSpan(_ps.charPos).StartsWith(startTagNode.localName)) 4577!chars.AsSpan(colonPos + 1).StartsWith(startTagNode.localName)) 4922if (Ref.Equal(attr.localName, _xmlNs)) 5011if (Ref.Equal(attr1.localName, _nodes[j].localName) && Ref.Equal(attr1.ns, _nodes[j].ns)) 5064AddNamespace(attr.localName, ns, attr); 5069switch (attr.localName) 6194Debug.Assert(Ref.Equal(_lastEntity.Name, _curNode.localName)); 6195_curNode.lineInfo.linePos += _curNode.localName.Length; 7725if (Ref.Equal(attr.localName, newAttr.localName)) 8428if (endPos - _ps.charPos - 1 == _curNode.localName.Length && _ps.chars.AsSpan(_ps.charPos + 1).StartsWith(_curNode.localName) && 8835if (Ref.Equal(_nodes[i].localName, atomizedName) && _nodes[i].prefix.Length == 0) 9222if ((object)_nodes[i].localName == (object)localName && 9265if ((object)_nodes[i].localName == (object)localName && 9302if (Ref.Equal(attr.localName, _xmlNs)) 9325string 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 (13)
475[MemberNotNull(nameof(localName))] 488[MemberNotNull(nameof(localName))] 672nameWPrefix = localName; 676nameWPrefix = nt.Add($"{prefix}:{localName}"); 686if (Ref.Equal(localName, other.localName)) 699return string.CompareOrdinal(localName, other.localName); 722&& Ref.Equal(x.localName, y.localName) 729RuntimeHelpers.GetHashCode(node.localName), 768localName = nodeData.localName; 787localName2 = nodeData.localName;