1 instantiation of CodeFixCollection
Microsoft.CodeAnalysis.Features (1)
CodeFixes\Service\CodeFixService.cs (1)
813return new CodeFixCollection(
31 references to CodeFixCollection
Microsoft.CodeAnalysis.Features (31)
CodeFixes\Service\CodeFixService.cs (15)
94public async Task<CodeFixCollection?> GetMostSevereFixAsync( 141var collection = await errorFixTask.ConfigureAwait(false) ?? 147async Task<CodeFixCollection?> GetFirstFixAsync( 154await foreach (var collection in StreamFixesAsync( 166public async IAsyncEnumerable<CodeFixCollection> StreamFixesAsync( 212await foreach (var collection in StreamFixesAsync( 232await foreach (var codeFixCollection in StreamConfigurationFixesAsync( 265public async Task<CodeFixCollection?> GetDocumentFixAllForIdInSpanAsync( 302await foreach (var collection in StreamFixesAsync( 326var fixCollection = await GetDocumentFixAllForIdInSpanAsync( 416private async IAsyncEnumerable<CodeFixCollection> StreamFixesAsync( 520var codeFixCollection = await TryGetFixesOrConfigurationsAsync( 717private async IAsyncEnumerable<CodeFixCollection> StreamConfigurationFixesAsync( 737var codeFixCollection = await TryGetFixesOrConfigurationsAsync( 752private 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)