12 references to AddSyntaxTrees
AnalyzerRunner (1)
DiagnosticAnalyzerRunner.cs (1)
395var newCompilation = compilation.RemoveAllSyntaxTrees().AddSyntaxTrees(compilation.SyntaxTrees);
Microsoft.CodeAnalysis (2)
SourceGeneration\GeneratorDriver.cs (2)
64outputCompilation = compilation.AddSyntaxTrees(trees); 279compilation = compilation.AddSyntaxTrees(constantSourcesBuilder);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
PdbSourceDocument\AbstractPdbSourceDocumentTests.cs (1)
264.AddSyntaxTrees(sources.Select((s, i) => SyntaxFactory.ParseSyntaxTree(s, options: parseOptions, path: sourceCodePaths[i])))
Microsoft.CodeAnalysis.Workspaces (7)
Workspace\Solution\SolutionState.CompilationAndGeneratorDriverTranslationAction_Actions.cs (2)
134return oldCompilation.AddSyntaxTrees(syntaxTrees); 162return oldCompilation.RemoveAllSyntaxTrees().AddSyntaxTrees(syntaxTrees);
Workspace\Solution\SolutionState.CompilationTracker.cs (5)
288compilationWithoutGeneratedDocuments.AddSyntaxTrees(generatorInfo.Documents.States.Values.Select(state => state.GetSyntaxTree(cancellationToken)))); 325compilationWithoutGeneratedDocuments.AddSyntaxTrees(generatorInfo.Documents.States.Values.Select(state => state.GetSyntaxTree(cancellationToken)))); 558compilation = compilation.AddSyntaxTrees(trees); 787compilationWithGenerators = compilationWithoutGenerators.AddSyntaxTrees( 940compilationWithGenerators = compilationWithoutGenerators.AddSyntaxTrees(
Microsoft.VisualStudio.LanguageServices.Implementation (1)
ProjectSystem\CPS\TempPECompiler.cs (1)
59compilation = compilation.RemoveAllSyntaxTrees().AddSyntaxTrees(syntaxTrees);