Implemented interface member:
property
Document
Microsoft.CodeAnalysis.CodeFixesAndRefactorings.IFixAllState.Document
1 write to Document
Microsoft.CodeAnalysis.Workspaces (1)
CodeFixesAndRefactorings\CommonFixAllState.cs (1)
36
Document
= document;
10 references to Document
Microsoft.CodeAnalysis.Features (1)
CodeFixes\Suppression\AbstractSuppressionBatchFixAllProvider.cs (1)
218
var title = FixAllHelper.GetDefaultFixAllTitle(fixAllState.Scope, title: fixAllState.DiagnosticIds.First(), fixAllState.
Document
!, fixAllState.Project);
Microsoft.CodeAnalysis.Workspaces (9)
CodeFixes\FixAllOccurrences\FixAllContext.cs (1)
39
public Document? Document => State.
Document
;
CodeFixesAndRefactorings\CommonFixAllState.cs (2)
50
var (newDocument, newProject) = documentAndProject.HasValue ? documentAndProject.Value : (
Document
, Project);
54
if (newDocument ==
Document
&&
CodeRefactorings\FixAllOccurences\FixAllContext.cs (1)
31
public Document Document => State.
Document
!;
CodeRefactorings\FixAllOccurences\FixAllState.cs (5)
96
Contract.ThrowIfNull(
Document
);
97
var spanMappingService =
Document
.GetLanguageService<IFixAllSpanMappingService>();
102
Document
, _selectionSpan, Scope, cancellationToken).ConfigureAwait(false);
107
Contract.ThrowIfNull(
Document
);
108
documentsToFix = [
Document
];