1 instantiation of CodeFixCollection
Microsoft.CodeAnalysis.Features (1)
CodeFixes\Service\CodeFixService.cs (1)
832return new CodeFixCollection(
31 references to CodeFixCollection
Microsoft.CodeAnalysis.Features (31)
CodeFixes\Service\CodeFixService.cs (15)
95public async Task<CodeFixCollection?> GetMostSevereFixAsync( 145var collection = await errorFixTask.ConfigureAwait(false) ?? 151async Task<CodeFixCollection?> GetFirstFixAsync( 158await foreach (var collection in StreamFixesAsync( 170public async IAsyncEnumerable<CodeFixCollection> StreamFixesAsync( 219await foreach (var collection in StreamFixesAsync( 239await foreach (var codeFixCollection in StreamConfigurationFixesAsync( 284public async Task<CodeFixCollection?> GetDocumentFixAllForIdInSpanAsync( 321await foreach (var collection in StreamFixesAsync( 345var fixCollection = await GetDocumentFixAllForIdInSpanAsync( 435private async IAsyncEnumerable<CodeFixCollection> StreamFixesAsync( 539var codeFixCollection = await TryGetFixesOrConfigurationsAsync( 736private async IAsyncEnumerable<CodeFixCollection> StreamConfigurationFixesAsync( 756var codeFixCollection = await TryGetFixesOrConfigurationsAsync( 771private async Task<CodeFixCollection?> TryGetFixesOrConfigurationsAsync<TCodeFixProvider>(
CodeFixes\Service\ICodeFixService.cs (6)
17IAsyncEnumerable<CodeFixCollection> StreamFixesAsync(TextDocument document, TextSpan textSpan, CodeActionRequestPriority? priority, CancellationToken cancellationToken); 24Task<CodeFixCollection?> GetMostSevereFixAsync(TextDocument document, TextSpan range, CodeActionRequestPriority? priority, CancellationToken cancellationToken); 26Task<CodeFixCollection?> GetDocumentFixAllForIdInSpanAsync(Document document, TextSpan? textSpan, string diagnosticId, DiagnosticSeverity severity, CancellationToken cancellationToken); 34public static IAsyncEnumerable<CodeFixCollection> StreamFixesAsync(this ICodeFixService service, TextDocument document, TextSpan range, CancellationToken cancellationToken) 37public static Task<ImmutableArray<CodeFixCollection>> GetFixesAsync(this ICodeFixService service, TextDocument document, TextSpan range, CancellationToken cancellationToken) 40public static Task<ImmutableArray<CodeFixCollection>> GetFixesAsync(this ICodeFixService service, TextDocument document, TextSpan textSpan, CodeActionRequestPriority? priority, CancellationToken cancellationToken)
Copilot\ICopilotChangeAnalysisService.cs (10)
252await ProducerConsumer<(CodeFixCollection collection, bool success, TimeSpan elapsedTime)>.RunParallelAsync( 283var intervalTree = new SimpleMutableIntervalTree<CodeFixCollection, CodeFixCollectionIntervalIntrospector>(new CodeFixCollectionIntervalIntrospector()); 303using var intersectingCollections = TemporaryArray<CodeFixCollection>.Empty; 304foreach (var codeFixCollection in intervalTree) 338Task<ImmutableArray<CodeFixCollection>> ComputeCodeFixCollectionsAsync() 340return ProducerConsumer<CodeFixCollection>.RunParallelAsync( 345await foreach (var codeFixCollection in @this._codeFixService.StreamFixesAsync( 366static string GetProviderName(CodeFixCollection codeFixCollection) 370private readonly struct CodeFixCollectionIntervalIntrospector : IIntervalIntrospector<CodeFixCollection> 372public TextSpan GetSpan(CodeFixCollection value)