2 writes to arr
System.Private.Xml (2)
System\Xml\XPath\Internal\XPathMultyIterator.cs (2)
22this.arr = new ResettableIterator[inputArray.Count]; 113this.arr = (ResettableIterator[])it.arr.Clone();
24 references to arr
System.Private.Xml (24)
System\Xml\XPath\Internal\XPathMultyIterator.cs (24)
23for (int i = 0; i < this.arr.Length; i++) 27this.arr[i] = new XPathArrayIterator(iterator); 34for (int i = 0; i < arr.Length; i++) 38for (int i = arr.Length - 2; firstNotEmpty <= i;) 50if (!arr[pos].MoveNext()) 54ResettableIterator empty = arr[pos]; 55Array.Copy(arr, firstNotEmpty, arr, firstNotEmpty + 1, pos - firstNotEmpty); 56arr[firstNotEmpty] = empty; 69Debug.Assert(firstNotEmpty <= item && item < arr.Length); 70ResettableIterator it = arr[item]; 71while (item + 1 < arr.Length) 73ResettableIterator itNext = arr[item + 1]; 82arr[item] = itNext; 88arr[item] = it; 93it = arr[item]; 96arr[item] = it; 104for (int i = 0; i < arr.Length; i++) 106arr[i].Reset(); 113this.arr = (ResettableIterator[])it.arr.Clone(); 128Debug.Assert(firstNotEmpty < arr.Length, "MoveNext() returned false"); 129return arr[firstNotEmpty].Current; 138if (firstNotEmpty >= arr.Length) 148if (firstNotEmpty >= arr.Length)