3 writes to _attrCount
System.Private.Xml (3)
System\Xml\Core\XmlTextReaderImpl.cs (3)
7655
_attrCount
++;
7724
_attrCount
++;
7826
_attrCount
= 0;
45 references to _attrCount
System.Private.Xml (45)
System\Xml\Core\XmlTextReaderImpl.cs (41)
1027
return
_attrCount
;
1053
for (int i = _index + 1; i < _index +
_attrCount
+ 1; i++)
1068
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(i,
_attrCount
);
1107
for (int i = _index + 1; i < _index +
_attrCount
+ 1; i++)
1130
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(i,
_attrCount
);
1144
if (
_attrCount
== 0)
1163
if (_curAttrIndex + 1 <
_attrCount
)
1443
NodeData simpleValueNode = AddNode(_index +
_attrCount
+ 1, _curNode.depth + 1);
1460
AddNode(_index +
_attrCount
+ 1, _index + 2);
1461
_nodes[_index +
_attrCount
+ 1] = _curNode;
1477
_nodes[_index +
_attrCount
+ 1] = _curNode; // if curNode == EntityReference node, it will be picked from here by SetupEndEntityNodeInAttribute
2505
_curNode = AddNode(_index +
_attrCount
+ 1, _index);
2782
return
_attrCount
> 0 && _parsingFunction >= ParsingFunction.InReadAttributeValue;
3349
for (int i = 0; i <
_attrCount
; i++)
3386
for (int i = 0; i <
_attrCount
; i++)
4465
for (int i = _index + 1; i < _index + 1 +
_attrCount
; i++)
4496
int originalAttrCount =
_attrCount
;
4499
if (
_attrCount
>= MaxAttrDuplWalkCount)
4501
nameSortedAttributes = new NodeData[
_attrCount
];
4502
Array.Copy(_nodes, _index + 1, nameSortedAttributes, 0,
_attrCount
);
4679
Debug.Assert(
_attrCount
== 0);
4975
for (int i = _index + 1; i < _index +
_attrCount
+ 1; i++)
4987
if (
_attrCount
< MaxAttrDuplWalkCount)
4989
for (int i = _index + 1; i < _index + 1 +
_attrCount
; i++)
4992
for (int j = i + 1; j < _index + 1 +
_attrCount
; j++)
5003
if (_attrDuplSortingArray == null || _attrDuplSortingArray.Length <
_attrCount
)
5005
_attrDuplSortingArray = new NodeData[
_attrCount
];
5007
Array.Copy(_nodes, _index + 1, _attrDuplSortingArray, 0,
_attrCount
);
5008
Array.Sort(_attrDuplSortingArray, 0,
_attrCount
);
5011
for (int i = 1; i <
_attrCount
; i++)
6181
_curNode = _nodes[_index +
_attrCount
+ 1];
7653
NodeData newAttr = AddNode(_index +
_attrCount
+ 1, attrDepth);
7693
NodeData newAttr = AddNode(_index +
_attrCount
+ 1, _index + 1);
7711
for (int i = _index + 1; i < _index +
_attrCount
+ 1; i++)
7833
for (int i = _index + 1; i < _index +
_attrCount
+ 1; i++)
8569
_curNode = AddNode(_index +
_attrCount
+ 1, _index + 2);
8823
for (int i = _index + 1; i < _index +
_attrCount
+ 1; i++)
8843
for (int i = _index + 1; i < _index +
_attrCount
+ 1; i++)
9210
for (int i = _index + 1; i < _index + 1 +
_attrCount
; i++)
9253
for (int i = _index + 1; i < _index + 1 +
_attrCount
; i++)
9318
for (int i = _index; i < _index +
_attrCount
+ 1; i++)
System\Xml\Core\XmlTextReaderImplAsync.cs (4)
777
_curNode = AddNode(_index +
_attrCount
+ 1, _index);
1038
for (int i = 0; i <
_attrCount
; i++)
1074
for (int i = 0; i <
_attrCount
; i++)
2311
Debug.Assert(
_attrCount
== 0);