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
StepLimit
public int StepLimit { get; set; }
Property Value
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
Steps
public IList<Stepper.Node> Steps { get; }
Property Value
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
stringnear
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
stringnear
ILInstruction