3 overrides of GetDeclaredSymbol
Microsoft.CodeAnalysis.CSharp (3)
Compilation\MemberSemanticModel.cs (1)
686public override ISymbol GetDeclaredSymbol(SingleVariableDesignationSyntax declarationSyntax, CancellationToken cancellationToken = default(CancellationToken))
Compilation\SpeculativeSemanticModelWithMemberModel.cs (1)
335public override ISymbol GetDeclaredSymbol(SingleVariableDesignationSyntax declarationSyntax, CancellationToken cancellationToken = default(CancellationToken))
Compilation\SyntaxTreeSemanticModel.cs (1)
1854public override ISymbol GetDeclaredSymbol(SingleVariableDesignationSyntax declarationSyntax, CancellationToken cancellationToken = default(CancellationToken))
4 references to GetDeclaredSymbol
Microsoft.CodeAnalysis.CSharp (4)
Compilation\CSharpSemanticModel.cs (3)
564var symbol = GetDeclaredSymbol((SingleVariableDesignationSyntax)declaration.Designation, cancellationToken); 591var variable = GetDeclaredSymbol(variableDesignation, cancellationToken); 5112return this.GetDeclaredSymbol((SingleVariableDesignationSyntax)node, cancellationToken);
CSharpExtensions.cs (1)
1502return csmodel?.GetDeclaredSymbol(designationSyntax, cancellationToken);