Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
        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;
        }