15 references to GetCachedEntry
Microsoft.CodeAnalysis.ExternalAccess.Xaml (1)
External\ResolveDataConversions.cs (1)
48
var data = resolveDataCache.
GetCachedEntry
(resolveData.DataId);
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\Completion\Extensions.cs (1)
62
cacheEntry = completionListCache.
GetCachedEntry
(resolveData.ResultId);
Handler\InlayHint\InlayHintResolveHandler.cs (1)
77
var cacheEntry = inlayHintCache.
GetCachedEntry
(resolveData.ResultId);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (12)
Completion\CompletionTests.cs (10)
675
var completionList = cache.
GetCachedEntry
(0).CompletionList;
681
completionList = cache.
GetCachedEntry
(0).CompletionList;
683
completionList = cache.
GetCachedEntry
(1).CompletionList;
689
completionList = cache.
GetCachedEntry
(0).CompletionList;
691
completionList = cache.
GetCachedEntry
(1).CompletionList;
693
completionList = cache.
GetCachedEntry
(2).CompletionList;
699
var cacheEntry = cache.
GetCachedEntry
(0);
701
completionList = cache.
GetCachedEntry
(1).CompletionList;
703
completionList = cache.
GetCachedEntry
(2).CompletionList;
705
completionList = cache.
GetCachedEntry
(3).CompletionList;
InlayHint\CSharpInlayHintTests.cs (2)
132
Assert.NotNull(cache.
GetCachedEntry
(firstResultId));
142
Assert.Null(cache.
GetCachedEntry
(firstResultId));