21 references to CodeFixCollection
Microsoft.CodeAnalysis.Features (21)
CodeFixes\Service\CodeFixService.cs (15)
101
public async Task<
CodeFixCollection
?> GetMostSevereFixAsync(
149
var
collection = await errorFixTask.ConfigureAwait(false) ??
155
async Task<
CodeFixCollection
?> GetFirstFixAsync(
162
await foreach (
var
collection in StreamFixesAsync(
174
public async IAsyncEnumerable<
CodeFixCollection
> StreamFixesAsync(
221
await foreach (
var
collection in StreamFixesAsync(
241
await foreach (
var
codeFixCollection in StreamConfigurationFixesAsync(
286
public Task<
CodeFixCollection
?> GetDocumentFixAllForIdInSpanAsync(
290
public async Task<
CodeFixCollection
?> GetDocumentFixAllForIdInSpanAsync(
314
using var resultDisposer = ArrayBuilder<
CodeFixCollection
>.GetInstance(out var result);
320
await foreach (
var
collection in StreamFixesAsync(
348
var
fixCollection = await GetDocumentFixAllForIdInSpanAsync(
443
private async IAsyncEnumerable<
CodeFixCollection
> StreamFixesAsync(
706
private async IAsyncEnumerable<
CodeFixCollection
> StreamConfigurationFixesAsync(
741
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)