Table of Contents

Class Stepper

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

Helper class that manages recording transform steps.

public class Stepper
Inheritance
Stepper
Inherited Members

Constructors

Stepper()

public Stepper()

Properties

IsDebug

public bool IsDebug { get; set; }

Property Value

bool

StepLimit

public int StepLimit { get; set; }

Property Value

int

SteppingAvailable

Gets whether stepping of built-in transforms is supported in this build of ICSharpCode.Decompiler. Usually only debug builds support transform stepping.

public static bool SteppingAvailable { get; }

Property Value

bool

Steps

public IList<Stepper.Node> Steps { get; }

Property Value

IList<Stepper.Node>

Methods

EndGroup(bool)

public void EndGroup(bool keepIfEmpty = false)

Parameters

keepIfEmpty bool

StartGroup(string, ILInstruction?)

public void StartGroup(string description, ILInstruction? near = null)

Parameters

description string
near ILInstruction

Step(string, ILInstruction?)

Call this method immediately before performing a transform step. Used for debugging the IL transforms. Has no effect in release mode.

May throw StepLimitReachedException in debug mode.

public void Step(string description, ILInstruction? near = null)

Parameters

description string
near ILInstruction