3 writes to attrCount
System.Xml (3)
System\Xml\Core\XmlTextReaderImpl.cs (3)
6914
attrCount
++;
6970
attrCount
++;
7048
attrCount
= 0;
45 references to attrCount
System.Xml (45)
System\Xml\Core\XmlTextReaderImpl.cs (41)
1001
return
attrCount
;
1021
for ( int i = index + 1; i < index +
attrCount
+ 1; i++ ) {
1031
if ( i < 0 || i >=
attrCount
) {
1064
for ( int i = index + 1; i < index +
attrCount
+ 1; i++ ) {
1081
if ( i < 0 || i >=
attrCount
) {
1094
if (
attrCount
== 0 ) {
1110
if ( curAttrIndex + 1 <
attrCount
) {
1378
NodeData simpleValueNode = AddNode( index +
attrCount
+ 1, curNode.depth + 1 );
1394
AddNode( index +
attrCount
+ 1, index + 2 );
1395
nodes[index +
attrCount
+ 1] = curNode;
1412
nodes[index +
attrCount
+ 1] = curNode; // if curNode == EntityReference node, it will be picked from here by SetupEndEntityNodeInAttribute
2317
curNode = AddNode( index +
attrCount
+ 1, index );
2548
return
attrCount
> 0 && parsingFunction >= ParsingFunction.InReadAttributeValue;
3086
for ( int i = 0; i <
attrCount
; i++ ) {
3115
for ( int i = 0; i <
attrCount
; i++ ) {
4067
for ( int i = index + 1; i < index + 1 +
attrCount
; i++ ) {
4095
int originalAttrCount =
attrCount
;
4098
if (
attrCount
>= MaxAttrDuplWalkCount) {
4099
nameSortedAttributes = new NodeData[
attrCount
];
4100
Array.Copy(nodes, index + 1, nameSortedAttributes, 0,
attrCount
);
4261
Debug.Assert(
attrCount
== 0 );
4558
for ( int i = index + 1; i < index +
attrCount
+ 1; i++ ) {
4567
if (
attrCount
< MaxAttrDuplWalkCount ) {
4568
for ( int i = index + 1; i < index + 1 +
attrCount
; i++ ) {
4570
for ( int j = i + 1; j < index + 1 +
attrCount
; j++ ) {
4578
if ( attrDuplSortingArray == null || attrDuplSortingArray.Length <
attrCount
) {
4579
attrDuplSortingArray = new NodeData[
attrCount
];
4581
Array.Copy( nodes, index + 1, attrDuplSortingArray, 0,
attrCount
);
4582
Array.Sort( attrDuplSortingArray, 0,
attrCount
);
4585
for ( int i = 1; i <
attrCount
; i++ ) {
5629
curNode = nodes[index +
attrCount
+ 1];
6912
NodeData newAttr = AddNode( index +
attrCount
+ 1, attrDepth );
6944
NodeData newAttr = AddNode( index +
attrCount
+ 1, index + 1 );
6959
for ( int i = index + 1; i < index +
attrCount
+ 1; i++ ) {
7054
for ( int i = index + 1; i < index +
attrCount
+ 1; i++ ) {
7690
curNode = AddNode( index +
attrCount
+ 1, index + 2 );
7894
for ( int i = index + 1; i < index +
attrCount
+ 1; i++ ) {
7907
for ( int i = index + 1; i < index +
attrCount
+ 1; i++ ) {
8218
for (int i = index + 1; i < index + 1 +
attrCount
; i++) {
8262
for (int i = index + 1; i < index + 1 +
attrCount
; i++) {
8316
for ( int i = index; i < index +
attrCount
+ 1; i++ ) {
System\Xml\Core\XmlTextReaderImplAsync.cs (4)
735
curNode = AddNode( index +
attrCount
+ 1, index );
996
for ( int i = 0; i <
attrCount
; i++ ) {
1025
for ( int i = 0; i <
attrCount
; i++ ) {
2135
Debug.Assert(
attrCount
== 0 );