Table of Contents

Class TypeParameterReference

Namespace
ICSharpCode.Decompiler.TypeSystem.Implementation
Assembly
ICSharpCode.Decompiler.dll
public sealed class TypeParameterReference : ITypeReference
Inheritance
TypeParameterReference
Implements
Inherited Members

Constructors

TypeParameterReference(SymbolKind, int)

public TypeParameterReference(SymbolKind ownerType, int index)

Parameters

ownerType SymbolKind
index int

Properties

Index

public int Index { get; }

Property Value

int

Methods

Create(SymbolKind, int)

Creates a type parameter reference. For common type parameter references, this method may return a shared instance.

public static TypeParameterReference Create(SymbolKind ownerType, int index)

Parameters

ownerType SymbolKind
index int

Returns

TypeParameterReference

Resolve(ITypeResolveContext)

public IType Resolve(ITypeResolveContext context)

Parameters

context ITypeResolveContext

Returns

IType

ToString()

public override string ToString()

Returns

string