1 instantiation of ExtensionMethodImportCompletionCacheEntry
Microsoft.CodeAnalysis.Features (1)
Completion\Providers\ImportCompletionProvider\ExtensionMethodImportCompletionCacheEntry.cs (1)
42
return new
ExtensionMethodImportCompletionCacheEntry
(
12 references to ExtensionMethodImportCompletionCacheEntry
Microsoft.CodeAnalysis.Features (12)
Completion\Providers\ImportCompletionProvider\DefaultExtensionMethodImportCompletionCacheServiceFactory.cs (2)
16
[ExportWorkspaceServiceFactory(typeof(IImportCompletionCacheService<
ExtensionMethodImportCompletionCacheEntry
, object>), ServiceLayer.Default), Shared]
20
: AbstractImportCompletionCacheServiceFactory<
ExtensionMethodImportCompletionCacheEntry
, object>(listenerProvider, ExtensionMethodImportCompletionHelper.BatchUpdateCacheAsync, CancellationToken.None)
Completion\Providers\ImportCompletionProvider\ExtensionMethodImportCompletionCacheEntry.cs (1)
40
public
ExtensionMethodImportCompletionCacheEntry
ToCacheEntry()
Completion\Providers\ImportCompletionProvider\ExtensionMethodImportCompletionHelper.cs (4)
248
private static async Task<
ExtensionMethodImportCompletionCacheEntry
> GetUpToDateCacheEntryAsync(
250
IImportCompletionCacheService<
ExtensionMethodImportCompletionCacheEntry
, object> cacheService,
258
if (!cacheService.ProjectItemsCache.TryGetValue(project.Id, out
var
cacheEntry) ||
263
var builder = new
ExtensionMethodImportCompletionCacheEntry
.Builder(checksum, project.Language, syntaxFacts.StringComparer);
Completion\Providers\ImportCompletionProvider\ExtensionMethodImportCompletionHelper.SymbolComputer.cs (5)
35
private readonly IImportCompletionCacheService<
ExtensionMethodImportCompletionCacheEntry
, object> _cacheService;
60
private static IImportCompletionCacheService<
ExtensionMethodImportCompletionCacheEntry
, object> GetCacheService(Project project)
61
=> project.Solution.Services.GetRequiredService<IImportCompletionCacheService<
ExtensionMethodImportCompletionCacheEntry
, object>>();
159
ExtensionMethodImportCompletionCacheEntry
cacheEntry;
429
private MultiDictionary<string, (string methodName, string receiverTypeName)> CreateAggregatedFilter(
ExtensionMethodImportCompletionCacheEntry
syntaxIndex)