1 implementation of ITextBufferSupportsFeatureService
Microsoft.CodeAnalysis.EditorFeatures (1)
Shared\DefaultTextBufferSupportsFeatureService.cs (1)
13internal sealed class DefaultTextBufferSupportsFeatureService : ITextBufferSupportsFeatureService
9 references to ITextBufferSupportsFeatureService
Microsoft.CodeAnalysis.EditorFeatures (9)
SemanticSearch\SemanticSeatchTextBufferSupportsFeatureService.cs (2)
13[ExportWorkspaceService(typeof(ITextBufferSupportsFeatureService), WorkspaceKind.SemanticSearch), Shared] 16internal class SemanticSeatchTextBufferSupportsFeatureService() : ITextBufferSupportsFeatureService
Shared\DefaultTextBufferSupportsFeatureService.cs (1)
12[ExportWorkspaceService(typeof(ITextBufferSupportsFeatureService), ServiceLayer.Editor), Shared]
Shared\Extensions\ITextBufferExtensions.cs (6)
34=> TryGetSupportsFeatureService(buffer, out var service) && service.SupportsRefactorings(buffer); 40=> TryGetSupportsFeatureService(buffer, out var service) && service.SupportsRename(buffer); 46=> TryGetSupportsFeatureService(buffer, out var service) && service.SupportsCodeFixes(buffer); 52=> TryGetSupportsFeatureService(buffer, out var service) && service.SupportsNavigationToAnyPosition(buffer); 54private static bool TryGetSupportsFeatureService(ITextBuffer buffer, [NotNullWhen(true)] out ITextBufferSupportsFeatureService? service) 59service = workspace.Services.GetService<ITextBufferSupportsFeatureService>();