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