9 references to GetDeclaredSymbolForNode
Microsoft.CodeAnalysis (3)
Compilation\Extensions.cs (1)
131
return 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)
44
DelegateDeclarationSyntax =>
GetDeclaredSymbolForNode
(targetSyntax).GetSymbol(),
Compilation\SpeculativeSemanticModelWithMemberModel.cs (1)
64
return model.
GetDeclaredSymbolForNode
(attributedNode).GetSymbol();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\RefExtensionMethodsTests.cs (4)
2147
var symbol = (IParameterSymbol)model.
GetDeclaredSymbolForNode
(parameter.AsNode());
2166
var symbol = (IParameterSymbol)model.
GetDeclaredSymbolForNode
(parameter.AsNode());
2185
var symbol = (IParameterSymbol)model.
GetDeclaredSymbolForNode
(parameter.AsNode());
2204
var symbol = (IParameterSymbol)model.
GetDeclaredSymbolForNode
(parameter.AsNode());