5 writes to _index
dotnet-svcutil-lib (5)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (5)
1266
_index
++;
1555
_index
++;
2214
_index
= 0;
4734
_index
--;
6249
_index
--;
88 references to _index
dotnet-svcutil-lib (88)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (88)
343
Debug.Assert(
_index
== 0);
408
Debug.Assert(
_index
== 0);
1063
for (int i =
_index
+ 1; i <
_index
+ _attrCount + 1; i++)
1080
return _nodes[
_index
+ i + 1].StringValue;
1102
_curAttrIndex = i -
_index
- 1;
1117
for (int i =
_index
+ 1; i <
_index
+ _attrCount + 1; i++)
1122
_curAttrIndex = i -
_index
- 1;
1148
_curNode = _nodes[
_index
+ 1 + _curAttrIndex];
1165
_curNode = _nodes[
_index
+ 1];
1179
_curNode = _nodes[
_index
+ 1 + ++_curAttrIndex];
1197
_curNode = _nodes[
_index
];
1261
_curNode = _nodes[
_index
];
1262
_parsingFunction = (
_index
== 0) ? ParsingFunction.DocumentContent : ParsingFunction.ElementContent;
1267
_curNode = AddNode(
_index
,
_index
);
1277
_curNode = _nodes[
_index
];
1293
_curNode = AddNode(
_index
,
_index
);
1299
_curNode = AddNode(
_index
,
_index
);
1308
_curNode = _nodes[
_index
];
1363
_curNode = _nodes[
_index
];
1398
int initialDepth =
_index
;
1401
while (_outerReader.Read() &&
_index
> initialDepth) ;
1450
NodeData simpleValueNode = AddNode(
_index
+ _attrCount + 1, _curNode.depth + 1);
1467
AddNode(
_index
+ _attrCount + 1,
_index
+ 2);
1468
_nodes[
_index
+ _attrCount + 1] = _curNode;
1484
_nodes[
_index
+ _attrCount + 1] = _curNode; // if curNode == EntityReference node, it will be picked from here by SetupEndEntityNodeInAttribute
2581
_curNode = AddNode(
_index
+ _attrCount + 1,
_index
);
2707
NodeData attr = AddAttributeNoChecks("SYSTEM",
_index
+ 1);
2715
NodeData attr = AddAttributeNoChecks("PUBLIC",
_index
+ 1);
2862
_nextParsingFunction = (
_index
> 0) ? ParsingFunction.ElementContent : ParsingFunction.DocumentContent;
3412
_nodes[
_index
+ i + 1].OnBufferInvalidated();
3448
_nodes[
_index
+ i + 1].OnBufferInvalidated();
4171
Debug.Assert(
_index
== 0);
4318
if (
_index
== 0 && _fragmentType != XmlNodeType.Document)
4336
if (
_index
== 0 && _curNode.type != XmlNodeType.Element)
4342
int i = (_parsingFunction == ParsingFunction.InIncrementalRead) ?
_index
:
_index
- 1;
4557
for (int i =
_index
+ 1; i <
_index
+ 1 + _attrCount; i++)
4594
Array.Copy(_nodes,
_index
+ 1, nameSortedAttributes, 0, _attrCount);
4623
NodeData startTagNode = _nodes[
_index
- 1];
4733
Debug.Assert(
_index
> 0);
4735
_curNode = _nodes[
_index
];
4744
_nextParsingFunction = (
_index
> 0) ? _parsingFunction : ParsingFunction.DocumentContent;
5103
for (int i =
_index
+ 1; i <
_index
+ _attrCount + 1; i++)
5117
for (int i =
_index
+ 1; i <
_index
+ 1 + _attrCount; i++)
5120
for (int j = i + 1; j <
_index
+ 1 + _attrCount; j++)
5135
Array.Copy(_nodes,
_index
+ 1, _attrDuplSortingArray, 0, _attrCount);
5981
Debug.Assert((
_index
> 0) ? _nextParsingFunction == ParsingFunction.ElementContent : _nextParsingFunction == ParsingFunction.DocumentContent);
5998
Debug.Assert((
_index
> 0) ? _nextParsingFunction == ParsingFunction.ElementContent : _nextParsingFunction == ParsingFunction.DocumentContent);
6253
if (_ps.entityId != _nodes[
_index
].entityId)
6268
if (_ps.entityId != _nodes[
_index
].entityId)
6289
_curNode = _nodes[
_index
];
6290
Debug.Assert(_curNode.depth ==
_index
);
6294
if (
_index
== 0 && _parsingFunction == ParsingFunction.ElementContent)
6302
_curNode = _nodes[
_index
+ _attrCount + 1];
7806
NodeData newAttr = AddNode(
_index
+ _attrCount + 1, attrDepth);
7844
NodeData newAttr = AddNode(
_index
+ _attrCount + 1,
_index
+ 1);
7862
for (int i =
_index
+ 1; i <
_index
+ _attrCount + 1; i++)
7979
for (int i =
_index
+ 1; i <
_index
+ _attrCount + 1; i++)
8383
_nextParsingFunction = (
_index
> 0 || _fragmentType != XmlNodeType.Document) ? ParsingFunction.ElementContent
8710
_curNode = AddNode(
_index
+ _attrCount + 1,
_index
+ 2);
8956
for (int i =
_index
+ 1; i <
_index
+ _attrCount + 1; i++)
8973
for (int i =
_index
+ 1; i <
_index
+ _attrCount + 1; i++)
9334
for (int i =
_index
+ 1; i <
_index
+ 1 + _attrCount; i++)
9381
for (int i =
_index
+ 1; i <
_index
+ 1 + _attrCount; i++)
9426
Debug.Assert(_nodes[
_index
].type == XmlNodeType.Element);
9427
if (_nodes[
_index
].prefix.Length == 0)
9429
_nodes[
_index
].ns = _xmlContext.defaultNamespace;
9444
Debug.Assert(_nodes[
_index
].type == XmlNodeType.Element);
9445
for (int i =
_index
; i <
_index
+ _attrCount + 1; i++)