9 references to GetDeclaredSymbolForNode
Microsoft.CodeAnalysis (3)
Compilation\Extensions.cs (1)
131return semanticModel.GetDeclaredSymbolForNode(declaration, cancellationToken);
Compilation\SemanticModel.cs (2)
404/// Gets the symbols associated with a declaration syntax node. Unlike <see cref="GetDeclaredSymbolForNode(SyntaxNode, CancellationToken)"/>, 425/// Gets the symbols associated with a declaration syntax node. Unlike <see cref="GetDeclaredSymbolForNode(SyntaxNode, CancellationToken)"/>,
Microsoft.CodeAnalysis.CSharp (2)
Compilation\PublicSemanticModel.cs (1)
44DelegateDeclarationSyntax => GetDeclaredSymbolForNode(targetSyntax).GetSymbol(),
Compilation\SpeculativeSemanticModelWithMemberModel.cs (1)
64return model.GetDeclaredSymbolForNode(attributedNode).GetSymbol();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\RefExtensionMethodsTests.cs (4)
2147var symbol = (IParameterSymbol)model.GetDeclaredSymbolForNode(parameter.AsNode()); 2166var symbol = (IParameterSymbol)model.GetDeclaredSymbolForNode(parameter.AsNode()); 2185var symbol = (IParameterSymbol)model.GetDeclaredSymbolForNode(parameter.AsNode()); 2204var symbol = (IParameterSymbol)model.GetDeclaredSymbolForNode(parameter.AsNode());