75 references to GetTree
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (5)
CodeGen\CodeGenEvents.vb (1)
989Dim treeA = CompilationUtils.GetTree(vbexeCompilation, "")
Emit\CompilationEmitTests.vb (4)
136CompilationUtils.AssertTheseDiagnostics(compilation.GetSemanticModel(CompilationUtils.GetTree(compilation, "a.vb")).GetDeclarationDiagnostics(), 143CompilationUtils.AssertTheseDiagnostics(compilation.GetSemanticModel(CompilationUtils.GetTree(compilation, "b.vb")).GetDeclarationDiagnostics(), 212CompilationUtils.AssertTheseDiagnostics(compilation.GetSemanticModel(CompilationUtils.GetTree(compilation, "a.vb")).GetDiagnostics(), 225CompilationUtils.AssertTheseDiagnostics(compilation.GetSemanticModel(CompilationUtils.GetTree(compilation, "b.vb")).GetDiagnostics(),
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (50)
Binding\BindingScopeTests.vb (1)
17Dim tree As SyntaxTree = CompilationUtils.GetTree(comp, treeName)
Binding\LookupTests.vb (1)
24Dim tree As SyntaxTree = CompilationUtils.GetTree(compilation, treeName)
Compilation\SemanticModelGetDeclaredSymbolAPITests.vb (31)
660Dim treeA = CompilationUtils.GetTree(compilation, "a.vb") 663Dim treeB = CompilationUtils.GetTree(compilation, "b.vb") 754Dim tree As SyntaxTree = CompilationUtils.GetTree(compilation, treeName) 831Dim treeA = CompilationUtils.GetTree(compilation, "a.vb") 834Dim treeB = CompilationUtils.GetTree(compilation, "b.vb") 908Dim tree As SyntaxTree = CompilationUtils.GetTree(compilation, treeName) 1002Dim treeA = CompilationUtils.GetTree(compilation, "a.vb") 1005Dim treeB = CompilationUtils.GetTree(compilation, "b.vb") 1085Dim tree = CompilationUtils.GetTree(compilation, "c.vb") 1146Dim tree = CompilationUtils.GetTree(compilation, "a.vb") 1164Dim tree As SyntaxTree = CompilationUtils.GetTree(compilation, treeName) 1180Dim tree As SyntaxTree = CompilationUtils.GetTree(compilation, treeName) 1244Dim treeA = CompilationUtils.GetTree(compilation, "a.vb") 1247Dim treeB = CompilationUtils.GetTree(compilation, "b.vb") 1313Dim tree = CompilationUtils.GetTree(compilation, "a.vb") 1362Dim treeA = CompilationUtils.GetTree(compilation, file) 1418Dim treeA = CompilationUtils.GetTree(compilation, "a.vb") 1632Dim treeA = CompilationUtils.GetTree(compilation, "a.vb") 1785Dim tree As SyntaxTree = CompilationUtils.GetTree(compilation, treeName) 1836Dim treeA = CompilationUtils.GetTree(compilation, "a.vb") 1839Dim treeB = CompilationUtils.GetTree(compilation, "b.vb") 1898Dim tree As SyntaxTree = CompilationUtils.GetTree(compilation, treeName) 1925Dim tree = CompilationUtils.GetTree(compilation, "a.vb") 2008Dim treeA = CompilationUtils.GetTree(compilation, "a.vb") 2011Dim treeB = CompilationUtils.GetTree(compilation, "b.vb") 2132Dim tree = CompilationUtils.GetTree(compilation, "a.vb") 2496Dim treeA = CompilationUtils.GetTree(compilation, "a.vb") 2538Dim treeA = CompilationUtils.GetTree(compilation, "a.vb") 2601Dim treeA = CompilationUtils.GetTree(compilation, "a.vb") 2605Dim treeB = CompilationUtils.GetTree(compilation, "b.vb") 2708Dim tree = CompilationUtils.GetTree(compilation, "a.vb")
Semantics\GetExtendedSemanticInfoTests.vb (1)
2485Dim semanticModel = compilation.GetSemanticModel(CompilationUtils.GetTree(compilation, "a.vb"))
Semantics\GetSemanticInfoTests.vb (9)
3926Dim treeA = CompilationUtils.GetTree(compilation, "a.vb") 4039Dim treeA = CompilationUtils.GetTree(compilation, "a.vb") 4069Dim treeA = CompilationUtils.GetTree(compilation, "a.vb") 4112Dim treeA = CompilationUtils.GetTree(compilation, "a.vb") 4158Dim treeA = CompilationUtils.GetTree(compilation, "a.vb") 4167Dim treeB = CompilationUtils.GetTree(compilation, "b.vb") 4395Dim treeA = CompilationUtils.GetTree(compilation, "a.vb") 4426Dim tree As SyntaxTree = CompilationUtils.GetTree(compilation, treeName) 4697Dim treeA As SyntaxTree = CompilationUtils.GetTree(compilation, "a.vb")
Semantics\VariableTypeInference.vb (7)
269Dim tree = CompilationUtils.GetTree(compilation, "inferOff.vb") 305Dim tree = CompilationUtils.GetTree(compilation, "inferOn.vb") 337Dim tree = CompilationUtils.GetTree(compilation, "inferOn.vb") 366Dim tree = CompilationUtils.GetTree(compilation, "inferOn.vb") 400Dim tree = CompilationUtils.GetTree(compilation, "inferOn.vb") 471Dim tree = CompilationUtils.GetTree(compilation, "TestInferredTypes.vb") 536Dim tree = CompilationUtils.GetTree(compilation, "TestInferredTypes.vb")
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (13)
SymbolsTests\Source\BindingsTests.vb (12)
22Dim tree As SyntaxTree = CompilationUtils.GetTree(compilation, treeName) 112Dim treeA = CompilationUtils.GetTree(compilation, "a.vb") 115Dim treeB = CompilationUtils.GetTree(compilation, "b.vb") 231Dim treeA = CompilationUtils.GetTree(compilation, "a.vb") 336Dim treeA = CompilationUtils.GetTree(compilation, "a.vb") 339Dim treeB = CompilationUtils.GetTree(compilation, "b.vb") 458Dim treeA = CompilationUtils.GetTree(compilation, "a.vb") 461Dim treeB = CompilationUtils.GetTree(compilation, "b.vb") 564Dim treeA = CompilationUtils.GetTree(compilation, "a.vb") 599Dim treeA = CompilationUtils.GetTree(compilation, "a.vb") 664Dim treeA = CompilationUtils.GetTree(compilation, "a.vb") 706Dim treeA = CompilationUtils.GetTree(compilation, "a.vb")
SymbolsTests\Source\PropertyTests.vb (1)
3795Dim bindings = compilation.GetSemanticModel(CompilationUtils.GetTree(compilation, "a.vb"))
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (7)
CompilationTestUtils.vb (5)
1074Dim tree = CompilationUtils.GetTree(compilation, treeName) 1088Dim tree = CompilationUtils.GetTree(compilation, treeName) 1102Dim tree = CompilationUtils.GetTree(compilation, treeName) 1116Dim tree = CompilationUtils.GetTree(compilation, treeName) 1161Dim tree = CompilationUtils.GetTree(compilation, treeName)
SemanticModelTestBase.vb (2)
16Dim tree = CompilationUtils.GetTree(compilation, treeName) 22Dim tree = CompilationUtils.GetTree(compilation, treeName)