SymbolFinder.FindCallersAsync Method

Definition

Overloads

FindCallersAsync(ISymbol, Solution, CancellationToken)

Finds all the callers of a specified symbol.

FindCallersAsync(ISymbol, Solution, IImmutableSet<Document>, CancellationToken)

Finds all the callers of a specified symbol.

FindCallersAsync(ISymbol, Solution, CancellationToken)

Source:
SymbolFinder_Hierarchy.cs
Source:
SymbolFinder_Hierarchy.cs
Source:
SymbolFinder_Callers.cs
Source:
SymbolFinder_Callers.cs
Source:
SymbolFinder_Hierarchy.cs
Source:
SymbolFinder_Hierarchy.cs
Source:
SymbolFinder_Hierarchy.cs
Source:
SymbolFinder_Hierarchy.cs
Source:
SymbolFinder_Hierarchy.cs
Source:
SymbolFinder_Hierarchy_Legacy.cs
Source:
SymbolFinder_Callers.cs
Source:
SymbolFinder_Callers.cs
Source:
SymbolFinder_Callers.cs
Source:
SymbolFinder_Callers.cs
Source:
SymbolFinder_Callers.cs
Source:
SymbolFinder_Callers.cs
Source:
SymbolFinder_Callers.cs
Source:
SymbolFinder_Callers.cs
Source:
SymbolFinder_Callers.cs
Source:
SymbolFinder_Callers.cs
Source:
SymbolFinder_Callers.cs
Source:
SymbolFinder_Callers.cs
Source:
SymbolFinder_Callers.cs

Finds all the callers of a specified symbol.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.FindSymbols.SymbolCallerInfo>> FindCallersAsync (Microsoft.CodeAnalysis.ISymbol symbol, Microsoft.CodeAnalysis.Solution solution, System.Threading.CancellationToken cancellationToken = default);
static member FindCallersAsync : Microsoft.CodeAnalysis.ISymbol * Microsoft.CodeAnalysis.Solution * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.CodeAnalysis.FindSymbols.SymbolCallerInfo>>
Public Shared Function FindCallersAsync (symbol As ISymbol, solution As Solution, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of SymbolCallerInfo))

Parameters

symbol
ISymbol
solution
Solution
cancellationToken
CancellationToken

Returns

Applies to

FindCallersAsync(ISymbol, Solution, IImmutableSet<Document>, CancellationToken)

Source:
SymbolFinder.cs
Source:
SymbolFinder.cs
Source:
SymbolFinder.cs
Source:
SymbolFinder.cs
Source:
SymbolFinder.cs
Source:
SymbolFinder.cs
Source:
SymbolFinder.cs
Source:
SymbolFinder.cs
Source:
SymbolFinder.cs
Source:
SymbolFinder_Hierarchy_Legacy.cs
Source:
SymbolFinder.cs
Source:
SymbolFinder.cs
Source:
SymbolFinder.cs
Source:
SymbolFinder.cs
Source:
SymbolFinder.cs
Source:
SymbolFinder.cs
Source:
SymbolFinder.cs
Source:
SymbolFinder.cs
Source:
SymbolFinder.cs
Source:
SymbolFinder.cs
Source:
SymbolFinder.cs
Source:
SymbolFinder.cs
Source:
SymbolFinder.cs

Finds all the callers of a specified symbol.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.FindSymbols.SymbolCallerInfo>> FindCallersAsync (Microsoft.CodeAnalysis.ISymbol symbol, Microsoft.CodeAnalysis.Solution solution, System.Collections.Immutable.IImmutableSet<Microsoft.CodeAnalysis.Document> documents, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.FindSymbols.SymbolCallerInfo>> FindCallersAsync (Microsoft.CodeAnalysis.ISymbol symbol, Microsoft.CodeAnalysis.Solution solution, System.Collections.Immutable.IImmutableSet<Microsoft.CodeAnalysis.Document>? documents, System.Threading.CancellationToken cancellationToken = default);
static member FindCallersAsync : Microsoft.CodeAnalysis.ISymbol * Microsoft.CodeAnalysis.Solution * System.Collections.Immutable.IImmutableSet<Microsoft.CodeAnalysis.Document> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.CodeAnalysis.FindSymbols.SymbolCallerInfo>>
Public Shared Function FindCallersAsync (symbol As ISymbol, solution As Solution, documents As IImmutableSet(Of Document), Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of SymbolCallerInfo))

Parameters

symbol
ISymbol
solution
Solution
documents
IImmutableSet<Document>
cancellationToken
CancellationToken

Returns

Applies to