public MosaModuleLoader() { Modules = new List<ModuleDefMD>(); Resolver = new AssemblyResolver(null, false, false); var typeResolver = new dnlib.DotNet.Resolver(Resolver); Resolver.DefaultModuleContext = new ModuleContext(Resolver, typeResolver); Resolver.EnableTypeDefCache = true; }
public MosaModuleLoader() { Modules = new List <ModuleDefMD>(); Resolver = new AssemblyResolver(null, false, false); var typeResolver = new dnlib.DotNet.Resolver(Resolver); Resolver.DefaultModuleContext = new ModuleContext(Resolver, typeResolver); Resolver.EnableTypeDefCache = true; }