10 references to ExtensionInfo
Microsoft.CodeAnalysis.Features (10)
CodeRefactorings\CodeRefactoringService.cs (1)
82
static ProjectCodeRefactoringProvider.
ExtensionInfo
GetExtensionInfo(ExportCodeRefactoringProviderAttribute attribute)
Common\AbstractProjectExtensionProvider.cs (9)
27
private static readonly ConditionalWeakTable<TExtension,
ExtensionInfo
?> s_extensionInfoMap = new();
80
public static ImmutableArray<TExtension> GetExtensions(TextDocument document, Func<TExportAttribute,
ExtensionInfo
>? getExtensionInfoForFiltering)
88
public static ImmutableArray<TExtension> FilterExtensions(TextDocument document, ImmutableArray<TExtension> extensions, Func<TExportAttribute,
ExtensionInfo
> getExtensionInfoForFiltering)
92
static bool ShouldIncludeExtension(TExtension extension, (TextDocument, Func<TExportAttribute,
ExtensionInfo
>) args)
95
if (!s_extensionInfoMap.TryGetValue(extension, out
var
extensionInfo))
114
static
ExtensionInfo
? GetOrCreateExtensionInfo(TExtension extension, Func<TExportAttribute,
ExtensionInfo
> getExtensionInfoForFiltering)
117
new ConditionalWeakTable<TExtension,
ExtensionInfo
?>.CreateValueCallback(ComputeExtensionInfo));
119
ExtensionInfo
? ComputeExtensionInfo(TExtension extension)