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