Method TryDisableInlining
TryDisableInlining(MethodBase, RuntimeMethodHandle)
Tries to disable inlining of the provided method, if the underlying runtime supports it.
public bool TryDisableInlining(MethodBase method, RuntimeMethodHandle handle = default)
Parameters
methodMethodBase- The method to disable inlining of.
handleRuntimeMethodHandle- The RuntimeMethodHandle of the variant of
methodto disable inlining on.