Compartilhar via


ModelExtensions.GetMemberGroup Method

Definition

Gets a list of method or indexed property symbols for a syntax node.

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)

Parameters

semanticModel
SemanticModel
node
SyntaxNode

The syntax node to get semantic information for.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to