28 references to RemoveSyntaxTrees
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpCompilation.cs (1)
995
return this.
RemoveSyntaxTrees
(oldTree);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (27)
Compilation\CompilationAPITests.cs (21)
793
comp = comp.
RemoveSyntaxTrees
(t1, withErrorTree, withErrorTree1, withErrorTreeVB);
824
Assert.Throws<ArgumentException>(() => comp = comp.
RemoveSyntaxTrees
(SyntaxFactory.ParseSyntaxTree(s1)));
828
Assert.Throws<ArgumentException>(() => comp = comp.
RemoveSyntaxTrees
(withErrorTree));
848
compCollection = compCollection.AddSyntaxTrees(hs).
RemoveSyntaxTrees
(t4, t5, t6);
854
compCollection = compCollection.
RemoveSyntaxTrees
(t4, t5, t6);
865
compCollection = compCollection.
RemoveSyntaxTrees
(t4, t6, t5);
876
compCollection = compCollection.
RemoveSyntaxTrees
(t4, t6, t5);
887
comp = comp.
RemoveSyntaxTrees
(t1);
891
comp = comp.
RemoveSyntaxTrees
(withErrorTree1);
900
comp = comp.
RemoveSyntaxTrees
(withErrorTreeVB);
908
comp = comp.
RemoveSyntaxTrees
(withWarning);
938
comp = comp.AddSyntaxTrees(listSyntaxTree).
RemoveSyntaxTrees
(t2);
943
comp = comp.
RemoveSyntaxTrees
(t1).AddSyntaxTrees(listSyntaxTree).
RemoveSyntaxTrees
(t2);
970
comp1 = comp1.AddReferences(listRef).AddSyntaxTrees(t1).RemoveReferences().
RemoveSyntaxTrees
();
1575
comp.
RemoveSyntaxTrees
(null);
1609
comp = comp.
RemoveSyntaxTrees
(t3);
1622
comp.
RemoveSyntaxTrees
(new SyntaxTree[] { t4 }).GetSemanticModel(t4);
2100
var ar2 = arc.
RemoveSyntaxTrees
(tc);
2103
var c = arc.
RemoveSyntaxTrees
(ta, tr);
2106
var none1 = c.
RemoveSyntaxTrees
(tc);
Compilation\LoadDirectiveTests.cs (3)
117
compilation = compilation.
RemoveSyntaxTrees
(external2);
169
compilation = compilation.
RemoveSyntaxTrees
(newTree);
189
compilation = compilation.
RemoveSyntaxTrees
(newTree);
Symbols\CompilationCreationTests.cs (2)
2927
var compilation2 = compilation1.
RemoveSyntaxTrees
(treeList2);
2936
var compilation4 = compilation3.
RemoveSyntaxTrees
(treeList4);
Symbols\Source\DeclaringSyntaxNodeTests.cs (1)
761
var comp3 = comp2.
RemoveSyntaxTrees
(source0);