Base:
method
GetDeclaredSymbol
Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetDeclaredSymbol(Microsoft.CodeAnalysis.CSharp.Syntax.LocalFunctionStatementSyntax, System.Threading.CancellationToken)
3 references to GetDeclaredSymbol
Microsoft.CodeAnalysis.CSharp (3)
Compilation\MemberSemanticModel.cs (1)
852
var localFunction =
GetDeclaredSymbol
((LocalFunctionStatementSyntax)paramList.Parent, cancellationToken).GetSymbol<MethodSymbol>();
Compilation\SpeculativeSemanticModelWithMemberModel.cs (1)
282
return GetEnclosingMemberModel(declarationSyntax).
GetDeclaredSymbol
(declarationSyntax, cancellationToken);
Compilation\SyntaxTreeSemanticModel.cs (1)
1483
return this.GetMemberModel(declarationSyntax)?.
GetDeclaredSymbol
(declarationSyntax, cancellationToken);