Partilhar via


SemanticModel.GetEnclosingSymbolCore(Int32, CancellationToken) Método

Definição

Dada uma posição na SyntaxTree para este SemanticModel retorna o símbolo mais interno do qual a posição é considerada dentro.

protected abstract Microsoft.CodeAnalysis.ISymbol GetEnclosingSymbolCore (int position, System.Threading.CancellationToken cancellationToken = default);
protected abstract Microsoft.CodeAnalysis.ISymbol? GetEnclosingSymbolCore (int position, System.Threading.CancellationToken cancellationToken = default);
abstract member GetEnclosingSymbolCore : int * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.ISymbol
Protected MustOverride Function GetEnclosingSymbolCore (position As Integer, Optional cancellationToken As CancellationToken = Nothing) As ISymbol

Parâmetros

position
Int32
cancellationToken
CancellationToken

Retornos

Aplica-se a