4 writes to _strongCache
Microsoft.Build (4)
Evaluation\ProjectRootElementCache.cs (4)
159_strongCache = new LinkedList<ProjectRootElement>(); 442_strongCache = new LinkedList<ProjectRootElement>(); 466_strongCache = new LinkedList<ProjectRootElement>(); 523_strongCache = new LinkedList<ProjectRootElement>();
18 references to _strongCache
Microsoft.Build (18)
Evaluation\ProjectRootElementCache.cs (18)
439DebugTraceCache("Clearing strong refs: ", _strongCache.Count); 441LinkedList<ProjectRootElement> oldStrongCache = _strongCache; 464LinkedList<ProjectRootElement> oldStrongCache = _strongCache; 476for (var listNode = _strongCache.First; listNode != null;) 486_strongCache.Remove(listNode); 494IList<string> toBeRemovedFromWeakRefs = _weakCache.Keys.Except(_strongCache.Select(i => i.FullPath)).ToList(); 522LinkedList<ProjectRootElement> oldStrongCache = _strongCache; 541_strongCache.AddFirst(kvp.Value); 610_strongCache.Remove(existingWeakEntry); 633LinkedListNode<ProjectRootElement> node = _strongCache.First; 640_strongCache.Remove(node); 641_strongCache.AddFirst(node); 649_strongCache.AddFirst(projectRootElement); 651if (_strongCache.Count > s_maximumStrongCacheSize) 653node = _strongCache.Last; 656_strongCache.Remove(node); 673LinkedListNode<ProjectRootElement> strongCacheEntry = _strongCache.Find(projectRootElement); 676_strongCache.Remove(strongCacheEntry);