9 references to AddSyntaxTrees
Microsoft.CodeAnalysis.CSharp (3)
Compilation\CSharpCompilation.cs (3)
444compilation = compilation.AddSyntaxTrees(syntaxTrees); 838return AddSyntaxTrees((IEnumerable<SyntaxTree>)trees); 3961return this.AddSyntaxTrees(trees);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (6)
Compilation\CompilationAPITests.cs (6)
798comp = comp.AddSyntaxTrees(Enumerable.Empty<SyntaxTree>()); 849compCollection = compCollection.AddSyntaxTrees(hs).RemoveSyntaxTrees(t4, t5, t6); 939comp = comp.AddSyntaxTrees(listSyntaxTree).RemoveSyntaxTrees(t2); 944comp = comp.RemoveSyntaxTrees(t1).AddSyntaxTrees(listSyntaxTree).RemoveSyntaxTrees(t2); 950comp = comp.AddSyntaxTrees(listSyntaxTree).RemoveSyntaxTrees(listSyntaxTree); 957Assert.Throws<ArgumentException>(() => comp = comp.AddSyntaxTrees(listSyntaxTree).AddReferences().ReplaceSyntaxTree(t1, t2));