I have class A and class B in diferent assemblies, what I need to know is if there is a way to get the usages of the method A.foo() in class B's methods via reflection. I've read that maybe with IL?
Thanks for the help.
No, you cannot do this with reflection. Reflection is based on the metadata of objects; the public APIs they expose. Their internal implementations are not accessible at all through reflection.
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