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]; 1044return (i >= 0) ? _nodes[i].StringValue : null; 1055if (Ref.Equal(_nodes[i].localName, localNameAtomized) && Ref.Equal(_nodes[i].ns, namespaceURI)) 1057return _nodes[i].StringValue; 1070return _nodes[_index + i + 1].StringValue; 1093_curNode = _nodes[i]; 1109if (Ref.Equal(_nodes[i].localName, localNameAtomized) && 1110Ref.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(); 4270NodeData el = _nodes[i]; 4467NodeData attr = _nodes[i]; 4502Array.Copy(_nodes, _index + 1, nameSortedAttributes, 0, _attrCount); 4531NodeData startTagNode = _nodes[_index - 1]; 4636_curNode = _nodes[_index]; 4977NodeData at = _nodes[i]; 4991NodeData attr1 = _nodes[i]; 4994if (Ref.Equal(attr1.localName, _nodes[j].localName) && Ref.Equal(attr1.ns, _nodes[j].ns)) 4996Throw(SR.Xml_DupAttributeName, _nodes[j].GetNameWPrefix(_nameTable), _nodes[j].LineNo, _nodes[j].LinePos); 5007Array.Copy(_nodes, _index + 1, _attrDuplSortingArray, 0, _attrCount); 6132if (_ps.entityId != _nodes[_index].entityId) 6147if (_ps.entityId != _nodes[_index].entityId) 6168_curNode = _nodes[_index]; 6181_curNode = _nodes[_index + _attrCount + 1]; 7623Debug.Assert(nodeIndex < _nodes.Length); 7624Debug.Assert(_nodes[_nodes.Length - 1] == null); 7626NodeData n = _nodes[nodeIndex]; 7637Debug.Assert(nodeIndex < _nodes.Length); 7638if (nodeIndex >= _nodes.Length - 1) 7640NodeData[] newNodes = new NodeData[_nodes.Length * 2]; 7641Array.Copy(_nodes, newNodes, _nodes.Length); 7644Debug.Assert(nodeIndex < _nodes.Length); 7646NodeData node = _nodes[nodeIndex] ??= new NodeData(); 7713NodeData attr = _nodes[i]; 7750_curNode = _nodes[0]; 7835NodeData attr = _nodes[i]; 8825if (Ref.Equal(_nodes[i].localName, atomizedName) && _nodes[i].prefix.Length == 0) 8845if (Ref.Equal(_nodes[i].GetNameWPrefix(_nameTable), name)) 9212if ((object)_nodes[i].localName == (object)localName && 9213(object)_nodes[i].prefix == (object)prefix) 9255if ((object)_nodes[i].localName == (object)localName && 9256(((object?)_nodes[i].prefix == (object?)prefix) || ((object?)_nodes[i].ns == (object?)ns && ns != null))) 9298Debug.Assert(_nodes[_index].type == XmlNodeType.Element); 9299if (_nodes[_index].prefix.Length == 0) 9301_nodes[_index].ns = _xmlContext.defaultNamespace; 9316Debug.Assert(_nodes[_index].type == XmlNodeType.Element); 9320if (_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(); 2062NodeData startTagNode = _nodes[_index - 1]; 2084NodeData startTagNode = _nodes[_index - 1]; 2100NodeData startTagNode = _nodes[_index - 1]; 2254_curNode = _nodes[_index];