DeclarationCache.GetGenericParameterArray Method |
Namespace: PostSharp.Sdk.CodeModel
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public IList<ITypeSignature> GetGenericParameterArray( int length, GenericParameterKind kind )
Parameters
- length
- Type: System.Int32
Array length. - kind
- Type: PostSharp.Sdk.CodeModel.GenericParameterKind
Kind of generic parameter.
Return Value
Type: IList<ITypeSignature>An array of ITypeSignature that can be used to construct a generic type or method instance with generic parameters like <!0, !1, ..., !length> or <!!0, !!1, ..., !!length>