17 references to GetSymbol
Microsoft.CodeAnalysis.CSharp (17)
Compilation\CSharpSemanticModel.cs (4)
4113
Symbol symbol = iSymbol.
GetSymbol
();
4504
ParameterSymbol param = FindNamedParameter(containingInvocationInfo.Symbol.
GetSymbol
().GetParameters(), argumentName);
4521
ParameterSymbol param = FindNamedParameter(invocationSym.
GetSymbol
().GetParameters(), argumentName);
5151
return (GetSymbolInfo(tupleTypeSyntax, cancellationToken).Symbol.
GetSymbol
() as NamedTypeSymbol)?.TupleElements.ElementAtOrDefault(tupleTypeSyntax.Elements.IndexOf(declarationSyntax)).GetPublicSymbol();
Compilation\PublicSemanticModel.cs (2)
44
DelegateDeclarationSyntax => GetDeclaredSymbolForNode(targetSyntax).
GetSymbol
(),
45
AnonymousFunctionExpressionSyntax anonymousFunction => GetSymbolInfo(anonymousFunction).Symbol.
GetSymbol
(),
Compilation\SpeculativeSemanticModelWithMemberModel.cs (1)
64
return model.GetDeclaredSymbolForNode(attributedNode).
GetSymbol
();
Compilation\SyntaxTreeSemanticModel.cs (9)
2161
switch (parameterizedSymbol.
GetSymbol
())
2418
Debug.Assert((object)declaredSymbol.
GetSymbol
() == (object)entryPoint);
2423
Debug.Assert((object)declaredSymbol.
GetSymbol
() == (object)entryPoint.ContainingSymbol);
2438
Debug.Assert((object)declaredSymbol.
GetSymbol
() == (object)ctor);
2459
Debug.Assert((object)declaredSymbol.
GetSymbol
() == (object)ctor.ContainingSymbol);
2474
Debug.Assert((object)declaredSymbol.
GetSymbol
() == (object)ctor);
2487
Debug.Assert((object)declaredSymbol.
GetSymbol
() == (object)ctor.ContainingSymbol);
2500
if ((object)declaredSymbol.
GetSymbol
() == (object)ctor)
2508
Debug.Assert(declaredSymbol.
GetSymbol
() is SynthesizedRecordPropertySymbol);
FlowAnalysis\DataFlowsOutWalker.cs (1)
80
Symbol variableSymbol = variable.
GetSymbol
();