30 references to CodeFixCollection
Microsoft.CodeAnalysis.Features (30)
CodeFixes\Service\CodeFixService.cs (15)
98public async Task<CodeFixCollection?> GetMostSevereFixAsync( 148var collection = await errorFixTask.ConfigureAwait(false) ?? 154async Task<CodeFixCollection?> GetFirstFixAsync( 161await foreach (var collection in StreamFixesAsync( 173public async IAsyncEnumerable<CodeFixCollection> StreamFixesAsync( 222await foreach (var collection in StreamFixesAsync( 242await foreach (var codeFixCollection in StreamConfigurationFixesAsync( 287public Task<CodeFixCollection?> GetDocumentFixAllForIdInSpanAsync( 291public async Task<CodeFixCollection?> GetDocumentFixAllForIdInSpanAsync( 317using var resultDisposer = ArrayBuilder<CodeFixCollection>.GetInstance(out var result); 323await foreach (var collection in StreamFixesAsync( 351var fixCollection = await GetDocumentFixAllForIdInSpanAsync( 446private async IAsyncEnumerable<CodeFixCollection> StreamFixesAsync( 709private async IAsyncEnumerable<CodeFixCollection> StreamConfigurationFixesAsync( 744private async Task<CodeFixCollection?> TryGetFixesOrConfigurationsAsync<TCodeFixProvider>(
CodeFixes\Service\ICodeFixService.cs (6)
18IAsyncEnumerable<CodeFixCollection> StreamFixesAsync(TextDocument document, TextSpan textSpan, ICodeActionRequestPriorityProvider priorityProvider, CancellationToken cancellationToken); 25Task<CodeFixCollection?> GetMostSevereFixAsync(TextDocument document, TextSpan range, ICodeActionRequestPriorityProvider priorityProvider, CancellationToken cancellationToken); 27Task<CodeFixCollection?> GetDocumentFixAllForIdInSpanAsync(TextDocument document, TextSpan textSpan, string diagnosticId, DiagnosticSeverity severity, CancellationToken cancellationToken); 35public static IAsyncEnumerable<CodeFixCollection> StreamFixesAsync(this ICodeFixService service, TextDocument document, TextSpan range, CancellationToken cancellationToken) 38public static Task<ImmutableArray<CodeFixCollection>> GetFixesAsync(this ICodeFixService service, TextDocument document, TextSpan range, CancellationToken cancellationToken) 41public static Task<ImmutableArray<CodeFixCollection>> GetFixesAsync(this ICodeFixService service, TextDocument document, TextSpan textSpan, ICodeActionRequestPriorityProvider priorityProvider, CancellationToken cancellationToken)
Copilot\ICopilotChangeAnalysisService.cs (9)
260await ProducerConsumer<(CodeFixCollection collection, TimeSpan elapsedTime)>.RunParallelAsync( 279var intervalTree = new SimpleMutableIntervalTree<CodeFixCollection, CodeFixCollectionIntervalIntrospector>(new CodeFixCollectionIntervalIntrospector()); 295using var intersectingCollections = TemporaryArray<CodeFixCollection>.Empty; 327Task<ImmutableArray<CodeFixCollection>> ComputeCodeFixCollectionsAsync() 329return ProducerConsumer<CodeFixCollection>.RunParallelAsync( 334await foreach (var codeFixCollection in @this._codeFixService.StreamFixesAsync( 355static string GetProviderName(CodeFixCollection codeFixCollection) 359private readonly struct CodeFixCollectionIntervalIntrospector : IIntervalIntrospector<CodeFixCollection> 361public TextSpan GetSpan(CodeFixCollection value)