5 references to GetDeclaredSymbol
Microsoft.CodeAnalysis.CSharp (1)
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (1)
366
var declaredAccessor = getSymbol ? (model.
GetDeclaredSymbol
(declarationWithExpressionBody, cancellationToken) as IPropertySymbol)?.GetMethod : null;
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (1)
366
var declaredAccessor = getSymbol ? (model.
GetDeclaredSymbol
(declarationWithExpressionBody, cancellationToken) as IPropertySymbol)?.GetMethod : null;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (3)
431
var symbol = model.
GetDeclaredSymbol
(node);
453
var symbol = model.
GetDeclaredSymbol
(node);
475
var symbol = model.
GetDeclaredSymbol
(node);