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)
880return _curNode.localName; 1056if (Ref.Equal(_nodes[i].localName, localNameAtomized) && Ref.Equal(_nodes[i].ns, namespaceURI)) 1110if (Ref.Equal(_nodes[i].localName, localNameAtomized) && 1505switch (HandleGeneralEntityReference(_curNode.localName, true, true, _curNode.LinePos)) 1525switch (HandleGeneralEntityReference(_curNode.localName, false, true, _curNode.LinePos)) 4502IDtdAttributeListInfo? attlistInfo = _dtdInfo.LookupAttributeList(_curNode.localName, _curNode.prefix); 4517IDtdAttributeInfo? attributeInfo = attlistInfo.LookupAttribute(attr.prefix, attr.localName); 4582int locLen = startTagNode.localName.Length; 4597if (!chars.AsSpan(_ps.charPos).StartsWith(startTagNode.localName)) 4608!chars.AsSpan(colonPos + 1).StartsWith(startTagNode.localName)) 4953if (Ref.Equal(attr.localName, _xmlNs)) 5042if (Ref.Equal(attr1.localName, _nodes[j].localName) && Ref.Equal(attr1.ns, _nodes[j].ns)) 5095AddNamespace(attr.localName, ns, attr); 5100switch (attr.localName) 6225Debug.Assert(Ref.Equal(_lastEntity.Name, _curNode.localName)); 6226_curNode.lineInfo.linePos += _curNode.localName.Length; 7756if (Ref.Equal(attr.localName, newAttr.localName)) 8460if (endPos - _ps.charPos - 1 == _curNode.localName.Length && _ps.chars.AsSpan(_ps.charPos + 1).StartsWith(_curNode.localName) && 8867if (Ref.Equal(_nodes[i].localName, atomizedName) && _nodes[i].prefix.Length == 0) 9254if ((object)_nodes[i].localName == (object)localName && 9297if ((object)_nodes[i].localName == (object)localName && 9334if (Ref.Equal(attr.localName, _xmlNs)) 9357string pref = attr.localName;
System\Xml\Core\XmlTextReaderImplAsync.cs (6)
2095int locLen = startTagNode.localName.Length; 2117int locLen = startTagNode.localName.Length; 2132int locLen = startTagNode.localName.Length; 2138if (!chars.AsSpan(_ps.charPos).StartsWith(startTagNode.localName)) 2149!chars.AsSpan(colonPos + 1).StartsWith(startTagNode.localName)) 2578if (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;