1 write to State
Microsoft.CodeAnalysis.Workspaces (1)
CodeRefactorings\FixAllOccurences\RefactorAllContext.cs (1)
90
State
= state;
11 references to State
Microsoft.CodeAnalysis.Workspaces (11)
CodeRefactorings\FixAllOccurences\RefactorAllContext.cs (11)
26
internal RefactorAllProvider RefactorAllProvider =>
State
.FixAllProvider;
31
public Document Document =>
State
.Document!;
36
public CodeRefactoringProvider CodeRefactoringProvider =>
State
.Provider;
41
public RefactorAllScope Scope => (RefactorAllScope)
State
.Scope;
47
public string? CodeActionEquivalenceKey =>
State
.CodeActionEquivalenceKey;
59
public Project Project =>
State
.Project;
64
IRefactorOrFixAllState IRefactorOrFixAllContext.State => this.
State
;
76
var newState =
State
.With(documentAndProject, scope, codeActionEquivalenceKey);
79
return
State
== newState && CancellationToken == newCancellationToken
100
=>
State
.GetRefactorAllSpansAsync(cancellationToken);
103
=> FixAllHelper.GetDefaultFixAllTitle(this.Scope.ToFixAllScope(), this.
State
.CodeActionTitle, this.Document, this.Project);