Пример #1
0
 public BlockStatement Process(DecompilationContext context, BlockStatement body)
 {
     this.moveNextMethodContext = context.get_MethodContext();
     this.theCFG = this.moveNextMethodContext.get_ControlFlowGraph();
     this.moveNextMethodContext.set_IsMethodBodyChanged(true);
     StateMachineUtilities.FixInstructionConnections(this.theCFG.get_Blocks());
     if (!this.ProcessCFG())
     {
         context.StopPipeline();
     }
     return(body);
 }
Пример #2
0
        public Ast.Statements.BlockStatement Process(DecompilationContext context, Ast.Statements.BlockStatement body)
        {
            this.moveNextMethodContext = context.MethodContext;
            this.theCFG = this.moveNextMethodContext.ControlFlowGraph;
            moveNextMethodContext.IsMethodBodyChanged = true;

            StateMachineUtilities.FixInstructionConnections(theCFG.Blocks);

            if (!ProcessCFG())
            {
                context.StopPipeline();
            }
            return(body);
        }