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