15 references to GetCachedEntry
Microsoft.CodeAnalysis.ExternalAccess.Xaml (1)
External\ResolveDataConversions.cs (1)
48var data = resolveDataCache.GetCachedEntry(resolveData.DataId);
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\Completion\Extensions.cs (1)
62cacheEntry = completionListCache.GetCachedEntry(resolveData.ResultId);
Handler\InlayHint\InlayHintResolveHandler.cs (1)
78var cacheEntry = inlayHintCache.GetCachedEntry(resolveData.ResultId);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (12)
Completion\CompletionTests.cs (10)
676var completionList = cache.GetCachedEntry(0).CompletionList; 682completionList = cache.GetCachedEntry(0).CompletionList; 684completionList = cache.GetCachedEntry(1).CompletionList; 690completionList = cache.GetCachedEntry(0).CompletionList; 692completionList = cache.GetCachedEntry(1).CompletionList; 694completionList = cache.GetCachedEntry(2).CompletionList; 700var cacheEntry = cache.GetCachedEntry(0); 702completionList = cache.GetCachedEntry(1).CompletionList; 704completionList = cache.GetCachedEntry(2).CompletionList; 706completionList = cache.GetCachedEntry(3).CompletionList;
InlayHint\CSharpInlayHintTests.cs (2)
132Assert.NotNull(cache.GetCachedEntry(firstResultId)); 142Assert.Null(cache.GetCachedEntry(firstResultId));