2 writes to prefix
System.Private.Xml (2)
System\Xml\Core\XmlTextReaderImplHelpers.cs (2)
495prefix = string.Empty; 543this.prefix = prefix;
36 references to prefix
System.Private.Xml (36)
System\Xml\Core\XmlTextReaderImpl.cs (21)
898return _curNode.prefix; 4434_lastPrefix = _curNode.prefix; 4502IDtdAttributeListInfo? attlistInfo = _dtdInfo.LookupAttributeList(_curNode.localName, _curNode.prefix); 4517IDtdAttributeInfo? attributeInfo = attlistInfo.LookupAttribute(attr.prefix, attr.localName); 4581int prefLen = startTagNode.prefix.Length; 4595if (startTagNode.prefix.Length == 0) 4606if (!chars.AsSpan(_ps.charPos).StartsWith(startTagNode.prefix) || 4950if (attr.prefix.Length == 0) 4961if (Ref.Equal(attr.prefix, _xmlNs)) 4966else if (Ref.Equal(attr.prefix, _xml)) 5011if (_curNode.prefix.Length == 0) 5026if (at.type == XmlNodeType.Attribute && at.prefix.Length > 0) 7804string? ns = _namespaceManager.LookupNamespace(node.prefix); 7811Throw(SR.Xml_UnknownNs, node.prefix, node.LineNo, node.LinePos); 8867if (Ref.Equal(_nodes[i].localName, atomizedName) && _nodes[i].prefix.Length == 0) 9255(object)_nodes[i].prefix == (object)prefix) 9298(((object?)_nodes[i].prefix == (object?)prefix) || ((object?)_nodes[i].ns == (object?)ns && ns != null))) 9331if (attr.prefix.Length == 0) 9341if (_nodes[_index].prefix.Length == 0) 9351if (Ref.Equal(attr.prefix, _xmlNs)) 9362if (_nodes[i].prefix.Equals(pref))
System\Xml\Core\XmlTextReaderImplAsync.cs (9)
2009_lastPrefix = _curNode.prefix; 2094int prefLen = startTagNode.prefix.Length; 2116int prefLen = startTagNode.prefix.Length; 2131int prefLen = startTagNode.prefix.Length; 2136if (startTagNode.prefix.Length == 0) 2147if (!chars.AsSpan(_ps.charPos).StartsWith(startTagNode.prefix) || 2575if (attr.prefix.Length == 0) 2586if (Ref.Equal(attr.prefix, _xmlNs)) 2591else if (Ref.Equal(attr.prefix, _xml))
System\Xml\Core\XmlTextReaderImplHelpers.cs (6)
476[MemberNotNull(nameof(prefix))] 489[MemberNotNull(nameof(prefix))] 670if (prefix.Length == 0) 676nameWPrefix = nt.Add($"{prefix}:{localName}"); 769prefix = nodeData.prefix; 788prefix2 = nodeData.prefix;