9 references to AddSyntaxTrees
AnalyzerRunner (1)
DiagnosticAnalyzerRunner.cs (1)
394
var newCompilation = compilation.RemoveAllSyntaxTrees().
AddSyntaxTrees
(compilation.SyntaxTrees);
Microsoft.CodeAnalysis (2)
SourceGeneration\GeneratorDriver.cs (2)
79
outputCompilation = compilation.
AddSyntaxTrees
(trees);
305
compilation = 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)
791
return this.CreateEmptyCompilation().
AddSyntaxTrees
(alreadyParsedTrees);
823
return compilationWithoutGeneratedDocuments.Value.
AddSyntaxTrees
(syntaxTrees);
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (3)
44
var compilationWithGeneratedFiles = compilationWithoutGeneratedFiles.
AddSyntaxTrees
(generatedSyntaxTrees);
222
var compilationWithGeneratedFiles = compilationWithoutGeneratedFiles.
AddSyntaxTrees
(
364
var compilationWithGeneratedFiles = compilationWithoutGeneratedFiles.
AddSyntaxTrees
(