Example #1
0
        internal void EmitEndSet(int i, Type stackType)
        {
            var argType = _paramTypes[i].GetElementType();

            ConvEmitter.Emit(_il, stackType, argType);
            StindEmitter.Emit(_il, argType);
        }
Example #2
0
 internal void EmitEndSet(Type stackType)
 {
     ConvEmitter.Emit(_ilGenerator, stackType, typeof(T));
     _ilGenerator.Emit(OpCodes.Stelem_Ref);
 }