Пример #1
0
        protected override void VisitConvertU2Instruction(ConvertU2Instruction instruction)
        {
            ControlState.EvaluationStack.Pop(out var stackVal);
            var newStackVal = ComputeConversionOperation(
                stackVal,
                x => new CilStackValueInt32((ushort)x.ValueUnsigned),
                x => { throw new NotImplementedException(); },
                x => { throw new NotImplementedException(); },
                x => { throw new NotImplementedException(); },
                x => { throw new NotImplementedException(); }
                );

            ControlState.EvaluationStack.Push(newStackVal);

            ControlState.MoveToNextInstruction();;
        }
Пример #2
0
 protected abstract void VisitConvertU2Instruction(ConvertU2Instruction instruction);