Method Compile
Compile(MethodBase)
Prepares
method
by calling PrepareMethod(RuntimeMethodHandle).public void Compile(MethodBase method)
Parameters
method
MethodBase- The method to prepare.
Remarks
Unlike PrepareMethod(RuntimeMethodHandle), this method handles generic instantiations.
In order to do this, however, it has to perform a fair bit of reflection on invocation. Avoid calling it multiple times
for the same method, if possible.