10 references to GetSyntaxTreeAsync
Microsoft.CodeAnalysis.Workspaces (10)
FindSymbols\Shared\AbstractSyntaxIndex.cs (1)
124
var syntaxTree = await document.
GetSyntaxTreeAsync
(cancellationToken).ConfigureAwait(false);
Workspace\Solution\Document.cs (1)
195
return DocumentState.
GetSyntaxTreeAsync
(cancellationToken).AsTask().AsNullable();
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (4)
42
static (state, cancellationToken) => state.
GetSyntaxTreeAsync
(cancellationToken), cancellationToken).ConfigureAwait(false);
224
static (state, cancellationToken) => state.
GetSyntaxTreeAsync
(cancellationToken), cancellationToken).ConfigureAwait(false));
260
treesToRemove.Add(await documentState.Value.
GetSyntaxTreeAsync
(cancellationToken).ConfigureAwait(false));
366
static (state, cancellationToken) => state.
GetSyntaxTreeAsync
(cancellationToken), cancellationToken).ConfigureAwait(false));
Workspace\Solution\SolutionCompilationState.TranslationAction_Actions.cs (2)
39
await oldState.
GetSyntaxTreeAsync
(cancellationToken).ConfigureAwait(false),
40
await newState.
GetSyntaxTreeAsync
(cancellationToken).ConfigureAwait(false));
Workspace\Solution\SolutionCompilationState.WithFrozenSourceGeneratedDocumentsCompilationTracker.cs (2)
118
var replacementSyntaxTree = await replacementState.
GetSyntaxTreeAsync
(cancellationToken).ConfigureAwait(false);
124
var existingSyntaxTree = await existingState.
GetSyntaxTreeAsync
(cancellationToken).ConfigureAwait(false);