Implemented interface member:
property
Document
Microsoft.CodeAnalysis.CodeFixesAndRefactorings.IRefactorOrFixAllState.Document
1 write to Document
Microsoft.CodeAnalysis.Workspaces (1)
CodeFixesAndRefactorings\CommonFixAllState.cs (1)
38
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)
52
var (newDocument, newProject) = documentAndProject.HasValue ? documentAndProject.Value : (
Document
, Project);
56
if (newDocument ==
Document
&&
CodeRefactorings\FixAllOccurences\RefactorAllContext.cs (1)
31
public Document Document => State.
Document
!;
CodeRefactorings\FixAllOccurences\RefactorAllState.cs (5)
95
Contract.ThrowIfNull(
Document
);
96
var spanMappingService =
Document
.GetLanguageService<IFixAllSpanMappingService>();
101
Document
, _selectionSpan, Scope, cancellationToken).ConfigureAwait(false);
106
Contract.ThrowIfNull(
Document
);
107
documentsToRefactor = [
Document
];