private void TraceOutput(ParallelDeflateOutputStream.TraceBits bits, string format, params object[] varParams)
 {
     if ((bits & this._DesiredTrace) != ParallelDeflateOutputStream.TraceBits.None)
     {
         lock (this._outputLock)
         {
             Thread.CurrentThread.GetHashCode();
         }
     }
 }
 private void TraceOutput(ParallelDeflateOutputStream.TraceBits bits, string format, params object[] varParams)
 {
     if ((bits & this._DesiredTrace) != ParallelDeflateOutputStream.TraceBits.None)
     {
         object outputLock = this._outputLock;
         lock (outputLock)
         {
             int hashCode = Thread.CurrentThread.GetHashCode();
             Console.Write("{0:000} PDOS ", hashCode);
             Console.WriteLine(format, varParams);
         }
     }
 }
 private void TraceOutput(ParallelDeflateOutputStream.TraceBits bits, string format, params object[] varParams)
 {
     if ((bits & this._DesiredTrace) != ParallelDeflateOutputStream.TraceBits.None)
     {
         lock (this._outputLock)
         {
             int hashCode = Thread.CurrentThread.GetHashCode();
             Console.ForegroundColor = hashCode % 8 + ConsoleColor.DarkGray;
             Console.Write("{0:000} PDOS ", hashCode);
             Console.WriteLine(format, varParams);
             Console.ResetColor();
         }
     }
 }
Example #4
0
 private void TraceOutput(ParallelDeflateOutputStream.TraceBits bits, string format, params object[] varParams)
 {
     if ((bits & this._DesiredTrace) == ParallelDeflateOutputStream.TraceBits.None)
     {
         return;
     }
     lock (this._outputLock)
     {
         int local_2 = Thread.CurrentThread.GetHashCode();
         Console.ForegroundColor = (ConsoleColor)(local_2 % 8 + 8);
         Console.Write("{0:000} PDOS ", (object)local_2);
         Console.WriteLine(format, varParams);
         Console.ResetColor();
     }
 }