public static int Main() { CollectibleALC alc = new CollectibleALC(); System.Reflection.Assembly asm = alc.LoadFromAssemblyPath(System.Reflection.Assembly.GetExecutingAssembly().Location); System.Reflection.MethodInfo mi = asm.GetType(typeof(Runtime_66624).FullName).GetMethod(nameof(MainInner)); System.Type runtimeTy = asm.GetType(typeof(Runtime).FullName); return((int)mi.Invoke(null, new object[] { System.Activator.CreateInstance(runtimeTy) })); }
public static int Main() { // This needs an ALC because the "static access" helper is different in ALCs. CollectibleALC alc = new CollectibleALC(); Assembly asm = alc.LoadFromAssemblyPath(Assembly.GetExecutingAssembly().Location); MethodInfo mi = asm.GetType(nameof(Runtime_64883)).GetMethod(nameof(MainT)); mi.Invoke(null, new object[0]); return(100); }