Beispiel #1
0
        // Token: 0x06000EF5 RID: 3829 RVA: 0x00065EEC File Offset: 0x000642EC
        protected Assembly handleAssemblyResolve(object sender, ResolveEventArgs args)
        {
            Assembly assembly = ModuleHook.resolveAssemblyName(args.Name);

            if (assembly == null)
            {
                Debug.LogError("Unable to resolve dependency \"" + args.Name + "\"! Include it in one of your module assembly lists.");
            }
            return(assembly);
        }
Beispiel #2
0
        // Token: 0x06000EF4 RID: 3828 RVA: 0x00065ECC File Offset: 0x000642CC
        public static Assembly resolveAssemblyPath(string path)
        {
            AssemblyName assemblyName = AssemblyName.GetAssemblyName(path);

            return(ModuleHook.resolveAssemblyName(assemblyName.FullName));
        }