2 writes to arr
System.Xml (2)
System\Xml\XPath\Internal\XPathMultyIterator.cs (2)
23
this.
arr
= new ResetableIterator[inputArray.Count];
125
this.
arr
= (ResetableIterator[]) it.arr.Clone();
25 references to arr
System.Xml (25)
System\Xml\XPath\Internal\XPathMultyIterator.cs (25)
24
for (int i = 0; i < this.
arr
.Length; i ++) {
25
this.
arr
[i] = new XPathArrayIterator((ArrayList) inputArray[i]);
31
for (int i = 0; i <
arr
.Length; i ++) {
34
for (int i =
arr
.Length - 2; firstNotEmpty <= i; ) {
43
if (!
arr
[pos].MoveNext()) {
45
ResetableIterator empty =
arr
[pos];
46
Array.Copy(
arr
, firstNotEmpty,
arr
, firstNotEmpty + 1, pos - firstNotEmpty);
47
arr
[firstNotEmpty] = empty;
92
Debug.Assert(firstNotEmpty <= item && item <
arr
.Length);
93
ResetableIterator it =
arr
[item];
94
while (item + 1 <
arr
.Length) {
95
XmlNodeOrder order = Query.CompareNodes(it.Current,
arr
[item + 1].Current);
100
arr
[item] =
arr
[item + 1];
104
arr
[item] = it;
108
it =
arr
[item];
111
arr
[item] = it;
118
for (int i = 0; i <
arr
.Length; i ++) {
119
arr
[i].Reset();
125
this.arr = (ResetableIterator[]) it.
arr
.Clone();
137
Debug.Assert(firstNotEmpty <
arr
.Length, "MoveNext() returned false");
138
return
arr
[firstNotEmpty].Current;
146
if (firstNotEmpty >=
arr
.Length) {
153
if (firstNotEmpty >=
arr
.Length) {