4 references to ForTree
Microsoft.CodeAnalysis.VisualBasic (1)
Compilation\VisualBasicCompilation.vb (1)
991
Return DeclarationTreeBuilder.
ForTree
(tree, options.GetRootNamespaceParts(), If(options.ScriptClassName, ""), isSubmission)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (3)
Parser\DeclarationTests.vb (3)
52
Dim decl1 = DeclarationTreeBuilder.
ForTree
(tree1, rootNamespace, TestOptions.ReleaseDll.ScriptClassName, isSubmission:=False)
53
Dim decl2 = DeclarationTreeBuilder.
ForTree
(tree2, rootNamespace, TestOptions.ReleaseDll.ScriptClassName, isSubmission:=False)
194
Dim decl1 = DeclarationTreeBuilder.
ForTree
(tree1, {"Goo", "Bar"}.AsImmutableOrNull(), TestOptions.ReleaseDll.ScriptClassName, isSubmission:=False)