protected override void DoEmit(EmitContext ec) { if (statement != null) { statement.EmitStatement (ec); if (unwind_protect) ec.Emit (OpCodes.Leave, ec.CreateReturnLabel ()); else { ec.Emit (OpCodes.Ret); } return; } base.DoEmit (ec); }
public override void Emit(EmitContext ec) { if (statement != null) { statement.EmitStatement(ec); if (unwind_protect) { ec.Emit(OpCodes.Leave, ec.CreateReturnLabel()); } else { ec.Emit(OpCodes.Ret); } return; } base.Emit(ec); }