4 references to GetSyntaxTree
Microsoft.CodeAnalysis.Workspaces (4)
Workspace\Solution\Document.cs (1)
205
return DocumentState.
GetSyntaxTree
(cancellationToken);
Workspace\Solution\SolutionCompilationState.CompilationTracker.CompilationTrackerState.cs (2)
105
Contract.ThrowIfTrue(this.CompilationWithoutGeneratedDocuments.SyntaxTrees.Contains(generatedDocument.
GetSyntaxTree
(CancellationToken.None)));
205
Contract.ThrowIfTrue(compilationWithoutGeneratedDocuments.SyntaxTrees.Contains(generatedDocument.
GetSyntaxTree
(CancellationToken.None)));
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (1)
822
var syntaxTrees = generatorInfo.Documents.States.Values.Select(state => state.
GetSyntaxTree
(cancellationToken));