3 writes to contentIndex
System.Xml (3)
System\Xml\Core\XsdCachingReader.cs (3)
75contentIndex = 0; 584contentIndex++; 597contentIndex++;
9 references to contentIndex
System.Xml (9)
System\Xml\Core\XsdCachingReader.cs (8)
389if (currentContentIndex >= contentIndex) { //When positioned on the last cached node, switch back as the underlying coreReader is still positioned on this node 421int endElementIndex = contentIndex - 2; 425contentEvents[contentIndex - 1] = endElementNode; 580Debug.Assert(contentIndex <= contentEvents.Length); 581ValidatingReaderNodeData contentInfo = contentEvents[contentIndex]; 587if (contentIndex >= contentEvents.Length -1 ) { //reached capacity of array, Need to increase capacity to twice the initial 592contentInfo = contentEvents[contentIndex]; 595contentEvents[contentIndex] = contentInfo;
System\Xml\Core\XsdCachingReaderAsync.cs (1)
73if (currentContentIndex >= contentIndex) { //When positioned on the last cached node, switch back as the underlying coreReader is still positioned on this node