9 references to AddSyntaxTrees
AnalyzerRunner (1)
DiagnosticAnalyzerRunner.cs (1)
394var newCompilation = compilation.RemoveAllSyntaxTrees().AddSyntaxTrees(compilation.SyntaxTrees);
Microsoft.CodeAnalysis (2)
SourceGeneration\GeneratorDriver.cs (2)
79outputCompilation = compilation.AddSyntaxTrees(trees); 305compilation = compilation.AddSyntaxTrees(constantSourcesBuilder);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
PdbSourceDocument\AbstractPdbSourceDocumentTests.cs (1)
272.AddSyntaxTrees(sources.Select((s, i) => SyntaxFactory.ParseSyntaxTree(s, options: parseOptions, path: sourceCodePaths[i])))
Microsoft.CodeAnalysis.Workspaces (5)
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (2)
791return this.CreateEmptyCompilation().AddSyntaxTrees(alreadyParsedTrees); 823return compilationWithoutGeneratedDocuments.Value.AddSyntaxTrees(syntaxTrees);
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (3)
44var compilationWithGeneratedFiles = compilationWithoutGeneratedFiles.AddSyntaxTrees(generatedSyntaxTrees); 222var compilationWithGeneratedFiles = compilationWithoutGeneratedFiles.AddSyntaxTrees( 364var compilationWithGeneratedFiles = compilationWithoutGeneratedFiles.AddSyntaxTrees(