共用方式為


SemanticModel.GetSymbolInfoCore(SyntaxNode, CancellationToken) 方法

定義

取得語法節點的符號資訊。

protected abstract Microsoft.CodeAnalysis.SymbolInfo GetSymbolInfoCore (Microsoft.CodeAnalysis.SyntaxNode node, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSymbolInfoCore : Microsoft.CodeAnalysis.SyntaxNode * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SymbolInfo
Protected MustOverride Function GetSymbolInfoCore (node As SyntaxNode, Optional cancellationToken As CancellationToken = Nothing) As SymbolInfo

參數

node
SyntaxNode

要取得語意資訊的語法節點。

cancellationToken
CancellationToken

可用來取消取得語意資訊的處理常式的解除標記。

傳回

適用於