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.
Ex. I would like to change:
private int SomeInt() { return 1; }
to
private int SomeInt() { return 42; }
in an assembly without mocking it.