GetOutputFilename() public static method

public static GetOutputFilename ( ) : string
return string
Beispiel #1
0
 public void EndModule()
 {
     try
     {
         String s = Io.GetOutputFilename();
         appbuild.Save(s);
         Console.WriteLine("Saving assembly as " + s);
     }
     catch (Exception e)
     {
         Io.ICE(e.ToString());
     }
 }
Beispiel #2
0
        public void BeginModule(string ifile)
        {
            appdomain = System.Threading.Thread.GetDomain();
            appname   = getAssemblyName(filename);
            appbuild  = appdomain.DefineDynamicAssembly(appname,
                                                        AssemblyBuilderAccess.Save,
                                                        Io.genpath);
            emodule = appbuild.DefineDynamicModule(
                filename + "_module",
                Io.GetOutputFilename(),
                Io.gendebug);
            Guid g = System.Guid.Empty;

            if (Io.gendebug)
            {
                srcdoc = emodule.DefineDocument(ifile, g, g, g);
            }
        }