13 references to GetSyntaxTreeAsync
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\ActiveStatementsMap.cs (1)
168var oldTree = await oldDocument.DocumentState.GetSyntaxTreeAsync(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (12)
FindSymbols\Shared\AbstractSyntaxIndex.cs (1)
124var syntaxTree = await document.GetSyntaxTreeAsync(cancellationToken).ConfigureAwait(false);
Workspace\Solution\Document.cs (1)
194return await DocumentState.GetSyntaxTreeAsync(cancellationToken).ConfigureAwait(false);
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (4)
44static (state, cancellationToken) => state.GetSyntaxTreeAsync(cancellationToken), cancellationToken).ConfigureAwait(false); 267static (state, cancellationToken) => state.GetSyntaxTreeAsync(cancellationToken), cancellationToken).ConfigureAwait(false)); 295treesToRemove.Add(await documentState.Value.GetSyntaxTreeAsync(cancellationToken).ConfigureAwait(false)); 423static (state, cancellationToken) => state.GetSyntaxTreeAsync(cancellationToken), cancellationToken).ConfigureAwait(false));
Workspace\Solution\SolutionCompilationState.TranslationAction_Actions.cs (4)
37var oldTree = await oldState.GetSyntaxTreeAsync(cancellationToken).ConfigureAwait(false); 47await newState.GetSyntaxTreeAsync(cancellationToken).ConfigureAwait(false)); 165callback((document, await document.GetSyntaxTreeAsync(cancellationToken).ConfigureAwait(false))), 193syntaxTrees.Add(await documentState.GetSyntaxTreeAsync(cancellationToken).ConfigureAwait(false));
Workspace\Solution\SolutionCompilationState.WithFrozenSourceGeneratedDocumentsCompilationTracker.cs (2)
129var replacementSyntaxTree = await replacementState.GetSyntaxTreeAsync(cancellationToken).ConfigureAwait(false); 135var existingSyntaxTree = await existingState.GetSyntaxTreeAsync(cancellationToken).ConfigureAwait(false);