public CilGenerator(Disk disk, IBuildData data, IEssentials essentials, CilBackend backend, CilLinker linker, SourcePackage package, string outputDir) : base(disk) { _data = data; _essentials = essentials; _backend = backend; _package = package; _linker = linker; _outputDir = outputDir; _assembly = _linker.Universe.DefineDynamicAssembly( new AssemblyName(package.Name) /*{Version = new Version(package.Version)}*/, AssemblyBuilderAccess.Save, outputDir); _module = _assembly.DefineDynamicModule( package.Name, package.Name + ".dll", true); }
public CilTransform(CilBackend backend) : base(backend) { }