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); } }
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; } }