public override void WriteLine(String str) { if (str != null) OutputDebugString(_consoleType + str); else OutputDebugString("<null>"); OutputDebugString(new String(CoreNewLine)); }
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); }