internal static Type[] GetMethodInstantiationPublic(IRuntimeMethodInfo method) { RuntimeType[] result = null; RuntimeMethodHandle.GetMethodInstantiation(RuntimeMethodHandle.EnsureNonNullMethodInfo(method).Value, JitHelpers.GetObjectHandleOnStack <RuntimeType[]>(ref result), false); GC.KeepAlive(method); return(result); }
public IntPtr GetFunctionPointer() { IntPtr functionPointer = RuntimeMethodHandle.GetFunctionPointer(RuntimeMethodHandle.EnsureNonNullMethodInfo(this.m_value).Value); GC.KeepAlive(this.m_value); return(functionPointer); }
internal static string ConstructInstantiation(IRuntimeMethodInfo method, TypeNameFormatFlags format) { string result = null; RuntimeMethodHandle.ConstructInstantiation(RuntimeMethodHandle.EnsureNonNullMethodInfo(method), format, JitHelpers.GetStringHandleOnStack(ref result)); return(result); }
internal static RuntimeType[] GetMethodInstantiationInternal(IRuntimeMethodInfo method) { RuntimeType[] o = (RuntimeType[])null; RuntimeMethodHandle.GetMethodInstantiation(RuntimeMethodHandle.EnsureNonNullMethodInfo(method).Value, JitHelpers.GetObjectHandleOnStack <RuntimeType[]>(ref o), true); GC.KeepAlive((object)method); return(o); }