3 writes to nodes
System.Xml (3)
System\Xml\Core\XmlTextReaderImpl.cs (3)
370
nodes
= new NodeData[ NodesInitialSize ];
433
nodes
= new NodeData[ NodesInitialSize ];
6898
nodes
= newNodes;
82 references to nodes
System.Xml (82)
System\Xml\Core\XmlTextReaderImpl.cs (72)
371
nodes
[0] = new NodeData();
372
curNode =
nodes
[0];
434
nodes
[0] = new NodeData();
435
curNode =
nodes
[0];
1014
return ( i >= 0 ) ?
nodes
[i].StringValue : null;
1022
if ( Ref.Equal(
nodes
[i].localName, localName ) && Ref.Equal(
nodes
[i].ns, namespaceURI ) ) {
1023
return
nodes
[i].StringValue;
1034
return
nodes
[index + i + 1].StringValue;
1052
curNode =
nodes
[i];
1065
if ( Ref.Equal(
nodes
[i].localName, localName ) &&
1066
Ref.Equal(
nodes
[i].ns, namespaceURI ) ) {
1068
curNode =
nodes
[i];
1089
curNode =
nodes
[index + 1 + curAttrIndex];
1103
curNode =
nodes
[index + 1];
1114
curNode =
nodes
[ index + 1 + ++curAttrIndex ];
1129
curNode =
nodes
[index];
1189
curNode =
nodes
[index];
1205
curNode =
nodes
[index];
1238
curNode =
nodes
[index];
1292
curNode =
nodes
[index];
1395
nodes
[index + attrCount + 1] = curNode;
1412
nodes
[index + attrCount + 1] = curNode; // if curNode == EntityReference node, it will be picked from here by SetupEndEntityNodeInAttribute
2011
curNode =
nodes
[0];
3087
nodes
[index + i + 1].OnBufferInvalidated();
3116
nodes
[index + i + 1].OnBufferInvalidated();
3879
NodeData el =
nodes
[i];
4068
NodeData attr =
nodes
[i];
4100
Array.Copy(
nodes
, index + 1, nameSortedAttributes, 0, attrCount);
4126
NodeData startTagNode =
nodes
[index-1];
4223
curNode =
nodes
[index];
4559
NodeData at =
nodes
[i];
4569
NodeData attr1 =
nodes
[i];
4571
if ( Ref.Equal( attr1.localName,
nodes
[j].localName ) && Ref.Equal( attr1.ns,
nodes
[j].ns ) ) {
4572
Throw( Res.Xml_DupAttributeName,
nodes
[j].GetNameWPrefix( nameTable ),
nodes
[j].LineNo,
nodes
[j].LinePos );
4581
Array.Copy(
nodes
, index + 1, attrDuplSortingArray, 0, attrCount );
5583
if ( ps.entityId !=
nodes
[index].entityId ) {
5596
if ( ps.entityId !=
nodes
[index].entityId ) {
5618
curNode =
nodes
[index];
5629
curNode =
nodes
[index + attrCount + 1];
6882
Debug.Assert( nodeIndex <
nodes
.Length );
6883
Debug.Assert(
nodes
[
nodes
.Length - 1] == null );
6885
NodeData n =
nodes
[nodeIndex];
6894
Debug.Assert( nodeIndex <
nodes
.Length );
6895
if ( nodeIndex >=
nodes
.Length - 1 ) {
6896
NodeData[] newNodes = new NodeData[
nodes
.Length * 2];
6897
Array.Copy(
nodes
, 0, newNodes, 0,
nodes
.Length );
6900
Debug.Assert( nodeIndex <
nodes
.Length );
6902
NodeData node =
nodes
[nodeIndex];
6905
nodes
[nodeIndex] = node;
6960
NodeData attr =
nodes
[i];
6991
curNode =
nodes
[0];
7055
NodeData attr =
nodes
[i];
7895
if ( Ref.Equal(
nodes
[i].localName, name ) &&
nodes
[i].prefix.Length == 0 ) {
7908
if ( Ref.Equal(
nodes
[i].GetNameWPrefix( nameTable ), name ) ) {
8219
if ((object)
nodes
[i].localName == (object)localName &&
8220
(object)
nodes
[i].prefix == (object)prefix) {
8263
if ((object)
nodes
[i].localName == (object)localName &&
8264
(((object)
nodes
[i].prefix == (object)prefix) || ((object)
nodes
[i].ns == (object)ns && ns != null))) {
8301
Debug.Assert(
nodes
[index].type == XmlNodeType.Element );
8302
if (
nodes
[index].prefix.Length == 0 ) {
8303
nodes
[index].ns = xmlContext.defaultNamespace;
8315
Debug.Assert(
nodes
[index].type == XmlNodeType.Element );
8317
if (
nodes
[i].prefix.Equals( pref ) ) {
8318
nodes
[i].ns = namespaceManager.LookupNamespace( pref );
System\Xml\Core\XmlTextReaderImplAsync.cs (10)
173
curNode =
nodes
[index];
189
curNode =
nodes
[index];
221
curNode =
nodes
[index];
296
curNode =
nodes
[index];
997
nodes
[index + i + 1].OnBufferInvalidated();
1026
nodes
[index + i + 1].OnBufferInvalidated();
1906
NodeData startTagNode =
nodes
[index - 1];
1925
NodeData startTagNode =
nodes
[index - 1];
1939
NodeData startTagNode =
nodes
[index - 1];
2082
curNode =
nodes
[index];