Table of Contents

Interface ICilOperandResolver

Namespace
AsmResolver.PE.DotNet.Cil
Assembly
AsmResolver.PE.dll

Provides members for resolving raw operands of decoded CIL instructions to higher level representations.

public interface ICilOperandResolver

Methods

ResolveLocalVariable(int)

Resolves a local variable operand.

object? ResolveLocalVariable(int index)

Parameters

index int

The index of the local variable to resolve.

Returns

object

The local variable, or null if the index could not be resolved to a local variable.

ResolveMember(MetadataToken)

Resolves a member operand.

object? ResolveMember(MetadataToken token)

Parameters

token MetadataToken

The metadata token of the referenced member.

Returns

object

The member, or null if the metadata token could not be resolved to a member.

ResolveParameter(int)

Resolves a parameter operand.

object? ResolveParameter(int index)

Parameters

index int

The index of the parameter to resolve.

Returns

object

The parameter, or null if the index could not be resolved to a local variable.

ResolveString(MetadataToken)

Resolves a string operand.

object? ResolveString(MetadataToken token)

Parameters

token MetadataToken

The metadata token of the referenced string/

Returns

object

The string, or null if the metadata token could not be resolved to a string.