25 references to GetDeclaredSymbol
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
SpeculationAnalyzer.vb (2)
312Dim originalParamType = Me.OriginalSemanticModel.GetDeclaredSymbol(originalParam).Type 313Dim replacedParamType = Me.SpeculativeSemanticModel.GetDeclaredSymbol(replacedParam).Type
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
ParameterSyntaxExtensions.vb (2)
25Dim oldSymbol = semanticModel.GetDeclaredSymbol(parameter, cancellationToken) 26Dim newSymbol = speculationAnalyzer.SpeculativeSemanticModel.GetDeclaredSymbol(newParameterSyntax, cancellationToken)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (16)
Compilation\SemanticModelAPITests.vb (3)
195Dim parasym = semanticModel.GetDeclaredSymbol(paras.First()) 982Dim parameterSymbol = speculativeModel.GetDeclaredSymbol(lambdaParam) 1709Dim parameterSymbol = speculativeModel.GetDeclaredSymbol(lambdaParam)
Compilation\SemanticModelGetDeclaredSymbolAPITests.vb (1)
1172Return semanticModel.GetDeclaredSymbol(syntax)
Semantics\AnonymousTypesTests.vb (3)
1496Dim symbol2 = model.GetDeclaredSymbol(node2) 1541Dim symbol2 = model.GetDeclaredSymbol(node2) 1586Dim symbol2 = model.GetDeclaredSymbol(node2)
Semantics\LambdaSemanticInfoTests.vb (1)
544Assert.Same(e, semanticModel.GetDeclaredSymbol(DirectCast(node1.Parent, ParameterSyntax)))
Semantics\PartialMethodsTest.vb (8)
89Dim ppSym01 = model1.GetDeclaredSymbol(pParam01) 90Dim ppSym02 = model2.GetDeclaredSymbol(pParam02) 251Dim ppSym01 = model1.GetDeclaredSymbol(pParam01) 252Dim ppSym02 = model2.GetDeclaredSymbol(pParam02) 1049Dim paraSym1 = model1.GetDeclaredSymbol(para1) 1050Dim paraSym2 = model2.GetDeclaredSymbol(para2) 1105Dim paraSym1 = model1.GetDeclaredSymbol(para1) 1106Dim paraSym2 = model2.GetDeclaredSymbol(para2)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (5)
ParameterSyntaxExtensions.vb (2)
25Dim oldSymbol = semanticModel.GetDeclaredSymbol(parameter, cancellationToken) 26Dim newSymbol = speculationAnalyzer.SpeculativeSemanticModel.GetDeclaredSymbol(newParameterSyntax, cancellationToken)
Simplification\VisualBasicSimplificationService.Expander.vb (1)
106Dim newNodeSymbol = _semanticModel.GetDeclaredSymbol(node)
SpeculationAnalyzer.vb (2)
312Dim originalParamType = Me.OriginalSemanticModel.GetDeclaredSymbol(originalParam).Type 313Dim replacedParamType = Me.SpeculativeSemanticModel.GetDeclaredSymbol(replacedParam).Type