Example #1
0
        internal static RuntimeNamedMethodInfo GetRuntimeNamedMethodInfo(MethodHandle methodHandle, RuntimeNamedTypeInfo definingTypeInfo, RuntimeTypeInfo contextTypeInfo)
        {
            RuntimeNamedMethodInfo method = new RuntimeNamedMethodInfo(methodHandle, definingTypeInfo, contextTypeInfo);

            method.WithDebugName();
            return(method);
        }
        internal static RuntimeNamedMethodInfo <TRuntimeMethodCommon> GetRuntimeNamedMethodInfo(TRuntimeMethodCommon common, RuntimeTypeInfo reflectedType)
        {
            RuntimeNamedMethodInfo <TRuntimeMethodCommon> method = new RuntimeNamedMethodInfo <TRuntimeMethodCommon>(common, reflectedType);

            method.WithDebugName();
            return(method);
        }