1 write to DeclaredSymbol
Microsoft.CodeAnalysis (1)
DeclarationInfo.cs (1)
26DeclaredSymbol = 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)
1258var symbol = declarationInfo.DeclaredSymbol; 2736if (IsEquivalentSymbol(declaredSymbol, declInNode.DeclaredSymbol)) 2748var declaredSymbolOfDeclInNode = declInNode.DeclaredSymbol ?? semanticModel.GetDeclaredSymbol(declInNode.DeclaredNode, analyzerExecutor.CancellationToken);
Microsoft.CodeAnalysis.CSharp (1)
CSharpDeclarationComputer.cs (1)
90INamespaceSymbol nsSymbol = declInfo.DeclaredSymbol as INamespaceSymbol;
Microsoft.CodeAnalysis.Test.Utilities (7)
Compilation\CompilationExtensions.cs (7)
208foreach (DeclarationInfo declaration in declarationsBuilder.ToArrayAndFree().Where(d => d.DeclaredSymbol != null).OrderBy(d => d.DeclaredSymbol.ToTestDisplayString())) 210if (!CanHaveExecutableCodeBlock(declaration.DeclaredSymbol)) 215if (skipImplicitlyDeclaredSymbols && declaration.DeclaredSymbol.IsImplicitlyDeclared) 220if (!string.IsNullOrEmpty(symbolToVerify) && !declaration.DeclaredSymbol.Name.Equals(symbolToVerify, StringComparison.Ordinal)) 225actualTextBuilder.Append(declaration.DeclaredSymbol.ToTestDisplayString()); 235if (declaration.DeclaredSymbol.Kind == SymbolKind.Method && compilation.Language == LanguageNames.VisualBasic)
Microsoft.CodeAnalysis.VisualBasic (1)
VisualBasicDeclarationComputer.vb (1)
66Dim nsSymbol = declInfo.DeclaredSymbol