1 write to TextDocument
Microsoft.CodeAnalysis.Workspaces (1)
CodeRefactorings\CodeRefactoringContext.cs (1)
92
TextDocument
= document ?? throw new ArgumentNullException(nameof(document));
5 references to TextDocument
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CodeRefactorings\CodeRefactoringServiceTest.cs (1)
244
var document = context.
TextDocument
;
Microsoft.CodeAnalysis.TestAnalyzerReference (1)
NonSourceFileRefactoring.cs (1)
26
var document = context.
TextDocument
;
Microsoft.CodeAnalysis.Workspaces (3)
CodeRefactorings\CodeRefactoringContext.cs (3)
23
/// <see cref="CodeRefactoringContext.
TextDocument
"/> property instead.
29
if (
TextDocument
is not Document document)
47
/// Text span within the <see cref="CodeRefactoringContext.Document"/> or <see cref="CodeRefactoringContext.
TextDocument
"/> to refactor.