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