336 references to GetSyntaxRootAsync
AnalyzerRunner (2)
CodeRefactoringRunner.cs (2)
66updatedSolution = updatedSolution.WithDocumentSyntaxRoot(document.Id, await newDocument.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false)); 79var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
IdeCoreBenchmarks (4)
FormatterBenchmarks.cs (2)
54var root = document.GetSyntaxRootAsync(CancellationToken.None).Result.WithAdditionalAnnotations(Formatter.Annotation); 70var formattedRoot = formattedDoc.GetSyntaxRootAsync(CancellationToken.None).Result;
NavigateToBenchmarks.cs (2)
127roots.Add(await document.GetSyntaxRootAsync()); 205var tree = await d.GetSyntaxRootAsync();
Microsoft.CodeAnalysis.CodeStyle.Fixes (9)
AbstractConvertToAsyncCodeFixProvider.cs (1)
32var root = await context.Document.GetSyntaxRootAsync(context.CancellationToken).ConfigureAwait(false);
AbstractIteratorCodeFixProvider.cs (1)
28var root = await context.Document.GetSyntaxRootAsync(context.CancellationToken).ConfigureAwait(false);
AbstractMakeMethodSynchronousCodeFixProvider.cs (1)
85var newRoot = await newDocument.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
AbstractMoveDeclarationNearReferenceService.cs (1)
82var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
AbstractMoveDeclarationNearReferenceService.State.cs (1)
104var syntaxRoot = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
DocumentExtensions.cs (1)
65root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
SemanticDocument.cs (1)
26var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
SyntaxEditorExtensions.cs (2)
173var currentRoot = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false); 188currentRoot = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.CodeStyle.LegacyTestFramework.UnitTestUtilities (4)
AbstractCodeActionOrUserDiagnosticTest.cs (3)
605var fixedRoot = await document.GetSyntaxRootAsync(); 677var root = await doc.GetSyntaxRootAsync(); 691var expectedRoot = await expectedDocument.GetSyntaxRootAsync();
AbstractUserDiagnosticTest.FixAllDiagnosticProvider.cs (1)
32var root = await document.GetSyntaxRootAsync(cancellationToken);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
AddInheritdocCodeFixProvider.cs (1)
50var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
DecompiledSource\CSharpDecompiledSourceService.cs (1)
151var syntaxRoot = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (22)
CodeActions\Preview\PreviewExceptionTests.cs (1)
114var span = document.GetSyntaxRootAsync().Result.Span;
CodeActions\Preview\PreviewTests.cs (1)
99var span = document.GetSyntaxRootAsync().Result.Span;
CodeActions\SyncNamespace\CSharpSyncNamespaceTestsBase.cs (1)
169var modifiedOringinalRoot = await modifiedOriginalDocument.GetSyntaxRootAsync();
CodeGeneration\SyntaxGeneratorTests.cs (2)
38var root = await document.GetSyntaxRootAsync(); 72var root = await document.GetSyntaxRootAsync();
Diagnostics\FixAllProvider\BatchFixerTests.cs (1)
73var root = await context.Document.GetSyntaxRootAsync(context.CancellationToken).ConfigureAwait(false);
EditAndContinue\CSharpEditAndContinueAnalyzerTests.cs (2)
306var oldSyntaxRoot = await oldDocument.GetSyntaxRootAsync(); 311var newSyntaxRoot = await newDocument.GetSyntaxRootAsync();
ExtractMethod\ExtractMethodBase.cs (2)
163: await doc.GetSyntaxRootAsync(); 194var root = await document.GetSyntaxRootAsync();
Formatting\CodeCleanupTests.TestFixers.cs (3)
32var root = await context.Document.GetSyntaxRootAsync(cancellationToken); 99var root = await document.GetSyntaxRootAsync(cancellationToken); 155var root = await document.GetSyntaxRootAsync(cancellationToken);
Formatting\FormattingEngineTests.cs (1)
419var syntaxRoot = await document.GetSyntaxRootAsync();
Formatting\Indentation\SmartIndenterEnterOnTokenTests.cs (2)
1417var root = (await document.GetSyntaxRootAsync()) as CompilationUnitSyntax; 1458var root = (await document.GetSyntaxRootAsync()) as CompilationUnitSyntax;
Formatting\Indentation\SmartTokenFormatterFormatRangeTests.cs (1)
3420var root = (CompilationUnitSyntax)await document.GetSyntaxRootAsync();
MoveToNamespace\MoveToNamespaceTests.cs (1)
1332var changedRoot = await changedDocument.GetSyntaxRootAsync();
Organizing\AbstractOrganizerTests.cs (1)
31var newRoot = await (await OrganizingService.OrganizeAsync(document)).GetSyntaxRootAsync();
Structure\CommentStructureTests.cs (1)
36var root = await document.GetSyntaxRootAsync();
TypeInferrer\TypeInferrerTests.cs (1)
27var root = await document.GetSyntaxRootAsync();
TypeInferrer\TypeInferrerTests.Delegate.cs (1)
28var root = await document.GetSyntaxRootAsync();
Microsoft.CodeAnalysis.CSharp.Features (27)
AddInheritdocCodeFixProvider.cs (1)
50var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
CodeFixes\GenerateMethod\GenerateDeconstructMethodCodeFixProvider.cs (1)
51var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
CodeRefactorings\ConvertLocalFunctionToMethod\CSharpConvertLocalFunctionToMethodCodeRefactoringProvider.cs (2)
66var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false); 236root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.cs (4)
49var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false); 190var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false); 259var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false); 268var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
CodeRefactorings\SyncNamespace\CSharpChangeNamespaceService.cs (1)
337var syntaxRoot = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
CodeRefactorings\SyncNamespace\CSharpSyncNamespaceCodeRefactoringProvider.cs (1)
34if (await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false) is not CompilationUnitSyntax compilationUnit)
CodeRefactorings\UseExplicitOrImplicitType\AbstractUseTypeCodeRefactoringProvider.cs (1)
126var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
Debugging\CSharpProximityExpressionsService.cs (1)
56var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
Debugging\DataTipInfoGetter.cs (1)
26var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
EncapsulateField\CSharpEncapsulateFieldService.cs (4)
39var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false); 92root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false); 117root = await withField.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false); 131var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
ExtractMethod\CSharpMethodExtractor.cs (3)
42var root = await document.Document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false); 228var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false); 231var newRoot = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (1)
830var oldRoot = await originalDocument.Document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.ExpressionCodeGenerator.cs (1)
211var updatedRoot = await updatedDocument.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
ExtractMethod\CSharpSelectionResult.cs (1)
41var root = await document.Document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
GenerateType\CSharpGenerateTypeService.cs (1)
778root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
MetadataAsSource\CSharpMetadataAsSourceService.cs (2)
45var oldRoot = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false); 63var syntaxRoot = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
Organizing\CSharpOrganizingService.cs (1)
32var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
OrganizeImports\CSharpOrganizeImportsService.cs (1)
30var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (5)
CodeGeneration\AddAttributesTests.cs (1)
49var syntaxRoot = await doc.GetSyntaxRootAsync();
CodeGeneration\AddImportsTests.cs (2)
44var root = await doc.GetSyntaxRootAsync(); 797var syntaxRoot = await document.GetSyntaxRootAsync(CancellationToken.None).ConfigureAwait(false);
CodeGeneration\SymbolEditorTests.cs (1)
59return (await document.GetSyntaxRootAsync()).ToFullString();
Formatting\FormattingTreeEditTests.cs (1)
39var root = await document.GetSyntaxRootAsync();
Microsoft.CodeAnalysis.EditorFeatures (4)
Classification\Syntactic\SyntacticClassificationTaggerProvider.TagComputer.cs (1)
289var currentRoot = await currentDocument.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
CodeActions\CodeActionEditHandlerService.cs (1)
357var openRoot = await openDocument.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
KeywordHighlighting\HighlighterViewTaggerProvider.cs (1)
116var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
RenameTracking\RenameTrackingTaggerProvider.RenameTrackingCommitter.cs (1)
157var root = await renameTrackingSolutionSet.RenamedSolution.GetDocument(docId).GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.EditorFeatures.DiagnosticsTests.Utilities (6)
CodeActions\AbstractCodeActionOrUserDiagnosticTest.cs (3)
605var fixedRoot = await document.GetSyntaxRootAsync(); 677var root = await doc.GetSyntaxRootAsync(); 691var expectedRoot = await expectedDocument.GetSyntaxRootAsync();
CodeActions\AbstractCodeActionTest.cs (1)
138var fixedRoot = await workspace.CurrentSolution.GetDocument(document.Id).GetSyntaxRootAsync();
Diagnostics\AbstractSuppressionAllCodeTests.cs (1)
78var root = document.GetSyntaxRootAsync().GetAwaiter().GetResult();
Diagnostics\AbstractUserDiagnosticTest.FixAllDiagnosticProvider.cs (1)
32var root = await document.GetSyntaxRootAsync(cancellationToken);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (12)
CodeLens\AbstractCodeLensTest.cs (4)
28var syntaxNode = await document.GetSyntaxRootAsync(); 58var syntaxNode = await document.GetSyntaxRootAsync(); 86var syntaxNode = await document.GetSyntaxRootAsync(); 114var syntaxNode = await document.GetSyntaxRootAsync();
Completion\AbstractCompletionProviderTests.cs (1)
98var node = (await document.GetSyntaxRootAsync()).FindToken(position).Parent;
Diagnostics\TestDiagnosticAnalyzerDriver.cs (1)
95var span = (await document.GetSyntaxRootAsync()).FullSpan;
KeywordHighlighting\AbstractKeywordHighlighterTests.cs (1)
55var root = await document.GetSyntaxRootAsync();
QuickInfo\AbstractSemanticQuickInfoSourceTests.cs (1)
157var node = (await document.GetSyntaxRootAsync()).FindToken(position).Parent;
SignatureHelp\AbstractSignatureHelpProviderTests.cs (1)
124var node = (await document.GetSyntaxRootAsync()).FindToken(position).Parent;
Structure\AbstractSyntaxNodeStructureProviderTests.cs (1)
24var root = await document.GetSyntaxRootAsync(CancellationToken.None);
Structure\AbstractSyntaxTriviaStructureProviderTests.cs (1)
21var root = await document.GetSyntaxRootAsync();
TypeInferrer\TypeInferrerTestBase.cs (1)
30var node = (await document.GetSyntaxRootAsync()).FindToken(position).Parent;
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (11)
CodeFixes\ErrorCases\CodeFixExceptionInRegisterMethodAsync.cs (1)
25var root = await context.Document.GetSyntaxRootAsync(context.CancellationToken).ConfigureAwait(false);
CodeGeneration\CodeGenerationTests.cs (4)
95var root = await testContext.Document.GetSyntaxRootAsync(); 325testContext.Result = testContext.Document.WithSyntaxRoot((await testContext.Document.GetSyntaxRootAsync()).ReplaceNode(oldSyntax, newSyntax)); 341testContext.Result = testContext.Document.WithSyntaxRoot((await testContext.Document.GetSyntaxRootAsync()).ReplaceNode(oldMemberSyntax, newMemberSyntax)); 974var actual = Formatter.FormatAsync(simplified, Formatter.Annotation, formattingOptions, CancellationToken.None).Result.GetSyntaxRootAsync().Result.ToFullString();
Completion\CompletionServiceTests.cs (1)
134var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
Diagnostics\DiagnosticAnalyzerServiceTests.cs (2)
940var root = await document.GetSyntaxRootAsync(); 1363var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
Diagnostics\SuppressMessageAttributeWorkspaceTests.cs (1)
71var span = (await document.GetSyntaxRootAsync()).FullSpan;
SolutionCrawler\WorkCoordinatorTests.cs (1)
1591await document.GetSyntaxRootAsync();
SymbolFinder\DependentTypeFinderTests.cs (1)
645var csRoot = await csDoc.GetSyntaxRootAsync();
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (50)
CodeFixes\CodeFixServiceTests.vb (9)
72(Await document.GetSyntaxRootAsync()).FullSpan) 79(Await document.GetSyntaxRootAsync()).FullSpan, 96(Await document.GetSyntaxRootAsync()).FullSpan, 107(Await document.GetSyntaxRootAsync()).FullSpan, 151(Await document.GetSyntaxRootAsync()).FullSpan) 158(Await document.GetSyntaxRootAsync()).FullSpan, 175(Await document.GetSyntaxRootAsync()).FullSpan, 239Dim root = Await context.Document.GetSyntaxRootAsync(context.CancellationToken).ConfigureAwait(False) 264Dim root = Await context.Document.GetSyntaxRootAsync(context.CancellationToken).ConfigureAwait(False)
Diagnostics\AbstractCrossLanguageUserDiagnosticTest.vb (2)
190Dim root = Await document.GetSyntaxRootAsync() 239Return doc.GetSyntaxRootAsync().Result.FindToken(position).Parent
Diagnostics\DiagnosticServiceTests.vb (30)
94Dim diagnostics = Await diagnosticService.GetDiagnosticsForSpanAsync(document, (Await document.GetSyntaxRootAsync()).FullSpan) 128diagnostics = Await diagnosticService.GetDiagnosticsForSpanAsync(document, (Await document.GetSyntaxRootAsync()).FullSpan) 142diagnostics = Await diagnosticService.GetDiagnosticsForSpanAsync(document, (Await document.GetSyntaxRootAsync()).FullSpan) 163diagnostics = Await diagnosticService.GetDiagnosticsForSpanAsync(document, (Await document.GetSyntaxRootAsync()).FullSpan) 281Dim span = (Await document.GetSyntaxRootAsync()).FullSpan 440Dim diagnostics = (Await diagnosticService.GetDiagnosticsForSpanAsync(document, (Await document.GetSyntaxRootAsync()).FullSpan)). 499Dim diagnostics = Await diagnosticService.GetDiagnosticsForSpanAsync(document, (Await document.GetSyntaxRootAsync()).FullSpan) 533Dim root = Await document.GetSyntaxRootAsync().ConfigureAwait(False) 602Dim span = (Await document.GetSyntaxRootAsync().ConfigureAwait(False)).FullSpan 674Dim diagnostics = Await diagnosticService.GetDiagnosticsForSpanAsync(document, (Await document.GetSyntaxRootAsync()).FullSpan) 710Dim diagnostics = Await diagnosticService.GetDiagnosticsForSpanAsync(document, (Await document.GetSyntaxRootAsync()).FullSpan) 787Dim diagnostics = Await diagnosticService.GetDiagnosticsForSpanAsync(document, (Await document.GetSyntaxRootAsync()).FullSpan) 825Dim fullSpan = (Await document.GetSyntaxRootAsync()).FullSpan 851Dim expectedLocation = document.GetSyntaxRootAsync().Result.GetLocation 899Dim fullSpan = (Await document.GetSyntaxRootAsync()).FullSpan 1017Dim fullSpan = (Await document.GetSyntaxRootAsync()).FullSpan 1125Dim fullSpan = (Await document.GetSyntaxRootAsync()).FullSpan 1169Dim fullSpan = (Await document.GetSyntaxRootAsync()).FullSpan 1214Dim fullSpan = (Await document.GetSyntaxRootAsync()).FullSpan 1266Dim fullSpan = (Await document.GetSyntaxRootAsync()).FullSpan 1330Dim fullSpan = (Await document.GetSyntaxRootAsync()).FullSpan 1378Dim fullSpan = (Await document.GetSyntaxRootAsync()).FullSpan 1464Dim fullSpan = (Await document.GetSyntaxRootAsync()).FullSpan 2003Dim diagnostics = Await diagnosticService.GetDiagnosticsForSpanAsync(document, (Await document.GetSyntaxRootAsync()).FullSpan) 2064Dim diagnostics = Await diagnosticService.GetDiagnosticsForSpanAsync(document, (Await document.GetSyntaxRootAsync()).FullSpan) 2133Dim diagnostics = Await diagnosticService.GetDiagnosticsForSpanAsync(document, (Await document.GetSyntaxRootAsync()).FullSpan) 2219Dim root = Await document.GetSyntaxRootAsync(CancellationToken.None) 2309Dim root = Await document.GetSyntaxRootAsync(CancellationToken.None) 2371Dim root = Await document.GetSyntaxRootAsync() 2442Dim root = Await document.GetSyntaxRootAsync()
Expansion\AbstractExpansionTest.vb (2)
29Dim root = Await document.GetSyntaxRootAsync() 44root = Await document.GetSyntaxRootAsync()
LanguageServices\SyntaxFactsServiceTests.vb (1)
211Dim root = Await document.GetSyntaxRootAsync()
NavigationBar\TestHelpers.vb (1)
104Dim actual = (Await newDocument.GetSyntaxRootAsync()).ToFullString().TrimEnd()
Rename\RenameCommandHandlerTests.vb (1)
44Dim expectedTriggerToken = workspace.CurrentSolution.Projects.Single().Documents.Single().GetSyntaxRootAsync().Result.FindToken(view.Caret.Position.BufferPosition)
Rename\RenameTestHelpers.vb (1)
41Dim token = solution.GetDocument(hostdoc.Id).GetSyntaxRootAsync().Result.FindToken(caretPosition)
Simplification\AbstractSimplificationTests.vb (1)
72Dim root = Await document.GetSyntaxRootAsync()
Simplification\ParameterSimplificationTests.vb (1)
27(Await document.GetSyntaxRootAsync()).WithAdditionalAnnotations(Simplifier.Annotation))
Simplification\TypeNameSimplifierTest.vb (1)
4250Dim root = Await document.GetSyntaxRootAsync()
Microsoft.CodeAnalysis.Features (45)
AbstractConvertToAsyncCodeFixProvider.cs (1)
32var root = await context.Document.GetSyntaxRootAsync(context.CancellationToken).ConfigureAwait(false);
AbstractIteratorCodeFixProvider.cs (1)
28var root = await context.Document.GetSyntaxRootAsync(context.CancellationToken).ConfigureAwait(false);
AbstractMakeMethodSynchronousCodeFixProvider.cs (1)
85var newRoot = await newDocument.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
AddImport\CodeActions\InstallPackageAndAddImportCodeAction.cs (1)
69var newRoot = await newDocument.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
AddImport\References\Reference.cs (1)
98var newRoot = await newDocument.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
BraceMatching\AbstractBraceMatcher.cs (1)
64var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
BraceMatching\AbstractDirectiveTriviaBraceMatcher.cs (1)
32var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
BracePairs\IBracePairsService.cs (1)
48var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
ChangeSignature\AbstractChangeSignatureService.cs (2)
383var root = await doc.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false); 427currentSolution = currentSolution.WithDocumentSyntaxRoot(docId, (await formattedDoc.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false))!);
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.GlobalSuppressMessageCodeAction.cs (1)
42var suppressionsRoot = await suppressionsDoc.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.GlobalSuppressMessageFixAllCodeAction.cs (1)
140var suppressionsRoot = await suppressionsDoc.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.LocalSuppressMessageCodeAction.cs (1)
44var root = await _document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction.BatchFixer.cs (1)
143var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
CodeLens\CodeLensReferencesService.cs (1)
120var token = (await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false)).FindToken(position, true);
CodeRefactorings\AbstractRefactoringHelpersService.cs (1)
519var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
CodeRefactorings\ExtractMethod\AbstractExtractMethodCodeRefactoringProvider.cs (1)
143var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
Completion\Providers\AbstractMemberInsertingCompletionProvider.cs (1)
46var newRoot = await newDocument.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
ConvertToInterpolatedString\ConvertRegularStringToInterpolatedStringRefactoringProvider.cs (1)
35var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
EncapsulateField\AbstractEncapsulateFieldService.cs (2)
185var linkedRoot = await linkedDocument.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false); 233var newRoot = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingIncrementalAnalyzerProcessor.cs (1)
323var root = await GetOrDefaultAsync(document, (d, c) => d.GetSyntaxRootAsync(c), cancellationToken).ConfigureAwait(false);
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingSemanticChangeProcessor.cs (1)
106!changedMember.TryResolve(await document.GetSyntaxRootAsync(CancellationToken).ConfigureAwait(false), out SyntaxNode? declarationNode))
ExtractInterface\AbstractExtractInterfaceService.cs (1)
345var currentRoot = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
GenerateType\AbstractGenerateTypeService.Editor.cs (3)
330var newRoot = await codeGenResult.GetSyntaxRootAsync(_cancellationToken).ConfigureAwait(false); 416var root = await generateTypeOptionsResult.ExistingDocument.GetSyntaxRootAsync(_cancellationToken).ConfigureAwait(false); 453var newRoot = await codeGenResult.GetSyntaxRootAsync(_cancellationToken).ConfigureAwait(false);
MoveToNamespace\AbstractMoveToNamespaceService.cs (3)
77var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false); 135container = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false); 270var syntaxRoot = await mergedDocument.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
PullMemberUp\MembersPuller.cs (1)
401await destinationDocument.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false),
RemoveUnusedVariable\AbstractRemoveUnusedVariableCodeFixProvider.cs (2)
44var root = await document.GetSyntaxRootAsync(context.CancellationToken).ConfigureAwait(false); 67var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
SimplifyTypeNames\AbstractSimplifyTypeNamesCodeFixProvider.cs (2)
81var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false); 105var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
SolutionCrawler\AbstractDocumentDifferenceService.cs (2)
65oldRoot = await oldDocument.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false); 66newRoot = await newDocument.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
SolutionCrawler\WorkCoordinator.IncrementalAnalyzerProcessor.cs (1)
267var root = await GetOrDefaultAsync(document, (d, c) => d.GetSyntaxRootAsync(c), cancellationToken).ConfigureAwait(false);
SolutionCrawler\WorkCoordinator.SemanticChangeProcessor.cs (1)
105!changedMember.TryResolve(await document.GetSyntaxRootAsync(CancellationToken).ConfigureAwait(false), out SyntaxNode? declarationNode))
SpellCheck\AbstractSpellCheckCodeFixProvider.cs (2)
48var syntaxRoot = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false); 228var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
SplitOrMergeIfStatements\AbstractMergeIfStatementsCodeRefactoringProvider.cs (2)
39var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false); 69var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
SplitOrMergeIfStatements\AbstractSplitIfStatementCodeRefactoringProvider.cs (2)
36var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false); 65var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Remote.ServiceHub (2)
Host\RemoteDocumentDifferenceService.cs (2)
60var oldRoot = await oldDocument.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false); 61var newRoot = await newDocument.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (5)
VisualBasicRemoveUnnecessaryByValCodeFixProvider.vb (1)
38Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
VisualBasicRemoveUnnecessaryCastCodeFixProvider.vb (2)
98Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False) 120Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
VisualBasicRemoveUnnecessaryImportsService.vb (1)
43Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
VisualBasicSimplifyObjectCreationCodeFixProvider.vb (1)
36Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (2)
NavigationBar\VisualBasicEditorNavigationBarItemService.vb (1)
54Dim root = Await destinationDocument.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
NavigationBar\VisualBasicEditorNavigationBarItemService_CodeGeneration.vb (1)
29Dim generatedTree = Await newDocument.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (15)
CaseCorrecting\CaseCorrectionServiceTests.vb (1)
35Dim span = (Await document.GetSyntaxRootAsync()).FullSpan
CodeActions\Preview\PreviewTests.vb (1)
74Dim span = document.GetSyntaxRootAsync().Result.Span
Debugging\ProximityExpressionsGetterTests.vb (1)
103Dim statements = (Await document.GetSyntaxRootAsync()).DescendantTokens().Select(Function(t) t.GetAncestor(Of StatementSyntax)()).Distinct().WhereNotNull()
EditAndContinue\VisualBasicEditAndContinueAnalyzerTests.vb (2)
478Dim oldSyntaxRoot = Await oldDocument.GetSyntaxRootAsync() 481Dim newSyntaxRoot = Await newDocument.GetSyntaxRootAsync()
ExtractMethod\ExtractMethodTests.vb (2)
128Return Await (Await result.GetFormattedDocumentAsync(cleanupOptions, CancellationToken.None)).document.GetSyntaxRootAsync() 171Dim root = Await document.GetSyntaxRootAsync()
Formatting\CodeCleanUpTests.vb (3)
654Dim root = Await document.GetSyntaxRootAsync(cancellationToken) 699Dim root = Await document.GetSyntaxRootAsync(cancellationToken) 729Dim root = Await context.Document.GetSyntaxRootAsync(cancellationToken)
Formatting\Indentation\SmartTokenFormatter_FormatTokenTests.vb (1)
190Dim root = DirectCast(Await document.GetSyntaxRootAsync(), CompilationUnitSyntax)
LineSeparators\LineSeparatorTests.vb (1)
295(Await document.GetSyntaxRootAsync()).FullSpan, Nothing)
Organizing\AbstractOrganizerTests.vb (1)
18Dim newRoot = Await (Await OrganizingService.OrganizeAsync(document)).GetSyntaxRootAsync()
Structure\CommentStructureTests.vb (1)
22Dim root = Await document.GetSyntaxRootAsync()
TypeInferrer\TypeInferrerTests.vb (1)
20Dim root = Await document.GetSyntaxRootAsync()
Microsoft.CodeAnalysis.VisualBasic.Features (47)
AddImport\VisualBasicAddImportFeatureService.vb (1)
301Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
BraceMatching\InterpolatedStringBraceMatcher.vb (1)
29Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
BraceMatching\StringLiteralBraceMatcher.vb (1)
25Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
ChangeSignature\VisualBasicChangeSignatureService.vb (1)
689Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
CodeFixes\CorrectNextControlVariable\CorrectNextControlVariableCodeFixProvider.CodeAction.vb (1)
30Dim root = Await _document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
CodeFixes\CorrectNextControlVariable\CorrectNextControlVariableCodeFixProvider.vb (1)
37Dim root = Await context.Document.GetSyntaxRootAsync(context.CancellationToken).ConfigureAwait(False)
CodeFixes\GenerateEndConstruct\GenerateEndConstructCodeFixProvider.vb (2)
65Dim root = Await context.Document.GetSyntaxRootAsync(context.CancellationToken).ConfigureAwait(False) 255Dim tree = Await updatedDocument.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
CodeFixes\GenerateEvent\GenerateEventCodeFixProvider.vb (1)
45Dim root = Await context.Document.GetSyntaxRootAsync(context.CancellationToken).ConfigureAwait(False)
CodeFixes\IncorrectExitContinue\IncorrectExitContinueCodeFixProvider.AddKeywordCodeAction.vb (1)
41Dim root = Await _document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
CodeFixes\IncorrectExitContinue\IncorrectExitContinueCodeFixProvider.ReplaceKeywordCodeAction.vb (1)
40Dim root = Await _document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
CodeFixes\IncorrectExitContinue\IncorrectExitContinueCodeFixProvider.ReplaceTokenKeywordCodeAction.vb (1)
33Dim root = Await _document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
CodeFixes\IncorrectExitContinue\IncorrectExitContinueCodeFixProvider.vb (1)
62Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
CodeFixes\IncorrectFunctionReturnType\IncorrectFunctionReturnTypeCodeFixProvider.vb (2)
45Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False) 80Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
CodeFixes\MoveToTopOfFile\MoveToTopOfFileCodeFixProvider.vb (1)
47Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
CodeFixes\OverloadBase\OverloadBaseCodeFixProvider.AddKeywordAction.vb (1)
46Dim root = Await _document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
CodeFixes\OverloadBase\OverloadBaseCodeFixProvider.vb (1)
37Dim root = Await context.Document.GetSyntaxRootAsync(context.CancellationToken).ConfigureAwait(False)
CodeRefactorings\InlineTemporary\VisualBasicInlineTemporaryCodeRefactoringProvider.vb (4)
133Dim syntaxRoot = Await updatedDocument.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False) 226Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False) 236Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False) 432Dim syntaxRootAfterInline = Await inlinedDocument.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
CodeRefactorings\RemoveStatementCodeAction.vb (1)
30Dim root = Await _document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
Debugging\DataTipInfoGetter.vb (1)
16Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
Debugging\ProximityExpressionsGetter.vb (1)
62Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
EncapsulateField\VisualBasicEncapsulateFieldService.vb (2)
33Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False) 73Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
ExtractInterface\VisualBasicExtractInterfaceService.vb (1)
123Dim document = Await unformattedSolution.GetDocument(candidateDocId).GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
ExtractMethod\VisualBasicMethodExtractor.vb (1)
34Dim root = Await document.Document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.ExpressionCodeGenerator.vb (1)
139Dim updatedRoot = Await updatedDocument.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
GenerateType\VisualBasicGenerateTypeService.vb (1)
639root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
ImplementInterface\VisualBasicImplementInterfaceCodeFixProvider.vb (1)
42Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
MetadataAsSource\VisualBasicMetadataAsSourceService.vb (2)
40Dim oldRoot = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False) 59Dim syntaxRoot = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
Organizing\VisualBasicOrganizerService.vb (1)
23Dim root = DirectCast(Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False), SyntaxNode)
SignatureHelp\AbstractIntrinsicOperatorSignatureHelpProvider.vb (1)
32Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
SignatureHelp\AttributeSignatureHelpProvider.vb (1)
55Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
SignatureHelp\CollectionInitializerSignatureHelpProvider.vb (1)
49Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
SignatureHelp\FunctionAggregationSignatureHelpProvider.vb (1)
57Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
SignatureHelp\GenericNameSignatureHelpProvider.vb (1)
64Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
SignatureHelp\InvocationExpressionSignatureHelpProvider.vb (1)
66Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
SignatureHelp\ObjectCreationExpressionSignatureHelpProvider.vb (1)
65Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
SignatureHelp\RaiseEventStatementSignatureHelpProvider.vb (1)
71Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
VisualBasicRemoveUnnecessaryByValCodeFixProvider.vb (1)
38Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
VisualBasicRemoveUnnecessaryCastCodeFixProvider.vb (2)
98Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False) 120Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
VisualBasicSimplifyObjectCreationCodeFixProvider.vb (1)
36Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (5)
CodeCleanup\Providers\AbstractTokensCodeCleanupProvider.vb (1)
23Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
CodeCleanup\Providers\NormalizeModifiersOrOperatorsCodeCleanupProvider.vb (1)
36Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
CodeCleanup\Providers\RemoveUnnecessaryLineContinuationCodeCleanupProvider.vb (1)
39Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
OrganizeImports\VisualBasicOrganizeImportsService.vb (1)
21Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
VisualBasicRemoveUnnecessaryImportsService.vb (1)
43Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (7)
CodeGeneration\AddImportsTests.vb (1)
50Dim root = Await doc.GetSyntaxRootAsync()
Formatting\FormattingTests.vb (4)
3017Dim root = Await document.GetSyntaxRootAsync() 3025Dim root2 = Await document2.GetSyntaxRootAsync() 4204Dim propertyBlock = (Await document.GetSyntaxRootAsync()).DescendantNodes().OfType(Of PropertyBlockSyntax).Single() 4207(Await document.GetSyntaxRootAsync()).ReplaceNode(propertyBlock, propertyBlock.WithAccessors(SyntaxFactory.SingletonList(setter))))
OrganizeImports\OrganizeImportsTests.vb (2)
39Dim newRoot = Await newDocument.GetSyntaxRootAsync() 66Dim newRoot = Await formattedDocument.GetSyntaxRootAsync()
Microsoft.CodeAnalysis.Workspaces (12)
AbstractMoveDeclarationNearReferenceService.cs (1)
82var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
AbstractMoveDeclarationNearReferenceService.State.cs (1)
104var syntaxRoot = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
CaseCorrection\AbstractCaseCorrectionService.cs (1)
31var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
CaseCorrection\CaseCorrector.cs (2)
29var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false); 44var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
Classification\AbstractClassificationService.cs (1)
187var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
DocumentExtensions.cs (1)
65root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
SemanticDocument.cs (1)
26var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
SyntaxEditorExtensions.cs (2)
173var currentRoot = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false); 188currentRoot = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
Workspace\Solution\Document.cs (2)
134/// <see cref="GetSyntaxTreeAsync"/> and <see cref="GetSyntaxRootAsync"/> methods. 210/// In almost all cases, you should call <see cref="GetSyntaxRootAsync"/> to fetch the root node, which will parse
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
VisualStudioMSBuildWorkspaceTests.cs (2)
324var root = await d1.GetSyntaxRootAsync(); 2871var root = await document.GetSyntaxRootAsync();
Microsoft.CodeAnalysis.Workspaces.UnitTests (33)
CodeCleanup\AddMissingTokensTests.cs (1)
2724Assert.Equal(expectedResult, (await cleanDocument.GetSyntaxRootAsync()).ToFullString());
CodeCleanup\CodeCleanupTests.cs (13)
62var root = await document.GetSyntaxRootAsync(); 72var root = await document.GetSyntaxRootAsync(); 116var root = await document.GetSyntaxRootAsync(); 127var root = await document.GetSyntaxRootAsync(); 138document = document.WithSyntaxRoot((await document.GetSyntaxRootAsync()).WithAdditionalAnnotations(annotation)); 151document = document.WithSyntaxRoot((await document.GetSyntaxRootAsync()).WithAdditionalAnnotations(annotation)); 180var root = await document.GetSyntaxRootAsync(cancellationToken); 200var root = await document.GetSyntaxRootAsync(cancellationToken); 222var root = await document.GetSyntaxRootAsync(cancellationToken); 244var root = await document.GetSyntaxRootAsync(cancellationToken); 308var root = await document.GetSyntaxRootAsync(); 315var newRoot = await newDocument.GetSyntaxRootAsync(); 356var root = await document.GetSyntaxRootAsync(cancellationToken);
CodeCleanup\Extensions.cs (1)
27=> (T)document.GetSyntaxRootAsync().Result.GetMember(index);
CodeCleanup\FixIncorrectTokenTests.cs (1)
749Assert.Equal(expectedResult, (await cleanDocument.GetSyntaxRootAsync()).ToFullString());
CodeCleanup\NormalizeModifiersOrOperatorsTests.cs (1)
1025Assert.Equal(expectedResult, (await cleanDocument.GetSyntaxRootAsync()).ToFullString());
CodeCleanup\ReduceTokenTests.cs (1)
2013AssertEx.EqualOrDiff(expectedResult, (await cleanDocument.GetSyntaxRootAsync()).ToFullString());
CodeCleanup\RemoveUnnecessaryLineContinuationTests.cs (1)
1382var actualResult = (await cleanDocument.GetSyntaxRootAsync()).ToFullString();
CommandLineProject\CommandLineProjectWorkspaceTests.cs (1)
46var tree = await gooDoc.GetSyntaxRootAsync();
SolutionTests\SolutionTests.cs (10)
2497var root = await document.GetSyntaxRootAsync(); 2516var newRoot = await Formatter.FormatAsync(document, CSharpSyntaxFormattingOptions.Default, CancellationToken.None).Result.GetSyntaxRootAsync(); 2582var syntaxRoot = await document.GetSyntaxRootAsync(CancellationToken.None); 2803var docTree = doc.GetSyntaxRootAsync().Result; 2824var docRoot = await doc.GetSyntaxRootAsync(); 2952var observedTree = solution.GetDocument(documentId).GetSyntaxRootAsync().Result; 2978var observedTree = solution.GetDocument(documentId).GetSyntaxRootAsync().Result; 3055var newRoot = doc.GetSyntaxRootAsync().Result.WithAdditionalAnnotations(SyntaxAnnotation.ElasticAnnotation); 3357var root = doc.GetSyntaxRootAsync().Result; 4307var root = await doc.GetSyntaxRootAsync();
SyntaxNodeTests.cs (2)
94var root = await doc.GetSyntaxRootAsync(); 119var root2 = await doc.GetSyntaxRootAsync();
WorkspaceTests\AdhocWorkspaceTests.cs (1)
368var root = await doc.GetSyntaxRootAsync();
Microsoft.VisualStudio.LanguageServices.UnitTests (2)
GoToDefinition\GoToDefinitionApiTests.vb (1)
27Dim root = Await document.GetSyntaxRootAsync()
Venus\DocumentService_IntegrationTests.vb (1)
145Dim root = Await startDocument.GetSyntaxRootAsync()