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
SymbolKindindex
int
Properties
Index
public int Index { get; }
Property Value
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
SymbolKindindex
int
Returns
Resolve(ITypeResolveContext)
public IType Resolve(ITypeResolveContext context)
Parameters
context
ITypeResolveContext
Returns
ToString()
public override string ToString()