SymbolFinder.FindOverridesAsync 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.
Find symbols for members that override the specified member symbol.
public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.ISymbol>> FindOverridesAsync(Microsoft.CodeAnalysis.ISymbol symbol, Microsoft.CodeAnalysis.Solution solution, System.Collections.Immutable.IImmutableSet<Microsoft.CodeAnalysis.Project> projects = default, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.ISymbol>> FindOverridesAsync(Microsoft.CodeAnalysis.ISymbol symbol, Microsoft.CodeAnalysis.Solution solution, System.Collections.Immutable.IImmutableSet<Microsoft.CodeAnalysis.Project>? projects = default, System.Threading.CancellationToken cancellationToken = default);
static member FindOverridesAsync : Microsoft.CodeAnalysis.ISymbol * Microsoft.CodeAnalysis.Solution * System.Collections.Immutable.IImmutableSet<Microsoft.CodeAnalysis.Project> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.CodeAnalysis.ISymbol>>
Public Shared Function FindOverridesAsync (symbol As ISymbol, solution As Solution, Optional projects As IImmutableSet(Of Project) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of ISymbol))
Parameters
- symbol
- ISymbol
- solution
- Solution
- projects
- IImmutableSet<Project>
- cancellationToken
- CancellationToken