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. 42protected virtual string GetFixAllTitle(FixAllContext fixAllContext) 46/// Apply fix all operation for the code refactoring in the <see cref="FixAllContext.Document"/> 59protected abstract Task<Document?> FixAllAsync(FixAllContext fixAllContext, Document document, Optional<ImmutableArray<TextSpan>> fixAllSpans); 64public sealed override Task<CodeAction?> GetFixAsync(FixAllContext fixAllContext) 68private Task<Solution?> FixAllContextsHelperAsync(FixAllContext originalFixAllContext, ImmutableArray<FixAllContext> fixAllContexts) 82FixAllContext fixAllContext, Func<Document, Document?, ValueTask> onDocumentFixed)
CodeRefactorings\FixAllOccurences\FixAllContext.cs (1)
99internal FixAllContext With(
CodeRefactorings\FixAllOccurences\FixAllProvider.cs (6)
40public abstract Task<CodeAction?> GetFixAsync(FixAllContext fixAllContext); 44=> this.GetFixAsync((FixAllContext)fixAllContext); 58public static FixAllProvider Create(Func<FixAllContext, Document, Optional<ImmutableArray<TextSpan>>, Task<Document?>> fixAllAsync) 78Func<FixAllContext, Document, Optional<ImmutableArray<TextSpan>>, Task<Document?>> fixAllAsync, 94Func<FixAllContext, Document, Optional<ImmutableArray<TextSpan>>, Task<Document?>> fixAllAsync, 97protected override Task<Document?> FixAllAsync(FixAllContext context, Document document, Optional<ImmutableArray<TextSpan>> fixAllSpans)