Delen via


SymbolEditor.GetCurrentSymbolAsync(ISymbol, CancellationToken) Method

Definition

Gets the current symbol for a source symbol.

public System.Threading.Tasks.Task<Microsoft.CodeAnalysis.ISymbol> GetCurrentSymbolAsync (Microsoft.CodeAnalysis.ISymbol symbol, System.Threading.CancellationToken cancellationToken = default);
member this.GetCurrentSymbolAsync : Microsoft.CodeAnalysis.ISymbol * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.ISymbol>
Public Function GetCurrentSymbolAsync (symbol As ISymbol, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ISymbol)

Parameters

symbol
ISymbol
cancellationToken
CancellationToken

Returns

Applies to