private void InitializeOutput() {
if (_outputStream == null) {
lock (_mutex) {
if (_outputStream == null) {
#if SILVERLIGHT
_outputStream = new TextStream(Console.Out);
#else
_outputStream = Console.OpenStandardOutput();
#endif
_outputWriter = Console.Out;
}
}
}
}