yes much simpler I believe that JB was leading you towards a bug and that should help find it :)
On Fri, Oct 24, 2014 at 10:03 PM, <[email protected]> wrote: > You mean like this: > > for (int i = 0; i < values.Length; i++) > { > > il.Add(Instruction.Create(OpCodes.Ldloc, VariableDef)); > il.Add(Instruction.Create(OpCodes.Ldc_I4,i)); > il.Add(Instruction.Create(OpCodes.Ldc_I4, values[i])); > il.Add((Instruction.Create(OpCodes.Stelem_I4))); > > } > ? :) > > -- > -- > -- > mono-cecil > --- > You received this message because you are subscribed to the Google Groups > "mono-cecil" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- Studying for the Turing test -- -- -- mono-cecil --- You received this message because you are subscribed to the Google Groups "mono-cecil" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
