19 references to Document
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
CodeActions\ApplyChangesOperationTests.cs (1)
36var codeAction = new TestCodeAction(_changeSolution(context.Document.Project.Solution));
CodeActions\PreviewTests.cs (1)
47var codeAction = new TestCodeAction(context.Document);
Microsoft.CodeAnalysis.CSharp.Features (3)
UseExpressionBody\UseExpressionBodyCodeRefactoringProvider.cs (1)
117var document = context.Document;
UseExpressionBodyForLambda\UseExpressionBodyForLambdaCodeRefactoringProvider.cs (2)
31var document = context.Document; 78var document = context.Document;
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
CodeRefactorings\CodeRefactoringServiceTest.cs (1)
122cancellationToken => Task.FromResult(context.Document),
LinkedFiles\LinkedFileDiffMergingEditorTests.cs (1)
102var document = context.Document;
Microsoft.CodeAnalysis.Features (7)
CodeRefactorings\CodeRefactoringContextExtensions.cs (2)
45var parsedDocument = await ParsedDocument.CreateAsync(context.Document, context.CancellationToken).ConfigureAwait(false); 54var parsedDocument = await ParsedDocument.CreateAsync(context.Document, context.CancellationToken).ConfigureAwait(false);
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (1)
127var containingMember = GetContainingMember(context.Document, tupleExprOrTypeNode);
ExtractClass\AbstractExtractClassRefactoringProvider.cs (1)
30var solution = context.Document.Project.Solution;
GenerateConstructorFromMembers\AbstractGenerateConstructorFromMembersCodeRefactoringProvider.cs (1)
66context.Document,
ReplaceConditionalWithStatements\AbstractReplaceConditionalWithStatementsCodeRefactoringProvider.cs (1)
113var document = context.Document;
ReplaceDocCommentTextWithTag\AbstractReplaceDocCommentTextWithTagCodeRefactoringProvider.cs (1)
146c => ReplaceTextAsync(context.Document, expandedSpan, replacement, c),
Microsoft.CodeAnalysis.VisualBasic.Features (2)
CodeRefactorings\InlineTemporary\VisualBasicInlineTemporaryCodeRefactoringProvider.vb (1)
30Dim document = context.Document
CodeRefactorings\NodeSelectionHelpers.vb (1)
15Dim document As Document = context.Document
Microsoft.CodeAnalysis.Workspaces (3)
CodeRefactorings\CodeRefactoringContext.cs (3)
40/// This property should be used instead of <see cref="CodeRefactoringContext.Document"/> property by 47/// Text span within the <see cref="CodeRefactoringContext.Document"/> or <see cref="CodeRefactoringContext.TextDocument"/> to refactor. 127document = Document;