26 references to RemoveSyntaxTrees
Microsoft.CodeAnalysis.VisualBasic (2)
Compilation\VisualBasicCompilation.vb (2)
1076
Return Me.
RemoveSyntaxTrees
(oldTree)
2754
Return Me.
RemoveSyntaxTrees
(array)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (21)
Compilation\CompilationAPITests.vb (20)
671
comp = comp.
RemoveSyntaxTrees
(withErrorTreeCS)
687
comp = comp.
RemoveSyntaxTrees
(withErrorTreeCS)
691
comp = comp.
RemoveSyntaxTrees
(t1, withErrorTree, withErrorTree1, withErrorTreeCS)
718
Assert.Throws(Of ArgumentException)(Sub() comp = comp.
RemoveSyntaxTrees
(VisualBasicSyntaxTree.ParseText(s4)))
722
Assert.Throws(Of ArgumentException)(Sub() comp = comp.
RemoveSyntaxTrees
(withErrorTree))
734
compCollection = compCollection.AddSyntaxTrees(hs).
RemoveSyntaxTrees
(t4, t5, t6)
740
compCollection = compCollection.
RemoveSyntaxTrees
(t4, t5, t6)
751
compCollection = compCollection.
RemoveSyntaxTrees
(t4, t6, t5)
762
compCollection = compCollection.
RemoveSyntaxTrees
(t4, t6, t5)
794
comp = comp.AddSyntaxTrees(listSyntaxTree).
RemoveSyntaxTrees
(t2)
807
comp = comp.
RemoveSyntaxTrees
({t2})
815
comp = VisualBasicCompilation.Create("Compilation").AddSyntaxTrees(listSyntaxTree).
RemoveSyntaxTrees
({t2})
821
comp = comp.
RemoveSyntaxTrees
(t1).AddSyntaxTrees(listSyntaxTree).
RemoveSyntaxTrees
(t2)
847
comp1 = comp1.AddReferences(listRef).AddSyntaxTrees(listSyntaxTree).RemoveReferences().
RemoveSyntaxTrees
()
1379
Assert.Throws(Of ArgumentNullException)(Sub() comp.
RemoveSyntaxTrees
(Nothing))
1398
invalidCastSynTreeEx = Assert.Throws(Of InvalidCastException)(Sub() comp = comp.
RemoveSyntaxTrees
(CType(t3, VisualBasicSyntaxTree)))
2350
Dim ar2 = arc.
RemoveSyntaxTrees
(tc)
2353
Dim c = arc.
RemoveSyntaxTrees
(ta, tr)
2356
Dim none1 = c.
RemoveSyntaxTrees
(tc)
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.vb (1)
1168
driver = driver.RunGenerators(compilation.
RemoveSyntaxTrees
(compilation.SyntaxTrees.Last()))
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (3)
SymbolsTests\CompilationCreationTests.vb (2)
2115
Dim compilation2 = compilation1.
RemoveSyntaxTrees
(treeList2)
2124
Dim compilation4 = compilation3.
RemoveSyntaxTrees
(treeList4)
SymbolsTests\Source\SourceSymbolTests.vb (1)
685
Dim comp3 = comp2.
RemoveSyntaxTrees
(source0)