Table of Contents

Class DummyTypeParameter

Namespace
ICSharpCode.Decompiler.TypeSystem.Implementation
Assembly
ICSharpCode.Decompiler.dll
public sealed class DummyTypeParameter : AbstractType, ITypeParameter, IType, INamedElement, IEquatable<IType>, ISymbol
Inheritance
DummyTypeParameter
Implements
Inherited Members
Extension Methods

Properties

Index

Gets the index of the type parameter in the type parameter list of the owning method/class.

public int Index { get; }

Property Value

int

IsReferenceType

public override bool? IsReferenceType { get; }

Property Value

bool?

Kind

Gets the type kind.

public override TypeKind Kind { get; }

Property Value

TypeKind

Name

public override string Name { get; }

Property Value

string

ReflectionName

public override string ReflectionName { get; }

Property Value

string

Methods

AcceptVisitor(TypeVisitor)

public override IType AcceptVisitor(TypeVisitor visitor)

Parameters

visitor TypeVisitor

Returns

IType

ChangeNullability(Nullability)

Creates a new type that is a copy of this type, with the changed nullability annotation.

public override IType ChangeNullability(Nullability nullability)

Parameters

nullability Nullability

Returns

IType

GetClassTypeParameter(int)

public static ITypeParameter GetClassTypeParameter(int index)

Parameters

index int

Returns

ITypeParameter

GetMethodTypeParameter(int)

public static ITypeParameter GetMethodTypeParameter(int index)

Parameters

index int

Returns

ITypeParameter

ToString()

public override string ToString()

Returns

string