MCPcopy Create free account
hub / github.com/Squirrel/Squirrel.Windows / Main

Method Main

src/SyncReleases/Program.cs:23–34  ·  view source on GitHub ↗
(string[] args)

Source from the content-addressed store, hash-verified

21 static OptionSet opts;
22
23 public static int Main(string[] args)
24 {
25 var pg = new Program();
26 try {
27 return pg.main(args).Result;
28 } catch (Exception ex) {
29 // NB: Normally this is a terrible idea but we want to make
30 // sure Setup.exe above us gets the nonzero error code
31 Console.Error.WriteLine(ex);
32 return -1;
33 }
34 }
35
36 async Task<int> main(string[] args)
37 {

Callers

nothing calls this directly

Calls 1

mainMethod · 0.45

Tested by

no test coverage detected