Compartir a través de


SemanticModel.GetEnclosingSymbolCore(Int32, CancellationToken) Método

Definición

Dada una posición en el SintaxisTree para este SemanticModel, se devuelve el símbolo más interno del que se considera dentro de la posición.

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

Devoluciones

Se aplica a