1 write to State
Microsoft.CodeAnalysis.Workspaces (1)
CodeFixes\FixAllOccurrences\FixAllContext.cs (1)
217State = state;
20 references to State
Microsoft.CodeAnalysis.Workspaces (20)
CodeFixes\FixAllOccurrences\FixAllContext.cs (16)
25internal FixAllProvider FixAllProvider => State.FixAllProvider; 30public Solution Solution => State.Solution; 35public Project Project => State.Project; 40public Document? Document => State.Document; 45public CodeFixProvider CodeFixProvider => State.Provider; 50public FixAllScope Scope => State.Scope; 57public ImmutableHashSet<string> DiagnosticIds => State.DiagnosticIds; 62public string? CodeActionEquivalenceKey => State.CodeActionEquivalenceKey; 75IFixAllState IFixAllContext.State => this.State; 237var getDiagnosticsTask = State.DiagnosticProvider.GetDocumentDiagnosticsAsync(document, this.CancellationToken); 274var getDiagnosticsTask = State.DiagnosticProvider is FixAllContext.SpanBasedDiagnosticProvider spanBasedDiagnosticProvider 276: State.DiagnosticProvider.GetDocumentDiagnosticsAsync(document, this.CancellationToken); 322? State.DiagnosticProvider.GetAllDiagnosticsAsync(project, CancellationToken) 323: State.DiagnosticProvider.GetProjectDiagnosticsAsync(project, CancellationToken); 339var newState = State.With(documentAndProject, scope, codeActionEquivalenceKey); 342return State == newState && CancellationToken == newCancellationToken
CodeFixes\FixAllOccurrences\FixAllContext.DiagnosticProvider.cs (3)
52if (fixAllContext.State.DiagnosticProvider is FixAllState.FixMultipleDiagnosticProvider fixMultipleDiagnosticProvider) 59FixAllLogger.CreateCorrelationLogMessage(fixAllContext.State.CorrelationId), 72FixAllLogger.CreateCorrelationLogMessage(fixAllContext.State.CorrelationId),
CodeFixes\FixAllOccurrences\FixAllContextHelper.cs (1)
49var diagnosticSpan = fixAllContext.State.DiagnosticSpan;