Class StatementTransformContext
- Namespace
- ICSharpCode.Decompiler.IL.Transforms
- Assembly
- ICSharpCode.Decompiler.dll
Parameter class holding various arguments for Run(Block, int, StatementTransformContext).
public class StatementTransformContext : ILTransformContext
- Inheritance
-
StatementTransformContext
- Inherited Members
Constructors
StatementTransformContext(BlockTransformContext)
public StatementTransformContext(BlockTransformContext blockContext)
Parameters
blockContext
BlockTransformContext
Properties
Block
Gets the block on which the transform is running.
public Block Block { get; }
Property Value
BlockContext
public BlockTransformContext BlockContext { get; }
Property Value
Methods
RequestRerun()
After the current statement transform has completed, repeat all statement transforms on the current position.
public void RequestRerun()
RequestRerun(int)
After the current statement transform has completed, do not continue with the next statement transform at the same position. Instead, re-run all statement transforms (including the current transform) starting at the specified position.
public void RequestRerun(int pos)
Parameters
pos
int