1 instantiation of FixAllContext
Microsoft.CodeAnalysis.Workspaces (1)
CodeRefactorings\FixAllOccurences\FixAllContext.cs (1)
108: new FixAllContext(newState, this.Progress, newCancellationToken);
17 references to FixAllContext
Microsoft.CodeAnalysis.Workspaces (17)
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)
97internal FixAllContext With(
CodeRefactorings\FixAllOccurences\FixAllProvider.cs (7)
35public abstract Task<CodeAction?> GetFixAsync(FixAllContext fixAllContext); 39=> this.GetFixAsync((FixAllContext)fixAllContext); 53public static FixAllProvider Create(Func<FixAllContext, Document, Optional<ImmutableArray<TextSpan>>, Task<Document?>> fixAllAsync) 73Func<FixAllContext, Document, Optional<ImmutableArray<TextSpan>>, Task<Document?>> fixAllAsync, 80Func<FixAllContext, Document, Optional<ImmutableArray<TextSpan>>, Task<Document?>> fixAllAsync, 97Func<FixAllContext, Document, Optional<ImmutableArray<TextSpan>>, Task<Document?>> fixAllAsync, 103protected override Task<Document?> FixAllAsync(FixAllContext context, Document document, Optional<ImmutableArray<TextSpan>> fixAllSpans)