10 references to _cachedData
Microsoft.CodeAnalysis.Remote.ServiceHub (10)
Services\SemanticClassification\RemoteSemanticClassificationService.Caching.cs (8)
217
lock (
_cachedData
)
219
var data =
_cachedData
.FirstOrNull(d => d.id == documentKey.Id && d.checksum == checksum);
237
lock (
_cachedData
)
240
for (var currentNode =
_cachedData
.First; currentNode != null; currentNode = currentNode.Next)
244
_cachedData
.Remove(currentNode);
250
_cachedData
.AddLast((documentKey.Id, type, checksum, classifiedSpans));
253
if (
_cachedData
.Count > MaxCachedDocumentCount)
254
_cachedData
.RemoveFirst();
Services\SemanticClassification\RemoteSemanticClassificationService.cs (2)
51
lock (
_cachedData
)
52
_cachedData
.Clear();