1 instantiation of CacheItem
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\PullHandlers\VersionedPullCache.cs (1)
84static (_, uniqueKey) => new CacheItem(uniqueKey),
7 references to CacheItem
Microsoft.CodeAnalysis.LanguageServer.Protocol (7)
Handler\PullHandlers\VersionedPullCache.cs (7)
26/// The <see cref="CacheItem"/> itself however will internally guarantee that the state for a specific workspace+project/doc will only 29private readonly ConcurrentDictionary<(Workspace workspace, ProjectOrDocumentId id), CacheItem> _idToLastReportedResult = []; 35/// Called by <see cref="CacheItem"/> with Interlocked access to ensure that all cache items generate unique resultIds. 42/// Note - this will run under the semaphore in <see cref="CacheItem._gate"/>. 50/// Note - this will run under the semaphore in <see cref="CacheItem._gate"/>. 58/// Note - this will run under the semaphore in <see cref="CacheItem._gate"/>. 82var cacheEntry = _idToLastReportedResult.GetOrAdd(