private static ImageModuleImport CreateMscoreeImport(bool isDll) { var module = new ImageModuleImport("mscoree.dll"); module.SymbolImports.Add(new ImageSymbolImport(new HintName(0, isDll ? "_CorDllMain" : "_CorExeMain"))); return module; }