2 writes to contentEvents
System.Xml (2)
System\Xml\Core\XsdCachingReader.cs (2)
68
contentEvents
= new ValidatingReaderNodeData[InitialContentCount];
590
contentEvents
= newContentEvents;
13 references to contentEvents
System.Xml (13)
System\Xml\Core\XsdCachingReader.cs (12)
397
cachedNode =
contentEvents
[currentContentIndex];
422
ValidatingReaderNodeData endElementNode =
contentEvents
[endElementIndex];
424
contentEvents
[endElementIndex] = textNode;
425
contentEvents
[contentIndex - 1] = endElementNode;
580
Debug.Assert(contentIndex <=
contentEvents
.Length);
581
ValidatingReaderNodeData contentInfo =
contentEvents
[contentIndex];
587
if (contentIndex >=
contentEvents
.Length -1 ) { //reached capacity of array, Need to increase capacity to twice the initial
588
ValidatingReaderNodeData[] newContentEvents = new ValidatingReaderNodeData[
contentEvents
.Length * 2];
589
Array.Copy(
contentEvents
, 0, newContentEvents, 0,
contentEvents
.Length);
592
contentInfo =
contentEvents
[contentIndex];
595
contentEvents
[contentIndex] = contentInfo;
System\Xml\Core\XsdCachingReaderAsync.cs (1)
81
cachedNode =
contentEvents
[currentContentIndex];