4 writes to _strongCache
Microsoft.Build (4)
Evaluation\ProjectRootElementCache.cs (4)
158
_strongCache
= new LinkedList<ProjectRootElement>();
440
_strongCache
= new LinkedList<ProjectRootElement>();
456
_strongCache
= new LinkedList<ProjectRootElement>();
479
_strongCache
= new LinkedList<ProjectRootElement>();
13 references to _strongCache
Microsoft.Build (13)
Evaluation\ProjectRootElementCache.cs (13)
438
DebugTraceCache("Clearing strong refs: ",
_strongCache
.Count);
478
LinkedList<ProjectRootElement> oldStrongCache =
_strongCache
;
497
_strongCache
.AddFirst(kvp.Value);
562
_strongCache
.Remove(existingWeakEntry);
584
LinkedListNode<ProjectRootElement> node =
_strongCache
.First;
591
_strongCache
.Remove(node);
592
_strongCache
.AddFirst(node);
600
_strongCache
.AddFirst(projectRootElement);
602
if (
_strongCache
.Count > s_maximumStrongCacheSize)
604
node =
_strongCache
.Last;
607
_strongCache
.Remove(node);
623
LinkedListNode<ProjectRootElement> strongCacheEntry =
_strongCache
.Find(projectRootElement);
626
_strongCache
.Remove(strongCacheEntry);