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)
78
var cacheEntry = inlayHintCache.
GetCachedEntry
(resolveData.ResultId);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (12)
Completion\CompletionTests.cs (10)
735
var completionList = cache.
GetCachedEntry
(0).CompletionList;
741
completionList = cache.
GetCachedEntry
(0).CompletionList;
743
completionList = cache.
GetCachedEntry
(1).CompletionList;
749
completionList = cache.
GetCachedEntry
(0).CompletionList;
751
completionList = cache.
GetCachedEntry
(1).CompletionList;
753
completionList = cache.
GetCachedEntry
(2).CompletionList;
759
var cacheEntry = cache.
GetCachedEntry
(0);
761
completionList = cache.
GetCachedEntry
(1).CompletionList;
763
completionList = cache.
GetCachedEntry
(2).CompletionList;
765
completionList = cache.
GetCachedEntry
(3).CompletionList;
InlayHint\CSharpInlayHintTests.cs (2)
132
Assert.NotNull(cache.
GetCachedEntry
(firstResultId));
142
Assert.Null(cache.
GetCachedEntry
(firstResultId));