2 writes to contentEvents
System.Xml (2)
System\Xml\Core\XsdCachingReader.cs (2)
68contentEvents = new ValidatingReaderNodeData[InitialContentCount]; 590contentEvents = newContentEvents;
13 references to contentEvents
System.Xml (13)
System\Xml\Core\XsdCachingReader.cs (12)
397cachedNode = contentEvents[currentContentIndex]; 422ValidatingReaderNodeData endElementNode = contentEvents[endElementIndex]; 424contentEvents[endElementIndex] = textNode; 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 588ValidatingReaderNodeData[] newContentEvents = new ValidatingReaderNodeData[contentEvents.Length * 2]; 589Array.Copy(contentEvents, 0, newContentEvents, 0, contentEvents.Length); 592contentInfo = contentEvents[contentIndex]; 595contentEvents[contentIndex] = contentInfo;
System\Xml\Core\XsdCachingReaderAsync.cs (1)
81cachedNode = contentEvents[currentContentIndex];