4 writes to _strongCache
Microsoft.Build (4)
Evaluation\ProjectRootElementCache.cs (4)
157
_strongCache
= new LinkedList<ProjectRootElement>();
437
_strongCache
= new LinkedList<ProjectRootElement>();
453
_strongCache
= new LinkedList<ProjectRootElement>();
476
_strongCache
= new LinkedList<ProjectRootElement>();
13 references to _strongCache
Microsoft.Build (13)
Evaluation\ProjectRootElementCache.cs (13)
435
DebugTraceCache("Clearing strong refs: ",
_strongCache
.Count);
475
LinkedList<ProjectRootElement> oldStrongCache =
_strongCache
;
494
_strongCache
.AddFirst(kvp.Value);
559
_strongCache
.Remove(existingWeakEntry);
581
LinkedListNode<ProjectRootElement> node =
_strongCache
.First;
588
_strongCache
.Remove(node);
589
_strongCache
.AddFirst(node);
597
_strongCache
.AddFirst(projectRootElement);
599
if (
_strongCache
.Count > s_maximumStrongCacheSize)
601
node =
_strongCache
.Last;
604
_strongCache
.Remove(node);
620
LinkedListNode<ProjectRootElement> strongCacheEntry =
_strongCache
.Find(projectRootElement);
623
_strongCache
.Remove(strongCacheEntry);