4 writes to _nodes
System.Private.Xml (4)
System\Xml\Core\XmlTextReaderImpl.cs (4)
305
_nodes
= new NodeData[NodesInitialSize];
331
_nodes
= new NodeData[NodesInitialSize];
395
_nodes
= new NodeData[NodesInitialSize];
7642
_nodes
= newNodes;
83 references to _nodes
System.Private.Xml (83)
System\Xml\Core\XmlTextReaderImpl.cs (73)
306
_nodes
[0] = new NodeData();
307
_curNode =
_nodes
[0];
332
_nodes
[0] = new NodeData();
333
_curNode =
_nodes
[0];
396
_nodes
[0] = new NodeData();
397
_curNode =
_nodes
[0];
1044
return (i >= 0) ?
_nodes
[i].StringValue : null;
1055
if (Ref.Equal(
_nodes
[i].localName, localNameAtomized) && Ref.Equal(
_nodes
[i].ns, namespaceURI))
1057
return
_nodes
[i].StringValue;
1070
return
_nodes
[_index + i + 1].StringValue;
1093
_curNode =
_nodes
[i];
1109
if (Ref.Equal(
_nodes
[i].localName, localNameAtomized) &&
1110
Ref.Equal(
_nodes
[i].ns, namespaceURIAtomized))
1113
_curNode =
_nodes
[i];
1138
_curNode =
_nodes
[_index + 1 + _curAttrIndex];
1155
_curNode =
_nodes
[_index + 1];
1169
_curNode =
_nodes
[_index + 1 + ++_curAttrIndex];
1187
_curNode =
_nodes
[_index];
1253
_curNode =
_nodes
[_index];
1269
_curNode =
_nodes
[_index];
1300
_curNode =
_nodes
[_index];
1355
_curNode =
_nodes
[_index];
1461
_nodes
[_index + _attrCount + 1] = _curNode;
1477
_nodes
[_index + _attrCount + 1] = _curNode; // if curNode == EntityReference node, it will be picked from here by SetupEndEntityNodeInAttribute
2150
_curNode =
_nodes
[0];
3351
_nodes
[_index + i + 1].OnBufferInvalidated();
3388
_nodes
[_index + i + 1].OnBufferInvalidated();
4270
NodeData el =
_nodes
[i];
4467
NodeData attr =
_nodes
[i];
4502
Array.Copy(
_nodes
, _index + 1, nameSortedAttributes, 0, _attrCount);
4531
NodeData startTagNode =
_nodes
[_index - 1];
4636
_curNode =
_nodes
[_index];
4977
NodeData at =
_nodes
[i];
4991
NodeData attr1 =
_nodes
[i];
4994
if (Ref.Equal(attr1.localName,
_nodes
[j].localName) && Ref.Equal(attr1.ns,
_nodes
[j].ns))
4996
Throw(SR.Xml_DupAttributeName,
_nodes
[j].GetNameWPrefix(_nameTable),
_nodes
[j].LineNo,
_nodes
[j].LinePos);
5007
Array.Copy(
_nodes
, _index + 1, _attrDuplSortingArray, 0, _attrCount);
6132
if (_ps.entityId !=
_nodes
[_index].entityId)
6147
if (_ps.entityId !=
_nodes
[_index].entityId)
6168
_curNode =
_nodes
[_index];
6181
_curNode =
_nodes
[_index + _attrCount + 1];
7623
Debug.Assert(nodeIndex <
_nodes
.Length);
7624
Debug.Assert(
_nodes
[
_nodes
.Length - 1] == null);
7626
NodeData n =
_nodes
[nodeIndex];
7637
Debug.Assert(nodeIndex <
_nodes
.Length);
7638
if (nodeIndex >=
_nodes
.Length - 1)
7640
NodeData[] newNodes = new NodeData[
_nodes
.Length * 2];
7641
Array.Copy(
_nodes
, newNodes,
_nodes
.Length);
7644
Debug.Assert(nodeIndex <
_nodes
.Length);
7646
NodeData node =
_nodes
[nodeIndex] ??= new NodeData();
7713
NodeData attr =
_nodes
[i];
7750
_curNode =
_nodes
[0];
7835
NodeData attr =
_nodes
[i];
8825
if (Ref.Equal(
_nodes
[i].localName, atomizedName) &&
_nodes
[i].prefix.Length == 0)
8845
if (Ref.Equal(
_nodes
[i].GetNameWPrefix(_nameTable), name))
9212
if ((object)
_nodes
[i].localName == (object)localName &&
9213
(object)
_nodes
[i].prefix == (object)prefix)
9255
if ((object)
_nodes
[i].localName == (object)localName &&
9256
(((object?)
_nodes
[i].prefix == (object?)prefix) || ((object?)
_nodes
[i].ns == (object?)ns && ns != null)))
9298
Debug.Assert(
_nodes
[_index].type == XmlNodeType.Element);
9299
if (
_nodes
[_index].prefix.Length == 0)
9301
_nodes
[_index].ns = _xmlContext.defaultNamespace;
9316
Debug.Assert(
_nodes
[_index].type == XmlNodeType.Element);
9320
if (
_nodes
[i].prefix.Equals(pref))
9322
_nodes
[i].ns = _namespaceManager.LookupNamespace(pref);
System\Xml\Core\XmlTextReaderImplAsync.cs (10)
186
_curNode =
_nodes
[_index];
202
_curNode =
_nodes
[_index];
233
_curNode =
_nodes
[_index];
316
_curNode =
_nodes
[_index];
1040
_nodes
[_index + i + 1].OnBufferInvalidated();
1076
_nodes
[_index + i + 1].OnBufferInvalidated();
2062
NodeData startTagNode =
_nodes
[_index - 1];
2084
NodeData startTagNode =
_nodes
[_index - 1];
2100
NodeData startTagNode =
_nodes
[_index - 1];
2254
_curNode =
_nodes
[_index];