BugReport.Program.Main C# (CSharp) Метод

Main() статический приватный Метод

static private Main ( string args ) : int
args string
Результат int
		static int Main (string [] args)
		{
			IFoo foo = EmitFoo ();
			try {
				foo.Bar ();
				return 1;
			} catch (Exception ex) {
#if MONO
				Assert.IsTrue (ex.StackTrace.IndexOf (DocumentPath + ":10") != -1, ex.StackTrace);
#else
				Assert.IsTrue (ex.StackTrace.IndexOf (DocumentPath + ":line 10") != -1, ex.StackTrace);
#endif
				return 0;
			}
		}