IMethodSymbol.TypeParameters 属性

定义

获取此方法上的类型参数。 如果方法没有泛型,则返回空列表。

public:
 property System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::ITypeParameterSymbol ^> TypeParameters { System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::ITypeParameterSymbol ^> get(); };
public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeParameterSymbol> TypeParameters { get; }
member this.TypeParameters : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeParameterSymbol>
Public ReadOnly Property TypeParameters As ImmutableArray(Of ITypeParameterSymbol)

属性值

适用于