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
IsReferenceType
public override bool? IsReferenceType { get; }
Property Value
- bool?
Kind
Gets the type kind.
public override TypeKind Kind { get; }
Property Value
Name
public override string Name { get; }
Property Value
ReflectionName
public override string ReflectionName { get; }
Property Value
Methods
AcceptVisitor(TypeVisitor)
public override IType AcceptVisitor(TypeVisitor visitor)
Parameters
visitor
TypeVisitor
Returns
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
GetClassTypeParameter(int)
public static ITypeParameter GetClassTypeParameter(int index)
Parameters
index
int
Returns
GetMethodTypeParameter(int)
public static ITypeParameter GetMethodTypeParameter(int index)
Parameters
index
int
Returns
ToString()
public override string ToString()