DriverMain driver = new DriverMain (args);
if (!driver.Run ())
return 1;
- Console.WriteLine ("Operation completed successfully");
+ Report.Message ("Operation completed successfully");
return 0;
}
private Target target = Target.Exe;
private string target_string = "exe";
private bool show_tokens = false;
- private bool show_method_def = false;
- private bool show_method_ref = false;
+// private bool show_method_def = false;
+// private bool show_method_ref = false;
private bool show_parser = false;
private bool scan_only = false;
private bool debugging_info = false;
try {
if (sn != null) {
- Console.WriteLine ("Signing assembly with the specified strongname keypair");
+ Report.Message ("Signing assembly with the specified strongname keypair");
return Sign (output_file);
}
} catch {
ie.FilePath = file_path;
ie.Location = scanner.Reader.Location;
throw;
- } catch (Exception e){
+ } catch (Exception){
Console.Write ("{0} ({1}, {2}): ",file_path, scanner.Reader.Location.line, scanner.Reader.Location.column);
throw;
} finally {
break;
case "debug":
case "deb":
- if (str[0] != '-')
- break;
debugging_info = true;
break;
// Stubs to stay commandline compatible with MS
show_tokens = true;
break;
case "show_method_def":
- show_method_def = true;
+// show_method_def = true;
break;
case "show_method_ref":
- show_method_ref = true;
+// show_method_ref = true;
break;
case "show_parser":
show_parser = true;