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