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