1 instantiation of FixAllContext
Microsoft.CodeAnalysis.Workspaces (1)
CodeRefactorings\FixAllOccurences\FixAllContext.cs (1)
110
: new
FixAllContext
(newState, this.Progress, newCancellationToken);
16 references to FixAllContext
Microsoft.CodeAnalysis.Workspaces (16)
CodeRefactorings\FixAllOccurences\DocumentBasedFixAllProvider.cs (9)
25
/// <see cref="FixAllAsync(
FixAllContext
, Document, Optional{ImmutableArray{TextSpan}})"/> is invoked for each document for implementors to process.
40
/// cref="GetFixAsync(
FixAllContext
)"/>. Override this if customizing that title is desired.
42
protected virtual string GetFixAllTitle(
FixAllContext
fixAllContext)
46
/// Apply fix all operation for the code refactoring in the <see cref="
FixAllContext
.Document"/>
59
protected abstract Task<Document?> FixAllAsync(
FixAllContext
fixAllContext, Document document, Optional<ImmutableArray<TextSpan>> fixAllSpans);
64
public sealed override Task<CodeAction?> GetFixAsync(
FixAllContext
fixAllContext)
68
private Task<Solution?> FixAllContextsHelperAsync(
FixAllContext
originalFixAllContext, ImmutableArray<
FixAllContext
> fixAllContexts)
82
FixAllContext
fixAllContext, Func<Document, Document?, ValueTask> onDocumentFixed)
CodeRefactorings\FixAllOccurences\FixAllContext.cs (1)
99
internal
FixAllContext
With(
CodeRefactorings\FixAllOccurences\FixAllProvider.cs (6)
40
public abstract Task<CodeAction?> GetFixAsync(
FixAllContext
fixAllContext);
44
=> this.GetFixAsync((
FixAllContext
)fixAllContext);
58
public static FixAllProvider Create(Func<
FixAllContext
, Document, Optional<ImmutableArray<TextSpan>>, Task<Document?>> fixAllAsync)
78
Func<
FixAllContext
, Document, Optional<ImmutableArray<TextSpan>>, Task<Document?>> fixAllAsync,
94
Func<
FixAllContext
, Document, Optional<ImmutableArray<TextSpan>>, Task<Document?>> fixAllAsync,
97
protected override Task<Document?> FixAllAsync(
FixAllContext
context, Document document, Optional<ImmutableArray<TextSpan>> fixAllSpans)