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
;
4403
_lastPrefix = _curNode.
prefix
;
4471
IDtdAttributeListInfo? attlistInfo = _dtdInfo.LookupAttributeList(_curNode.localName, _curNode.
prefix
);
4486
IDtdAttributeInfo? attributeInfo = attlistInfo.LookupAttribute(attr.
prefix
, attr.localName);
4550
int prefLen = startTagNode.
prefix
.Length;
4564
if (startTagNode.
prefix
.Length == 0)
4575
if (!chars.AsSpan(_ps.charPos).StartsWith(startTagNode.
prefix
) ||
4919
if (attr.
prefix
.Length == 0)
4930
if (Ref.Equal(attr.
prefix
, _xmlNs))
4935
else if (Ref.Equal(attr.
prefix
, _xml))
4980
if (_curNode.
prefix
.Length == 0)
4995
if (at.type == XmlNodeType.Attribute && at.
prefix
.Length > 0)
7780
string? ns = _namespaceManager.LookupNamespace(node.
prefix
);
7787
Throw(SR.Xml_UnknownNs, node.
prefix
, node.LineNo, node.LinePos);
8842
if (Ref.Equal(_nodes[i].localName, atomizedName) && _nodes[i].
prefix
.Length == 0)
9230
(object)_nodes[i].
prefix
== (object)prefix)
9273
(((object?)_nodes[i].
prefix
== (object?)prefix) || ((object?)_nodes[i].ns == (object?)ns && ns != null)))
9306
if (attr.
prefix
.Length == 0)
9316
if (_nodes[_index].
prefix
.Length == 0)
9326
if (Ref.Equal(attr.
prefix
, _xmlNs))
9337
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
;