Tests/GlueTestProject/GlueTestProject/GlueTestProject/Program.cs
/// <summary>
/// The main entry point for the application.
/// </summary>
The main entry point for the application.
The main entry point for the application .
static void Main(string[] args2)
        {
            using (Game1 game = new Game1())
            {
#if UNIT_TESTS
                AppDomain.CurrentDomain.UnhandledException
                    += delegate(object sender, UnhandledExceptionEventArgs args)
                           {
                               var exception = (Exception) args.ExceptionObject;
                               Console.Error.Write("Unhandled exception: " + exception);
                               Environment.Exit(1);
                           };
#endif
                game.Run();
            }
        }
static void Main ( string [ ] args2 ) { using ( Game1 game = new Game1 ( ) ) { if UNIT_TESTS AppDomain . CurrentDomain . UnhandledException += delegate ( object sender , UnhandledExceptionEventArgs args ) { var exception = ( Exception ) args . ExceptionObject ; Console . Error . Write ( " " + exception ) ; Environment . Exit ( 1 ) ; } ; endif game . Run ( ) ; } }
The main entry point for the application.
The main entry point for the application .
args2
string[]