4 writes to _strongCache
Microsoft.Build (4)
Evaluation\ProjectRootElementCache.cs (4)
159
_strongCache
= new LinkedList<ProjectRootElement>();
441
_strongCache
= new LinkedList<ProjectRootElement>();
457
_strongCache
= new LinkedList<ProjectRootElement>();
480
_strongCache
= new LinkedList<ProjectRootElement>();
13 references to _strongCache
Microsoft.Build (13)
Evaluation\ProjectRootElementCache.cs (13)
439
DebugTraceCache("Clearing strong refs: ",
_strongCache
.Count);
479
LinkedList<ProjectRootElement> oldStrongCache =
_strongCache
;
498
_strongCache
.AddFirst(kvp.Value);
563
_strongCache
.Remove(existingWeakEntry);
585
LinkedListNode<ProjectRootElement> node =
_strongCache
.First;
592
_strongCache
.Remove(node);
593
_strongCache
.AddFirst(node);
601
_strongCache
.AddFirst(projectRootElement);
603
if (
_strongCache
.Count > s_maximumStrongCacheSize)
605
node =
_strongCache
.Last;
608
_strongCache
.Remove(node);
624
LinkedListNode<ProjectRootElement> strongCacheEntry =
_strongCache
.Find(projectRootElement);
627
_strongCache
.Remove(strongCacheEntry);