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