private void EmitLoopEnd() { il.MarkLabel(loopConditionLabel); // label loopConditionLabel il.Ldloc(enumeratorVar); // if (i < (int)value.Length) il.Callvirt(MoveNextMethod); // goto loopStartLabel il.Brtrue(loopStartLabel); }