다음을 통해 공유


CSharpExtensions.GetIndexerGroup 메서드

정의

지정된 식을 수신기로 사용하여 호출할 수 있는 숨겨진 인덱서가 아닌 액세스 가능한 인덱서 목록을 반환합니다.

public static System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.IPropertySymbol> GetIndexerGroup (this Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, System.Threading.CancellationToken cancellationToken = default);
public static System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.IPropertySymbol> GetIndexerGroup (this Microsoft.CodeAnalysis.SemanticModel? semanticModel, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, System.Threading.CancellationToken cancellationToken = default);
static member GetIndexerGroup : Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * System.Threading.CancellationToken -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.IPropertySymbol>
<Extension()>
Public Function GetIndexerGroup (semanticModel As SemanticModel, expression As ExpressionSyntax, Optional cancellationToken As CancellationToken = Nothing) As ImmutableArray(Of IPropertySymbol)

매개 변수

semanticModel
SemanticModel
expression
ExpressionSyntax
cancellationToken
CancellationToken

반환

적용 대상