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