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