You should not do that.
You are replacing the code behind the scenes. You might as well poke
random values in memory.
On Unix, if you really cannot resist the urge of replacing a binary that is
in active use, you must first delete the file, then copy over.
On Sun, May 29, 2016 at 9:18 AM,
Mono JIT compiler version 4.2.3 (Stable 4.2.3.4/832de4b Wed Mar 16
13:19:08 UTC 2016)
~/src/EventStore on release-v3.6.0! ⌚ 11:09:02
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.10
Release: 15.10
Codename: wily
When running mono with a profiler