3 overrides of GetDeclaredSymbol
Microsoft.CodeAnalysis.CSharp (3)
Compilation\MemberSemanticModel.cs (1)
633public override IMethodSymbol GetDeclaredSymbol(CompilationUnitSyntax declarationSyntax, CancellationToken cancellationToken = default)
Compilation\SpeculativeSemanticModelWithMemberModel.cs (1)
290public override IMethodSymbol GetDeclaredSymbol(CompilationUnitSyntax declarationSyntax, CancellationToken cancellationToken = default)
Compilation\SyntaxTreeSemanticModel.cs (1)
1466public override IMethodSymbol GetDeclaredSymbol(CompilationUnitSyntax declarationSyntax, CancellationToken cancellationToken = default)
2 references to GetDeclaredSymbol
Microsoft.CodeAnalysis.CSharp (2)
Compilation\CSharpSemanticModel.cs (1)
5140return this.GetDeclaredSymbol((CompilationUnitSyntax)node, cancellationToken);
CSharpExtensions.cs (1)
1354return csmodel?.GetDeclaredSymbol(declarationSyntax, cancellationToken);