1 instantiation of ExtensionMemberImportCompletionCacheEntry
Microsoft.CodeAnalysis.Features (1)
Completion\Providers\ImportCompletionProvider\ExtensionMethodImportCompletionCacheEntry.cs (1)
41
=>
new
(_checksum, _language, _mapBuilder);
13 references to ExtensionMemberImportCompletionCacheEntry
Microsoft.CodeAnalysis.EditorFeatures (2)
IntelliSense\ImportCompletionCacheService\EditorExtensionMethodImportCompletionCacheServiceFactory.cs (2)
16
[ExportWorkspaceServiceFactory(typeof(IImportCompletionCacheService<
ExtensionMemberImportCompletionCacheEntry
, object>), ServiceLayer.Editor), Shared]
22
: AbstractImportCompletionCacheServiceFactory<
ExtensionMemberImportCompletionCacheEntry
, object>(
Microsoft.CodeAnalysis.Features (11)
Completion\Providers\ImportCompletionProvider\DefaultExtensionMethodImportCompletionCacheServiceFactory.cs (2)
16
[ExportWorkspaceServiceFactory(typeof(IImportCompletionCacheService<
ExtensionMemberImportCompletionCacheEntry
, object>), ServiceLayer.Default), Shared]
21
: AbstractImportCompletionCacheServiceFactory<
ExtensionMemberImportCompletionCacheEntry
, object>(
Completion\Providers\ImportCompletionProvider\ExtensionMemberImportCompletionHelper.cs (4)
32
private static readonly ConcurrentDictionary<ProjectId,
ExtensionMemberImportCompletionCacheEntry
> s_projectItemsCache = new();
233
private static async Task<
ExtensionMemberImportCompletionCacheEntry
> GetUpToDateCacheEntryAsync(
244
if (!s_projectItemsCache.TryGetValue(projectId, out
var
cacheEntry) ||
249
var builder = new
ExtensionMemberImportCompletionCacheEntry
.Builder(checksum, project.Language, syntaxFacts.StringComparer);
Completion\Providers\ImportCompletionProvider\ExtensionMemberImportCompletionHelper.SymbolComputer.cs (4)
62
private static IImportCompletionCacheService<
ExtensionMemberImportCompletionCacheEntry
, object> GetCacheService(Project project)
63
=> project.Solution.Services.GetRequiredService<IImportCompletionCacheService<
ExtensionMemberImportCompletionCacheEntry
, object>>();
176
ExtensionMemberImportCompletionCacheEntry
? cacheEntry;
539
private MultiDictionary<string, (string memberName, string receiverTypeName)> CreateAggregatedFilter(
ExtensionMemberImportCompletionCacheEntry
syntaxIndex)
Completion\Providers\ImportCompletionProvider\ExtensionMethodImportCompletionCacheEntry.cs (1)
40
public
ExtensionMemberImportCompletionCacheEntry
ToCacheEntry()