10 references to IImportCompletionCacheService
Microsoft.CodeAnalysis.Features (10)
Completion\Providers\ImportCompletionProvider\AbstractImportCompletionCacheServiceFactory.cs (1)
69
AsyncBatchingWorkQueue<Project> workQueue) :
IImportCompletionCacheService
<TProjectCacheEntry, TMetadataCacheEntry>
Completion\Providers\ImportCompletionProvider\AbstractTypeImportCompletionService.cs (2)
26
private
IImportCompletionCacheService
<TypeImportCompletionCacheEntry, TypeImportCompletionCacheEntry> CacheService { get; }
36
CacheService = services.GetRequiredService<
IImportCompletionCacheService
<TypeImportCompletionCacheEntry, TypeImportCompletionCacheEntry>>();
Completion\Providers\ImportCompletionProvider\DefaultExtensionMethodImportCompletionCacheServiceFactory.cs (1)
16
[ExportWorkspaceServiceFactory(typeof(
IImportCompletionCacheService
<ExtensionMethodImportCompletionCacheEntry, object>), ServiceLayer.Default), Shared]
Completion\Providers\ImportCompletionProvider\DefaultTypeImportCompletionCacheServiceFactory.cs (1)
13
[ExportWorkspaceServiceFactory(typeof(
IImportCompletionCacheService
<TypeImportCompletionCacheEntry, TypeImportCompletionCacheEntry>), ServiceLayer.Default), Shared]
Completion\Providers\ImportCompletionProvider\ExtensionMethodImportCompletionHelper.cs (1)
250
IImportCompletionCacheService
<ExtensionMethodImportCompletionCacheEntry, object> cacheService,
Completion\Providers\ImportCompletionProvider\ExtensionMethodImportCompletionHelper.SymbolComputer.cs (4)
35
private readonly
IImportCompletionCacheService
<ExtensionMethodImportCompletionCacheEntry, object> _cacheService;
60
private static
IImportCompletionCacheService
<ExtensionMethodImportCompletionCacheEntry, object> GetCacheService(Project project)
61
=> project.Solution.Services.GetRequiredService<
IImportCompletionCacheService
<ExtensionMethodImportCompletionCacheEntry, object>>();
77
var
cacheService = GetCacheService(project);