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)
25public int OldestRequiredSequenceNumber => _activePaths.Count == 0 ? _expectedSequenceNumber : _activePaths[0].StartSequenceNumber; 37for (int i = 0; i < _activePaths.Count; ++i) 39if (_activePaths[i].StartSequenceNumber < sequenceNumber) 41_activePaths.RemoveAt(i--); 60for (int i = 0; i < _activePaths.Count; ++i) 62if (_activePaths[i].StartSequenceNumber < sequenceNumber) 64_activePaths.RemoveAt(i--); 90for (int i = 0; i < _activePaths.Count; ++i) 92TriePath<T> path = _activePaths[i]; 112_activePaths.RemoveAt(i--); 136_activePaths.Add(path); 155if (_activePaths.Count > 0) 163for (int i = 0; i < _activePaths.Count; ++i) 165TriePath<T> path = _activePaths[i]; 205_activePaths.RemoveAt(i--); 216if (bestPath > -1 && bestPath < _activePaths.Count && _activePaths[bestPath].EncounteredTerminals.Contains(best)) 218_activePaths[bestPath].EncounteredTerminals.Remove(best); 220if (_activePaths[bestPath].EncounteredTerminals.Count == 0) 222_activePaths.RemoveAt(bestPath);