18 references to GetDeclaredSymbol
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (3)
CodeGen\CodeGenTuples.vb (3)
17097Dim c1 = model.GetDeclaredSymbol(nodes.OfType(Of TypeBlockSyntax)().ElementAt(1)) 17103Dim c2 = model.GetDeclaredSymbol(nodes.OfType(Of TypeBlockSyntax)().ElementAt(2)) 17108Dim c3 = model.GetDeclaredSymbol(nodes.OfType(Of TypeBlockSyntax)().ElementAt(3))
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Completion\KeywordRecommenders\Declarations\ImplementsKeywordRecommender.vb (1)
38Dim typeSymbol = context.SemanticModel.GetDeclaredSymbol(typeBlock, cancellationToken)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (13)
Compilation\SemanticModelGetDeclaredSymbolAPITests.vb (4)
1772Assert.Equal(i1Symbol, model.GetDeclaredSymbol(DirectCast(i1Syntax.Parent, TypeBlockSyntax))) 1773Assert.Equal(i2Symbol, model.GetDeclaredSymbol(DirectCast(i2Syntax.Parent, TypeBlockSyntax))) 1774Assert.Equal(c1Symbol, model.GetDeclaredSymbol(DirectCast(c1Syntax.Parent, TypeBlockSyntax))) 1775Assert.Equal(c2Symbol, model.GetDeclaredSymbol(DirectCast(c2Syntax.Parent, TypeBlockSyntax)))
Semantics\PartialMethodsTest.vb (9)
66Dim ptSym01 = model1.GetDeclaredSymbol(pType01) 67Dim ptSym02 = model2.GetDeclaredSymbol(pType02) 146Dim ptSym01 = model1.GetDeclaredSymbol(pType01) 147Dim ptSym02 = model2.GetDeclaredSymbol(pType02) 228Dim ptSym01 = model1.GetDeclaredSymbol(pType01) 229Dim ptSym02 = model2.GetDeclaredSymbol(pType02) 362Dim ptSym01 = model1.GetDeclaredSymbol(pType01) 363Dim ptSym02 = model2.GetDeclaredSymbol(pType02) 364Dim ptSym03 = model2.GetDeclaredSymbol(pType02)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Recommendations\VisualBasicRecommendationServiceRunner.vb (1)
393Dim typeOrAssemblySymbol As ISymbol = _context.SemanticModel.GetDeclaredSymbol(typeBlock, _cancellationToken)