7 references to GetSyntaxTreeSynchronously
Microsoft.CodeAnalysis.Workspaces (7)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\DocumentExtensions.cs (1)
74
var syntaxTree = document.
GetSyntaxTreeSynchronously
(cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\GeneratedCodeRecognition\AbstractGeneratedCodeRecognitionService.cs (1)
20
var syntaxTree = document.
GetSyntaxTreeSynchronously
(cancellationToken);
Workspace\Solution\Document.cs (3)
250
var tree = this.
GetSyntaxTreeSynchronously
(cancellationToken)!;
477
var tree = useAsync ? await GetSyntaxTreeAsync(cancellationToken).ConfigureAwait(false) : this.
GetSyntaxTreeSynchronously
(cancellationToken);
478
var oldTree = useAsync ? await oldDocument.GetSyntaxTreeAsync(cancellationToken).ConfigureAwait(false) : oldDocument.
GetSyntaxTreeSynchronously
(cancellationToken);
Workspace\Solution\TextDocument.cs (2)
85
/// <remarks>This is internal for the same reason <see cref="Document.
GetSyntaxTreeSynchronously
(CancellationToken)"/> is internal:
99
/// <remarks>This is internal for the same reason <see cref="Document.
GetSyntaxTreeSynchronously
(CancellationToken)"/> is internal: