Is it possible to find out anything about a Method body with reflection?
How?
You can use MethodInfo.GetMethodBody
.
That provides you access to anything you want... if you're happy to work through the IL etc yourself.
It's possible that the Mono Cecil library will provide more help - I haven't used it myself.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With