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)
77var cacheEntry = inlayHintCache.GetCachedEntry(resolveData.ResultId);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (12)
Completion\CompletionTests.cs (10)
675var completionList = cache.GetCachedEntry(0).CompletionList; 681completionList = cache.GetCachedEntry(0).CompletionList; 683completionList = cache.GetCachedEntry(1).CompletionList; 689completionList = cache.GetCachedEntry(0).CompletionList; 691completionList = cache.GetCachedEntry(1).CompletionList; 693completionList = cache.GetCachedEntry(2).CompletionList; 699var cacheEntry = cache.GetCachedEntry(0); 701completionList = cache.GetCachedEntry(1).CompletionList; 703completionList = cache.GetCachedEntry(2).CompletionList; 705completionList = cache.GetCachedEntry(3).CompletionList;
InlayHint\CSharpInlayHintTests.cs (2)
132Assert.NotNull(cache.GetCachedEntry(firstResultId)); 142Assert.Null(cache.GetCachedEntry(firstResultId));