16 references to GetDeclaredSymbol
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Attributes\AttributeTests.vb (1)
2243
Dim m0 = semanticModel.
GetDeclaredSymbol
(root.DescendantNodes().OfType(Of MethodStatementSyntax)().Last())
Microsoft.CodeAnalysis.VisualBasic.Features (2)
CodeFixes\GenerateEvent\GenerateEventCodeFixProvider.vb (1)
383
Dim boundMethod = semanticModel.
GetDeclaredSymbol
(handlesClauseItem.GetAncestor(Of MethodStatementSyntax)(), cancellationToken)
GenerateMember\GenerateParameterizedMember\VisualBasicGenerateMethodService.vb (1)
59
methodSymbol = DirectCast(semanticModel.
GetDeclaredSymbol
(methodStatement, cancellationToken), IMethodSymbol)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (11)
Compilation\SemanticModelGetDeclaredSymbolAPITests.vb (10)
72
Dim symbol1 = model1.
GetDeclaredSymbol
(memberSyntax)
95
Dim symbol1 = model1.
GetDeclaredSymbol
(memberSyntax)
117
Dim symbol1 = model1.
GetDeclaredSymbol
(memberSyntax)
1681
Dim fSymbol1 = model.
GetDeclaredSymbol
(fSyntax1)
1689
Dim sSymbol = model.
GetDeclaredSymbol
(sSyntax)
1693
Dim fSymbol2 = model.
GetDeclaredSymbol
(fSyntax2)
2570
Dim memberSymbol = model1.
GetDeclaredSymbol
(memberSyntax)
2906
Dim fSymbol1 = model.
GetDeclaredSymbol
(fSyntax1)
2917
Dim fSymbol2 = newModel.
GetDeclaredSymbol
(fSyntax2)
2928
fSymbol2 = newModel.
GetDeclaredSymbol
(fSyntax2)
Semantics\PartialMethodsTest.vb (1)
283
Dim method = model.
GetDeclaredSymbol
(id)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
CaseCorrection\VisualBasicCaseCorrectionService.Rewriter.vb (1)
206
Dim methodSymbol = _semanticModel.
GetDeclaredSymbol
(methodDeclaration, _cancellationToken)
Classification\SyntaxClassification\NameSyntaxClassifier.vb (1)
282
Dim methodSymbol = semanticModel.
GetDeclaredSymbol
(methodStatement)