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