Exemplo n.º 1
0
        protected override void VisitStoreArrayElementI2Instruction(StoreArrayElementI2Instruction instruction)
        {
            ControlState.EvaluationStack.PopValue(out CilValueReference arrayRef, out CilValueInt32 indexVal, out CilValueInt16 valueVal);

            var array = ManagedMemory.Load(arrayRef) as CilArray;

            array.SetValue(valueVal, indexVal, ManagedMemory);

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