Change code in non-virtual method with Fody
<p>Is it possible to change code in a non-virtual method using Fody or some other framework? I'm not looking to mock it but rather change the code in the generated assembly at compile-time.</p>

<p>Ex. I would like to change:</p>

<pre><code>private int SomeInt() { return 1; }
</code></pre>

<p>to</p>

<pre><code>private int SomeInt() { return 42; }
</code></pre>

<p>in an assembly without mocking it.</p>