SymbolFinder.FindCallersAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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_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.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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.