14 references to GetDeclaredSymbol
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\SemanticModelExtensions.cs (1)
24
? semanticModel.
GetDeclaredSymbol
(namespaceDeclaration, cancellationToken)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (12)
Compilation\SemanticModelAPITests.cs (1)
408
var symbol = model.
GetDeclaredSymbol
(nsSyntax);
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (10)
106
var symbol = model.
GetDeclaredSymbol
(decl);
940
var nsSymbol = model.
GetDeclaredSymbol
(nsDecl);
960
var nsSymbol01 = model.
GetDeclaredSymbol
(nsDecl);
2913
var dn1 = model.
GetDeclaredSymbol
(nsSyntax);
2916
var dn23 = model.
GetDeclaredSymbol
(nsSyntax23);
2940
var declsym = model.
GetDeclaredSymbol
(nsSyntax);
3117
var dsym1 = model.
GetDeclaredSymbol
(nsSyntax1);
3118
var dsym2 = model.
GetDeclaredSymbol
(nsSyntax2);
3740
var declSymbol = model.
GetDeclaredSymbol
(decl);
3752
var declSymbol2 = model.
GetDeclaredSymbol
(decl2);
Symbols\ImplicitClassTests.cs (1)
119
Assert.Equal("A", model.
GetDeclaredSymbol
(namespaceDecl).Name);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\SemanticModelExtensions.cs (1)
24
? semanticModel.
GetDeclaredSymbol
(namespaceDeclaration, cancellationToken)