ModelExtensions.GetMemberGroup 方法

定义

获取语法节点的方法或索引属性符号的列表。

public static System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISymbol> GetMemberGroup (this Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.SyntaxNode node, System.Threading.CancellationToken cancellationToken = default);
static member GetMemberGroup : Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.SyntaxNode * System.Threading.CancellationToken -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISymbol>
<Extension()>
Public Function GetMemberGroup (semanticModel As SemanticModel, node As SyntaxNode, Optional cancellationToken As CancellationToken = Nothing) As ImmutableArray(Of ISymbol)

参数

semanticModel
SemanticModel
node
SyntaxNode

要获取其语义信息的语法节点。

cancellationToken
CancellationToken

取消标记。

返回

适用于