Table of Contents

Class DynamicInstruction

Namespace
ICSharpCode.Decompiler.IL
Assembly
ICSharpCode.Decompiler.dll

Instruction representing a dynamic call site.

public abstract class DynamicInstruction : ILInstruction
Inheritance
DynamicInstruction
Derived
Inherited Members

Constructors

DynamicInstruction(OpCode)

protected DynamicInstruction(OpCode opCode)

Parameters

opCode OpCode

DynamicInstruction(OpCode, CSharpBinderFlags, IType?)

protected DynamicInstruction(OpCode opCode, CSharpBinderFlags binderFlags, IType? context)

Parameters

opCode OpCode
binderFlags CSharpBinderFlags
context IType

Properties

BinderFlags

public CSharpBinderFlags BinderFlags { get; }

Property Value

CSharpBinderFlags

CallingContext

public IType? CallingContext { get; }

Property Value

IType

DirectFlags

Gets the flags for this instruction only, without considering the child instructions.

public override InstructionFlags DirectFlags { get; }

Property Value

InstructionFlags

Methods

ComputeFlags()

protected override InstructionFlags ComputeFlags()

Returns

InstructionFlags

GetArgumentInfoOfChild(int)

public abstract CSharpArgumentInfo GetArgumentInfoOfChild(int index)

Parameters

index int

Returns

CSharpArgumentInfo

WriteBinderFlags(ITextOutput, ILAstWritingOptions)

protected void WriteBinderFlags(ITextOutput output, ILAstWritingOptions options)

Parameters

output ITextOutput
options ILAstWritingOptions