1 write to DeclaredSymbol
Microsoft.CodeAnalysis (1)
DeclarationInfo.cs (1)
26
DeclaredSymbol
= declaredSymbol;
14 references to DeclaredSymbol
Microsoft.CodeAnalysis (5)
Compilation\SemanticModel.cs (2)
865
/// <param name="getSymbol">Flag indicating whether <see cref="DeclarationInfo.
DeclaredSymbol
"/> should be computed for the returned declaration infos.
866
/// If false, then <see cref="DeclarationInfo.
DeclaredSymbol
"/> is always null.</param>
DiagnosticAnalyzer\AnalyzerDriver.cs (3)
1258
var symbol = declarationInfo.
DeclaredSymbol
;
2736
if (IsEquivalentSymbol(declaredSymbol, declInNode.
DeclaredSymbol
))
2748
var declaredSymbolOfDeclInNode = declInNode.
DeclaredSymbol
?? semanticModel.GetDeclaredSymbol(declInNode.DeclaredNode, analyzerExecutor.CancellationToken);
Microsoft.CodeAnalysis.CSharp (1)
CSharpDeclarationComputer.cs (1)
90
INamespaceSymbol nsSymbol = declInfo.
DeclaredSymbol
as INamespaceSymbol;
Microsoft.CodeAnalysis.Test.Utilities (7)
Compilation\CompilationExtensions.cs (7)
208
foreach (DeclarationInfo declaration in declarationsBuilder.ToArrayAndFree().Where(d => d.
DeclaredSymbol
!= null).OrderBy(d => d.
DeclaredSymbol
.ToTestDisplayString()))
210
if (!CanHaveExecutableCodeBlock(declaration.
DeclaredSymbol
))
215
if (skipImplicitlyDeclaredSymbols && declaration.
DeclaredSymbol
.IsImplicitlyDeclared)
220
if (!string.IsNullOrEmpty(symbolToVerify) && !declaration.
DeclaredSymbol
.Name.Equals(symbolToVerify, StringComparison.Ordinal))
225
actualTextBuilder.Append(declaration.
DeclaredSymbol
.ToTestDisplayString());
235
if (declaration.
DeclaredSymbol
.Kind == SymbolKind.Method && compilation.Language == LanguageNames.VisualBasic)
Microsoft.CodeAnalysis.VisualBasic (1)
VisualBasicDeclarationComputer.vb (1)
66
Dim nsSymbol = declInfo.
DeclaredSymbol