2 writes to sequencesToMerge
System.Data.SqlXml (2)
System\Xml\Xsl\Runtime\DodSequenceMerge.cs (2)
31
this.
sequencesToMerge
= null;
49
this.
sequencesToMerge
= new List<IEnumerator<XPathNavigator>>();
15 references to sequencesToMerge
System.Data.SqlXml (15)
System\Xml\Xsl\Runtime\DodSequenceMerge.cs (15)
48
if (this.
sequencesToMerge
== null) {
70
if (this.
sequencesToMerge
== null || this.
sequencesToMerge
.Count <= 1)
76
while (this.
sequencesToMerge
.Count != 1) {
78
IEnumerator<XPathNavigator> sequence = this.
sequencesToMerge
[this.
sequencesToMerge
.Count - 1];
79
this.
sequencesToMerge
.RemoveAt(this.
sequencesToMerge
.Count - 1);
89
Debug.Assert(this.
sequencesToMerge
.Count == 1, "While loop should terminate when count == 1");
91
newSequence.Add(this.
sequencesToMerge
[0].Current);
93
while (this.
sequencesToMerge
[0].MoveNext());
112
for (int i = this.
sequencesToMerge
.Count - 1; i >= 0; i--) {
113
int cmp = this.runtime.ComparePosition(sequence.Current, this.
sequencesToMerge
[i].Current);
117
this.
sequencesToMerge
.Insert(i + 1, sequence);
132
this.
sequencesToMerge
.Insert(0, sequence);