2 writes to prefix
System.Private.Xml (2)
System\Xml\Core\XmlTextReaderImplHelpers.cs (2)
494prefix = string.Empty; 542this.prefix = prefix;
36 references to prefix
System.Private.Xml (36)
System\Xml\Core\XmlTextReaderImpl.cs (21)
897return _curNode.prefix; 4386_lastPrefix = _curNode.prefix; 4454IDtdAttributeListInfo? attlistInfo = _dtdInfo.LookupAttributeList(_curNode.localName, _curNode.prefix); 4469IDtdAttributeInfo? attributeInfo = attlistInfo.LookupAttribute(attr.prefix, attr.localName); 4533int prefLen = startTagNode.prefix.Length; 4547if (startTagNode.prefix.Length == 0) 4558if (!chars.AsSpan(_ps.charPos).StartsWith(startTagNode.prefix) || 4902if (attr.prefix.Length == 0) 4913if (Ref.Equal(attr.prefix, _xmlNs)) 4918else if (Ref.Equal(attr.prefix, _xml)) 4963if (_curNode.prefix.Length == 0) 4978if (at.type == XmlNodeType.Attribute && at.prefix.Length > 0) 7763string? ns = _namespaceManager.LookupNamespace(node.prefix); 7770Throw(SR.Xml_UnknownNs, node.prefix, node.LineNo, node.LinePos); 8825if (Ref.Equal(_nodes[i].localName, atomizedName) && _nodes[i].prefix.Length == 0) 9213(object)_nodes[i].prefix == (object)prefix) 9256(((object?)_nodes[i].prefix == (object?)prefix) || ((object?)_nodes[i].ns == (object?)ns && ns != null))) 9289if (attr.prefix.Length == 0) 9299if (_nodes[_index].prefix.Length == 0) 9309if (Ref.Equal(attr.prefix, _xmlNs)) 9320if (_nodes[i].prefix.Equals(pref))
System\Xml\Core\XmlTextReaderImplAsync.cs (9)
1979_lastPrefix = _curNode.prefix; 2064int prefLen = startTagNode.prefix.Length; 2086int prefLen = startTagNode.prefix.Length; 2101int prefLen = startTagNode.prefix.Length; 2106if (startTagNode.prefix.Length == 0) 2117if (!chars.AsSpan(_ps.charPos).StartsWith(startTagNode.prefix) || 2545if (attr.prefix.Length == 0) 2556if (Ref.Equal(attr.prefix, _xmlNs)) 2561else if (Ref.Equal(attr.prefix, _xml))
System\Xml\Core\XmlTextReaderImplHelpers.cs (6)
475[MemberNotNull(nameof(prefix))] 488[MemberNotNull(nameof(prefix))] 669if (prefix.Length == 0) 675nameWPrefix = nt.Add($"{prefix}:{localName}"); 744prefix = nodeData.prefix; 763prefix2 = nodeData.prefix;