DeclarationCache.GetGenericParameter Method |
Namespace: PostSharp.Sdk.CodeModel
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public GenericParameterTypeSignature GetGenericParameter( int ordinal, GenericParameterKind kind )
Parameters
- ordinal
- Type: System.Int32
Ordinal (index) of the generic parameter. - kind
- Type: PostSharp.Sdk.CodeModel.GenericParameterKind
Kind (Type or Method of this generic parameter.
Return Value
Type: GenericParameterTypeSignatureA GenericParameterTypeSignature with the given ordinal and kind, valid in the current module.