4 writes to _strongCache
Microsoft.Build (4)
Evaluation\ProjectRootElementCache.cs (4)
157
_strongCache
= new LinkedList<ProjectRootElement>();
439
_strongCache
= new LinkedList<ProjectRootElement>();
455
_strongCache
= new LinkedList<ProjectRootElement>();
478
_strongCache
= new LinkedList<ProjectRootElement>();
13 references to _strongCache
Microsoft.Build (13)
Evaluation\ProjectRootElementCache.cs (13)
437
DebugTraceCache("Clearing strong refs: ",
_strongCache
.Count);
477
LinkedList<ProjectRootElement> oldStrongCache =
_strongCache
;
496
_strongCache
.AddFirst(kvp.Value);
561
_strongCache
.Remove(existingWeakEntry);
583
LinkedListNode<ProjectRootElement> node =
_strongCache
.First;
590
_strongCache
.Remove(node);
591
_strongCache
.AddFirst(node);
599
_strongCache
.AddFirst(projectRootElement);
601
if (
_strongCache
.Count > s_maximumStrongCacheSize)
603
node =
_strongCache
.Last;
606
_strongCache
.Remove(node);
622
LinkedListNode<ProjectRootElement> strongCacheEntry =
_strongCache
.Find(projectRootElement);
625
_strongCache
.Remove(strongCacheEntry);