14 references to _cacheNodes
Microsoft.CodeAnalysis.Remote.ServiceHub (14)
Host\RemoteSolutionCache.cs (14)
71
for (var current =
_cacheNodes
.First; current != null; current = current.Next, index++)
79
_cacheNodes
.Remove(current);
80
_cacheNodes
.AddFirst(current);
88
_cacheNodes
.AddFirst(new CacheNode(checksum));
93
Contract.ThrowIfTrue(
_cacheNodes
.Count > _totalHistory);
97
Contract.ThrowIfTrue(
_cacheNodes
.Count > _totalHistory + 1);
98
Contract.ThrowIfNull(
_cacheNodes
.First);
99
Contract.ThrowIfFalse(
_cacheNodes
.First.Value.Checksum.Equals(checksum));
102
_cacheNodes
.First.Value.Solution = solution;
105
if (
_cacheNodes
.Count == _totalHistory + 1)
106
_cacheNodes
.RemoveLast();
110
for (var current =
_cacheNodes
.First; current != null; current = current.Next, index++)
125
for (var current =
_cacheNodes
.First; current != null; current = current.Next, index++)
164
foreach (var node in
_cacheNodes
)