10 references to DeclarationInfo
Microsoft.CodeAnalysis.Features (10)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.cs (1)
306
var declsBuilder = ArrayBuilder<
DeclarationInfo
>.GetInstance();
Diagnostics\IAnalyzerDriverService.cs (4)
17
/// Computes the <see cref="
DeclarationInfo
"/> for all the declarations whose span overlaps with the given <paramref name="span"/>.
21
/// <param name="getSymbol">Flag indicating whether <see cref="
DeclarationInfo
.DeclaredSymbol"/> should be computed for the returned declaration infos.
22
/// If false, then <see cref="
DeclarationInfo
.DeclaredSymbol"/> is always null.</param>
25
void ComputeDeclarationsInSpan(SemanticModel model, TextSpan span, bool getSymbol, ArrayBuilder<
DeclarationInfo
> builder, CancellationToken cancellationToken);
src\Compilers\Core\AnalyzerDriver\DeclarationComputer.cs (5)
15
internal static
DeclarationInfo
GetDeclarationInfo(SemanticModel model, SyntaxNode node, bool getSymbol, IEnumerable<SyntaxNode>? executableCodeBlocks, CancellationToken cancellationToken)
21
internal static
DeclarationInfo
GetDeclarationInfo(SyntaxNode node, ISymbol? declaredSymbol, IEnumerable<SyntaxNode>? executableCodeBlocks)
27
internal static
DeclarationInfo
GetDeclarationInfo(SemanticModel model, SyntaxNode node, bool getSymbol, CancellationToken cancellationToken)
32
internal static
DeclarationInfo
GetDeclarationInfo(SemanticModel model, SyntaxNode node, bool getSymbol, SyntaxNode executableCodeBlock, CancellationToken cancellationToken)
37
internal static
DeclarationInfo
GetDeclarationInfo(SemanticModel model, SyntaxNode node, bool getSymbol, CancellationToken cancellationToken, params SyntaxNode[] executableCodeBlocks)