private void InitializeErrorOutput() {
if (_errorStream == null) {
#if SILVERLIGHT
Stream errorStream = new TextStream(Console.Error);
#else
Stream errorStream = Console.OpenStandardError();
#endif
Interlocked.CompareExchange(ref _errorStream, errorStream, null);
Interlocked.CompareExchange(ref _errorWriter, Console.Error, null);
}
}