1 write to _activePaths
Microsoft.TemplateEngine.Core (1)
Matching\TrieEvaluator.cs (1)
19
_activePaths
= new List<TriePath<T>>();
21 references to _activePaths
Microsoft.TemplateEngine.Core (21)
Matching\TrieEvaluator.cs (21)
25
public int OldestRequiredSequenceNumber =>
_activePaths
.Count == 0 ? _expectedSequenceNumber :
_activePaths
[0].StartSequenceNumber;
37
for (int i = 0; i <
_activePaths
.Count; ++i)
39
if (
_activePaths
[i].StartSequenceNumber < sequenceNumber)
41
_activePaths
.RemoveAt(i--);
60
for (int i = 0; i <
_activePaths
.Count; ++i)
62
if (
_activePaths
[i].StartSequenceNumber < sequenceNumber)
64
_activePaths
.RemoveAt(i--);
90
for (int i = 0; i <
_activePaths
.Count; ++i)
92
TriePath<T> path =
_activePaths
[i];
112
_activePaths
.RemoveAt(i--);
136
_activePaths
.Add(path);
155
if (
_activePaths
.Count > 0)
163
for (int i = 0; i <
_activePaths
.Count; ++i)
165
TriePath<T> path =
_activePaths
[i];
205
_activePaths
.RemoveAt(i--);
216
if (bestPath > -1 && bestPath <
_activePaths
.Count &&
_activePaths
[bestPath].EncounteredTerminals.Contains(best))
218
_activePaths
[bestPath].EncounteredTerminals.Remove(best);
220
if (
_activePaths
[bestPath].EncounteredTerminals.Count == 0)
222
_activePaths
.RemoveAt(bestPath);