public static GetAssemblyBuilder ( CompilerContext context ) : System.Reflection.Emit.AssemblyBuilder | ||
context | CompilerContext | |
return | System.Reflection.Emit.AssemblyBuilder |
override public void Run() { if (_context.Errors.Count > 0) { return; } AssemblyBuilder builder = ContextAnnotations.GetAssemblyBuilder(Context); builder.Save(Path.GetFileName(Context.GeneratedAssemblyFileName)); }
override public void Run() { if (Errors.Count > 0) { return; } var builder = ContextAnnotations.GetAssemblyBuilder(Context); var filename = Path.GetFileName(Context.GeneratedAssemblyFileName); Save(builder, filename); }
override public void Run() { if (Errors.Count > 0) { return; } var builder = ContextAnnotations.GetAssemblyBuilder(Context); var filename = Path.GetFileName(Context.GeneratedAssemblyFileName); Save(builder, filename); var resFilename = (string)Context.Properties["ResFileName"]; if (resFilename != null) { File.Delete(resFilename); } }