Table of Contents

Class DisassemblerSignatureTypeProvider

Namespace
ICSharpCode.Decompiler.Disassembler
Assembly
ICSharpCode.Decompiler.dll
public class DisassemblerSignatureTypeProvider : ISignatureTypeProvider<Action<ILNameSyntax>, MetadataGenericContext>, ISimpleTypeProvider<Action<ILNameSyntax>>, IConstructedTypeProvider<Action<ILNameSyntax>>, ISZArrayTypeProvider<Action<ILNameSyntax>>
Inheritance
DisassemblerSignatureTypeProvider
Implements
Inherited Members

Constructors

DisassemblerSignatureTypeProvider(PEFile, ITextOutput)

public DisassemblerSignatureTypeProvider(PEFile module, ITextOutput output)

Parameters

module PEFile
output ITextOutput

Methods

GetArrayType(Action<ILNameSyntax>, ArrayShape)

public Action<ILNameSyntax> GetArrayType(Action<ILNameSyntax> elementType, ArrayShape shape)

Parameters

elementType Action<ILNameSyntax>
shape ArrayShape

Returns

Action<ILNameSyntax>

GetByReferenceType(Action<ILNameSyntax>)

public Action<ILNameSyntax> GetByReferenceType(Action<ILNameSyntax> elementType)

Parameters

elementType Action<ILNameSyntax>

Returns

Action<ILNameSyntax>

GetFunctionPointerType(MethodSignature<Action<ILNameSyntax>>)

public Action<ILNameSyntax> GetFunctionPointerType(MethodSignature<Action<ILNameSyntax>> signature)

Parameters

signature MethodSignature<Action<ILNameSyntax>>

Returns

Action<ILNameSyntax>

GetGenericInstantiation(Action<ILNameSyntax>, ImmutableArray<Action<ILNameSyntax>>)

public Action<ILNameSyntax> GetGenericInstantiation(Action<ILNameSyntax> genericType, ImmutableArray<Action<ILNameSyntax>> typeArguments)

Parameters

genericType Action<ILNameSyntax>
typeArguments ImmutableArray<Action<ILNameSyntax>>

Returns

Action<ILNameSyntax>

GetGenericMethodParameter(MetadataGenericContext, int)

public Action<ILNameSyntax> GetGenericMethodParameter(MetadataGenericContext genericContext, int index)

Parameters

genericContext MetadataGenericContext
index int

Returns

Action<ILNameSyntax>

GetGenericTypeParameter(MetadataGenericContext, int)

public Action<ILNameSyntax> GetGenericTypeParameter(MetadataGenericContext genericContext, int index)

Parameters

genericContext MetadataGenericContext
index int

Returns

Action<ILNameSyntax>

GetModifiedType(Action<ILNameSyntax>, Action<ILNameSyntax>, bool)

public Action<ILNameSyntax> GetModifiedType(Action<ILNameSyntax> modifier, Action<ILNameSyntax> unmodifiedType, bool isRequired)

Parameters

modifier Action<ILNameSyntax>
unmodifiedType Action<ILNameSyntax>
isRequired bool

Returns

Action<ILNameSyntax>

GetPinnedType(Action<ILNameSyntax>)

public Action<ILNameSyntax> GetPinnedType(Action<ILNameSyntax> elementType)

Parameters

elementType Action<ILNameSyntax>

Returns

Action<ILNameSyntax>

GetPointerType(Action<ILNameSyntax>)

public Action<ILNameSyntax> GetPointerType(Action<ILNameSyntax> elementType)

Parameters

elementType Action<ILNameSyntax>

Returns

Action<ILNameSyntax>

GetPrimitiveType(PrimitiveTypeCode)

public Action<ILNameSyntax> GetPrimitiveType(PrimitiveTypeCode typeCode)

Parameters

typeCode PrimitiveTypeCode

Returns

Action<ILNameSyntax>

GetSZArrayType(Action<ILNameSyntax>)

public Action<ILNameSyntax> GetSZArrayType(Action<ILNameSyntax> elementType)

Parameters

elementType Action<ILNameSyntax>

Returns

Action<ILNameSyntax>

GetTypeFromDefinition(MetadataReader, TypeDefinitionHandle, byte)

public Action<ILNameSyntax> GetTypeFromDefinition(MetadataReader reader, TypeDefinitionHandle handle, byte rawTypeKind)

Parameters

reader MetadataReader
handle TypeDefinitionHandle
rawTypeKind byte

Returns

Action<ILNameSyntax>

GetTypeFromReference(MetadataReader, TypeReferenceHandle, byte)

public Action<ILNameSyntax> GetTypeFromReference(MetadataReader reader, TypeReferenceHandle handle, byte rawTypeKind)

Parameters

reader MetadataReader
handle TypeReferenceHandle
rawTypeKind byte

Returns

Action<ILNameSyntax>

GetTypeFromSpecification(MetadataReader, MetadataGenericContext, TypeSpecificationHandle, byte)

public Action<ILNameSyntax> GetTypeFromSpecification(MetadataReader reader, MetadataGenericContext genericContext, TypeSpecificationHandle handle, byte rawTypeKind)

Parameters

reader MetadataReader
genericContext MetadataGenericContext
handle TypeSpecificationHandle
rawTypeKind byte

Returns

Action<ILNameSyntax>