private static TextWriter MakeDebugOutputTextWriter(String streamLabel) { TextWriter output = new __DebugOutputTextWriter(streamLabel); output.WriteLine("Output redirected to debugger from a bit bucket."); return TextWriter.Synchronized(output); }