Class StatementTransform
- Namespace
- ICSharpCode.Decompiler.IL.Transforms
- Assembly
- ICSharpCode.Decompiler.dll
Block transform that runs a list of statement transforms.
public class StatementTransform : IBlockTransform
- Inheritance
-
StatementTransform
- Implements
- Inherited Members
Constructors
StatementTransform(params IStatementTransform[])
public StatementTransform(params IStatementTransform[] children)
Parameters
children
IStatementTransform[]
Methods
Run(Block, BlockTransformContext)
Runs the transform on the specified block.
Note: the transform may only modify the specified block and its descendants, as well as any sibling blocks that are dominated by the specified block.
public void Run(Block block, BlockTransformContext context)
Parameters
block
Blockcontext
BlockTransformContext