22 references to GetSyntaxRootSynchronously
IdeBenchmarks (2)
FormatterBenchmarks.cs (2)
48var root = document.GetSyntaxRootSynchronously(CancellationToken.None); 61var root = document.GetSyntaxRootSynchronously(CancellationToken.None);
Microsoft.CodeAnalysis.CSharp.EditorFeatures (4)
EventHookup\EventHookupCommandHandler_TabKeyCommand.cs (4)
179var newRoot = formattedDocument.GetSyntaxRootSynchronously(cancellationToken); 195var root = document.GetSyntaxRootSynchronously(cancellationToken); 213root = documentWithNameAdded.GetSyntaxRootSynchronously(cancellationToken); 303var root = document.GetSyntaxRootSynchronously(cancellationToken);
Microsoft.CodeAnalysis.EditorFeatures (3)
Editor\GoToAdjacentMemberCommandHandler.cs (1)
92var root = document.GetSyntaxRootSynchronously(context.OperationContext.UserCancellationToken);
Interactive\SendToInteractiveSubmissionProvider.cs (1)
71var root = document.GetSyntaxRootSynchronously(cancellationToken);
TextStructureNavigation\AbstractTextStructureNavigatorProvider.TextStructureNavigator.cs (1)
89var root = document.GetSyntaxRootSynchronously(cancellationToken);
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (6)
AutomaticEndConstructCorrection\AutomaticEndConstructCorrector.vb (1)
147Dim root = _previousDocument.GetSyntaxRootSynchronously(cancellationToken)
EndConstructGeneration\EndConstructCommandHandler.vb (1)
131Dim root = document.GetSyntaxRootSynchronously(cancellationToken)
LineCommit\CommitFormatter.vb (1)
102Dim root = document.GetSyntaxRootSynchronously(cancellationToken)
Utilities\CommandHandlers\AbstractImplementAbstractClassOrInterfaceCommandHandler.vb (3)
131Dim syntaxRoot = document.GetSyntaxRootSynchronously(cancellationToken) 154token = document.GetSyntaxRootSynchronously(cancellationToken). 183token = newDocument.GetSyntaxRootSynchronously(cancellationToken).
Microsoft.CodeAnalysis.Workspaces (1)
DocumentExtensions.cs (1)
72var root = document.GetSyntaxRootSynchronously(cancellationToken);
Microsoft.VisualStudio.LanguageServices (4)
Extensions\DocumentExtensions.cs (1)
32var trivia = document.GetSyntaxRootSynchronously(cancellationToken).FindTrivia(line.Start);
LanguageService\AbstractLanguageService`2.IVsLanguageBlock.cs (1)
80var syntaxRoot = document.GetSyntaxRootSynchronously(cancellationToken);
Venus\ContainedDocument.cs (1)
799var root = document.GetSyntaxRootSynchronously(CancellationToken.None);
Venus\ContainedLanguageCodeSupport.cs (1)
229targetDocument.WithSyntaxRoot(newRoot), Simplifier.Annotation, options.CleanupOptions.SimplifierOptions, cancellationToken).WaitAndGetResult_Venus(cancellationToken).GetSyntaxRootSynchronously(cancellationToken);
Microsoft.VisualStudio.LanguageServices.VisualBasic (2)
Snippets\SnippetExpansionClient.vb (2)
134Dim root = document.GetSyntaxRootSynchronously(cancellationToken) 146Dim root = document.GetSyntaxRootSynchronously(cancellationToken)