4 writes to _strongCache
Microsoft.Build (4)
Evaluation\ProjectRootElementCache.cs (4)
155
_strongCache
= new LinkedList<ProjectRootElement>();
431
_strongCache
= new LinkedList<ProjectRootElement>();
447
_strongCache
= new LinkedList<ProjectRootElement>();
470
_strongCache
= new LinkedList<ProjectRootElement>();
13 references to _strongCache
Microsoft.Build (13)
Evaluation\ProjectRootElementCache.cs (13)
429
DebugTraceCache("Clearing strong refs: ",
_strongCache
.Count);
469
LinkedList<ProjectRootElement> oldStrongCache =
_strongCache
;
488
_strongCache
.AddFirst(kvp.Value);
553
_strongCache
.Remove(existingWeakEntry);
575
LinkedListNode<ProjectRootElement> node =
_strongCache
.First;
582
_strongCache
.Remove(node);
583
_strongCache
.AddFirst(node);
591
_strongCache
.AddFirst(projectRootElement);
593
if (
_strongCache
.Count > s_maximumStrongCacheSize)
595
node =
_strongCache
.Last;
598
_strongCache
.Remove(node);
614
LinkedListNode<ProjectRootElement> strongCacheEntry =
_strongCache
.Find(projectRootElement);
617
_strongCache
.Remove(strongCacheEntry);