mercredi 4 janvier 2017

Does using System.Reflection.MethodBase.GetCurrentMethod() in a method prevent the JIT compiler from inlining the method?

The answers and comments in the following questions provide conflicting information.

How to get the name of the current method from code

Can you use reflection to find the name of the currently executing method?

It is not mentioned in the documentation as well.

http://ift.tt/2iz2YfU





Aucun commentaire:

Enregistrer un commentaire