Table of Contents

Class FullTypeNameSignatureDecoder

Namespace
ICSharpCode.Decompiler.Metadata
Assembly
ICSharpCode.Decompiler.dll
public sealed class FullTypeNameSignatureDecoder : ISignatureTypeProvider<FullTypeName, Unit>, IConstructedTypeProvider<FullTypeName>, ICustomAttributeTypeProvider<FullTypeName>, ISimpleTypeProvider<FullTypeName>, ISZArrayTypeProvider<FullTypeName>
Inheritance
FullTypeNameSignatureDecoder
Implements
Inherited Members

Constructors

FullTypeNameSignatureDecoder(MetadataReader)

public FullTypeNameSignatureDecoder(MetadataReader metadata)

Parameters

metadata MetadataReader

Methods

GetArrayType(FullTypeName, ArrayShape)

public FullTypeName GetArrayType(FullTypeName elementType, ArrayShape shape)

Parameters

elementType FullTypeName
shape ArrayShape

Returns

FullTypeName

GetByReferenceType(FullTypeName)

public FullTypeName GetByReferenceType(FullTypeName elementType)

Parameters

elementType FullTypeName

Returns

FullTypeName

GetFunctionPointerType(MethodSignature<FullTypeName>)

public FullTypeName GetFunctionPointerType(MethodSignature<FullTypeName> signature)

Parameters

signature MethodSignature<FullTypeName>

Returns

FullTypeName

GetGenericInstantiation(FullTypeName, ImmutableArray<FullTypeName>)

public FullTypeName GetGenericInstantiation(FullTypeName genericType, ImmutableArray<FullTypeName> typeArguments)

Parameters

genericType FullTypeName
typeArguments ImmutableArray<FullTypeName>

Returns

FullTypeName

GetGenericMethodParameter(Unit, int)

public FullTypeName GetGenericMethodParameter(Unit genericContext, int index)

Parameters

genericContext Unit
index int

Returns

FullTypeName

GetGenericTypeParameter(Unit, int)

public FullTypeName GetGenericTypeParameter(Unit genericContext, int index)

Parameters

genericContext Unit
index int

Returns

FullTypeName

GetModifiedType(FullTypeName, FullTypeName, bool)

public FullTypeName GetModifiedType(FullTypeName modifier, FullTypeName unmodifiedType, bool isRequired)

Parameters

modifier FullTypeName
unmodifiedType FullTypeName
isRequired bool

Returns

FullTypeName

GetPinnedType(FullTypeName)

public FullTypeName GetPinnedType(FullTypeName elementType)

Parameters

elementType FullTypeName

Returns

FullTypeName

GetPointerType(FullTypeName)

public FullTypeName GetPointerType(FullTypeName elementType)

Parameters

elementType FullTypeName

Returns

FullTypeName

GetPrimitiveType(PrimitiveTypeCode)

public FullTypeName GetPrimitiveType(PrimitiveTypeCode typeCode)

Parameters

typeCode PrimitiveTypeCode

Returns

FullTypeName

GetSZArrayType(FullTypeName)

public FullTypeName GetSZArrayType(FullTypeName elementType)

Parameters

elementType FullTypeName

Returns

FullTypeName

GetSystemType()

public FullTypeName GetSystemType()

Returns

FullTypeName

GetTypeFromDefinition(MetadataReader, TypeDefinitionHandle, byte)

public FullTypeName GetTypeFromDefinition(MetadataReader reader, TypeDefinitionHandle handle, byte rawTypeKind)

Parameters

reader MetadataReader
handle TypeDefinitionHandle
rawTypeKind byte

Returns

FullTypeName

GetTypeFromReference(MetadataReader, TypeReferenceHandle, byte)

public FullTypeName GetTypeFromReference(MetadataReader reader, TypeReferenceHandle handle, byte rawTypeKind)

Parameters

reader MetadataReader
handle TypeReferenceHandle
rawTypeKind byte

Returns

FullTypeName

GetTypeFromSerializedName(string)

public FullTypeName GetTypeFromSerializedName(string name)

Parameters

name string

Returns

FullTypeName

GetTypeFromSpecification(MetadataReader, Unit, TypeSpecificationHandle, byte)

public FullTypeName GetTypeFromSpecification(MetadataReader reader, Unit genericContext, TypeSpecificationHandle handle, byte rawTypeKind)

Parameters

reader MetadataReader
genericContext Unit
handle TypeSpecificationHandle
rawTypeKind byte

Returns

FullTypeName

GetUnderlyingEnumType(FullTypeName)

public PrimitiveTypeCode GetUnderlyingEnumType(FullTypeName type)

Parameters

type FullTypeName

Returns

PrimitiveTypeCode

IsSystemType(FullTypeName)

public bool IsSystemType(FullTypeName type)

Parameters

type FullTypeName

Returns

bool