13 references to GetRequiredSyntaxRootSynchronously
Microsoft.CodeAnalysis.CSharp.EditorFeatures (7)
CommentSelection\CSharpToggleBlockCommentCommandHandler.cs (1)
44var root = document.GetRequiredSyntaxRootSynchronously(cancellationToken);
CompleteStatement\CompleteStatementCommandHandler.cs (1)
115var root = document.GetRequiredSyntaxRootSynchronously(cancellationToken);
FixInterpolatedVerbatimString\FixInterpolatedVerbatimStringCommandHandler.cs (1)
78var root = document.GetRequiredSyntaxRootSynchronously(cancellationToken);
RawStringLiteral\RawStringLiteralCommandHandler_TypeChar.cs (3)
112var root = document.GetRequiredSyntaxRootSynchronously(cancellationToken); 169var root = document.GetRequiredSyntaxRootSynchronously(cancellationToken); 218var root = document.GetRequiredSyntaxRootSynchronously(cancellationToken);
StringCopyPaste\StringCopyPasteCommandHandler.cs (1)
269var rootAfterPaste = documentAfterPaste.GetRequiredSyntaxRootSynchronously(cancellationToken);
Microsoft.CodeAnalysis.EditorFeatures (2)
Navigation\AbstractDefinitionLocationService.cs (1)
280var syntaxRoot = document.GetRequiredSyntaxRootSynchronously(cancellationToken);
TextStructureNavigation\AbstractTextStructureNavigatorProvider.TextStructureNavigator.cs (1)
82var root = document.GetRequiredSyntaxRootSynchronously(cancellationToken);
Microsoft.CodeAnalysis.Features (2)
Shared\Extensions\DocumentExtensions.cs (2)
30var root = document.GetRequiredSyntaxRootSynchronously(cancellationToken); 37Debug.Assert(document.GetRequiredSyntaxRootSynchronously(CancellationToken.None) == root);
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\ParsedDocument.cs (1)
42var root = document.GetRequiredSyntaxRootSynchronously(cancellationToken);
Microsoft.VisualStudio.LanguageServices.CSharp (1)
Snippets\CSharpSnippetExpansionLanguageHelper.cs (1)
82var root = document.GetRequiredSyntaxRootSynchronously(cancellationToken);