45 references to AddSyntaxTrees
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (1)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (30)
Compilation\CompilationAPITests.vb (24)
663comp = comp.AddSyntaxTrees(withErrorTreeCS)
684comp = comp.AddSyntaxTrees(withErrorTreeCS)
690comp = comp.AddSyntaxTrees(t1, withErrorTree, withErrorTree1, withErrorTreeCS)
698comp = comp.AddSyntaxTrees(t1)
701comp = comp.AddSyntaxTrees(VisualBasicSyntaxTree.ParseText(s4))
709comp = comp.AddSyntaxTrees(t1).ReplaceSyntaxTree(t1, t1)
715Assert.Throws(Of ArgumentException)(Sub() comp.AddSyntaxTrees(t1))
742Assert.Throws(Of ArgumentException)(Sub() compCollection = compCollection.AddSyntaxTrees(t4, t5).RemoveSyntaxTrees(col))
753Assert.Throws(Of ArgumentException)(Sub() compCollection = compCollection.AddSyntaxTrees(t4, t6).RemoveSyntaxTrees(stack))
764Assert.Throws(Of ArgumentException)(Sub() compCollection = compCollection.AddSyntaxTrees(t4, t6).RemoveSyntaxTrees(queue))
772Assert.Throws(Of ArgumentException)(Sub() comp.AddSyntaxTrees(withExpressionRootTree))
800comp = comp.AddSyntaxTrees({t2})
809comp = comp.AddSyntaxTrees({t2})
826comp = comp.AddSyntaxTrees().RemoveSyntaxTrees(listSyntaxTree)
1301Assert.Throws(Of ArgumentException)(Sub() comp.AddSyntaxTrees(t1, t1))
1376Assert.Throws(Of ArgumentNullException)(Sub() comp.AddSyntaxTrees(Nothing))
1382comp = comp.AddSyntaxTrees(tree).ReplaceSyntaxTree(tree, Nothing)
1397Dim invalidCastSynTreeEx = Assert.Throws(Of InvalidCastException)(Sub() comp = comp.AddSyntaxTrees(CType(t3, VisualBasicSyntaxTree)))
1601compilation = compilation.AddSyntaxTrees(tree)
2336Dim ab = a.AddSyntaxTrees(tb)
2339Dim ac = a.AddSyntaxTrees(tc)
2342Dim ar = a.AddSyntaxTrees(tr)
2345Dim arc = ar.AddSyntaxTrees(tc)
2453Dim c3 = c2.AddSyntaxTrees(Parse("Public Class Main2 : Public Shared A As Integer : End Class"))
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (4)
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (6)