PatchDeveloperComments() private method

private PatchDeveloperComments ( ) : void
return void
Ejemplo n.º 1
0
 private static int Main(string[] args)
 {
     if (args.Length != 2)
     {
         PrintUsage();
         return(2);
     }
     try
     {
         using (var p = new Program(args[0], args[1]))
         {
             p.CheckParameters();
             p.PatchDeveloperComments();
             p.RebuildReference();
         }
         return(0);
     }
     catch (Exception ex)
     {
         Console.Error.WriteLine(ex);
         return(1);
     }
 }
Ejemplo n.º 2
0
 private static int Main(string[] args)
 {
     if (args.Length != 2)
     {
         PrintUsage();
         return 2;
     }
     try
     {
         using (var p = new Program(args[0], args[1]))
         {
             p.CheckParameters();
             p.PatchDeveloperComments();
             p.RebuildReference();
         }
         return 0;
     }
     catch (Exception ex)
     {
         Console.Error.WriteLine(ex);
         return 1;
     }
 }