Table of Contents

Struct GenericContext

Namespace
ICSharpCode.Decompiler.TypeSystem
Assembly
ICSharpCode.Decompiler.dll
public readonly struct GenericContext
Inherited Members

Constructors

GenericContext(IReadOnlyList<ITypeParameter>)

public GenericContext(IReadOnlyList<ITypeParameter> classTypeParameters)

Parameters

classTypeParameters IReadOnlyList<ITypeParameter>

GenericContext(IReadOnlyList<ITypeParameter>, IReadOnlyList<ITypeParameter>)

public GenericContext(IReadOnlyList<ITypeParameter> classTypeParameters, IReadOnlyList<ITypeParameter> methodTypeParameters)

Parameters

classTypeParameters IReadOnlyList<ITypeParameter>
methodTypeParameters IReadOnlyList<ITypeParameter>

Fields

ClassTypeParameters

public readonly IReadOnlyList<ITypeParameter> ClassTypeParameters

Field Value

IReadOnlyList<ITypeParameter>

MethodTypeParameters

public readonly IReadOnlyList<ITypeParameter> MethodTypeParameters

Field Value

IReadOnlyList<ITypeParameter>

Methods

GetClassTypeParameter(int)

public ITypeParameter GetClassTypeParameter(int index)

Parameters

index int

Returns

ITypeParameter

GetMethodTypeParameter(int)

public ITypeParameter GetMethodTypeParameter(int index)

Parameters

index int

Returns

ITypeParameter