-// FULL_AOT_RUNTIME is used (instead of MONOTOUCH) since we only want this code when running on
-// iOS (simulator or devices) and *not* when running tools (e.g. btouch #12179) that needs to use
-// the mscorlib.dll shipped with Xamarin.iOS
-#if MONOTOUCH && FULL_AOT_RUNTIME
- stdout = new NSLogWriter ();
-#else
- stdout = new UnexceptionalStreamWriter (OpenStandardOutput (0), outputEncoding);
- ((StreamWriter)stdout).AutoFlush = true;
-#endif
- stdout = TextWriter.Synchronized (stdout);