Exemplo n.º 1
0
        protected override void VisitConvertI1Instruction(ConvertI1Instruction instruction)
        {
            ControlState.EvaluationStack.Pop(out var stackVal);
            var newStackVal = ComputeConversionOperation(
                stackVal,
                x => new CilStackValueInt32((sbyte)x.Value),
                x => { throw new NotImplementedException(); },
                x => { throw new NotImplementedException(); },
                x => { throw new NotImplementedException(); },
                x => { throw new NotImplementedException(); }
                );

            ControlState.EvaluationStack.Push(newStackVal);

            ControlState.MoveToNextInstruction();
        }
Exemplo n.º 2
0
 protected abstract void VisitConvertI1Instruction(ConvertI1Instruction instruction);