// DO not call context.AssmeblyGen.SaveAssembly() directly. internal void SaveAssembly() { if (_dynInitHelper != null) { _dynInitHelper.FinalizeType(); } _assyGen.SaveAssembly(); }
// DO not call context.AssmeblyGen.SaveAssembly() directly. internal void SaveAssembly() { if (_dynInitHelper != null) { _dynInitHelper.FinalizeType(); } #if NET461 _assyGen.SaveAssembly(); #else Console.WriteLine("AOT-compilation not available"); //var assembly = AssemblyBuilder; //var generator = new Lokad.ILPack.AssemblyGenerator(); //generator.GenerateAssembly(assembly,Path); #endif }