Example #1
0
            public PEFile ResolveModule(PEFile mainModule, string moduleName)
            {
                var module = parent.providedAssemblyResolver?.ResolveModule(mainModule, moduleName);

                if (module != null)
                {
                    return(module);
                }
                return(parent.LookupReferencedModule(mainModule, moduleName)?.GetPEFileOrNull());
            }
Example #2
0
 public PEFile ResolveModule(PEFile mainModule, string moduleName)
 {
     return(parent.LookupReferencedModule(mainModule, moduleName)?.GetPEFileOrNull());
 }