private void TraceDiagnostic(TraceMessage msg, List <TraceMessage> errors)
 {
     Console.WriteLine(msg.ToString());
     if (msg.BuildError.Focus != Focus.Diagnostic)
     {
         errors.Add(msg);
     }
 }
 internal static void TraceDiagnostic(TraceMessage msg, List <TraceMessage> errors, ref int diagnosticCounter)
 {
     Console.WriteLine(msg.ToString());
     diagnosticCounter++;
     if (msg.BuildError.Focus != Focus.Diagnostic)
     {
         errors.Add(msg);
     }
 }
 private void TraceDiagnostic(TraceMessage msg, List <TraceMessage> errors, ref int diagnosticCounter)
 {
     Console.WriteLine(msg.ToString());
     if (msg.BuildError.Focus == Focus.Diagnostic)
     {
         diagnosticCounter++;
     }
     else
     {
         errors.Add(msg);
     }
 }
Exemple #4
0
 internal static void TraceDiagnostic(TraceMessage msg, List<TraceMessage> errors, ref int diagnosticCounter)
 {
     if (errors == null)
     throw new ArgumentNullException("errors");
       Console.WriteLine(msg.ToString());
       if (msg.BuildError.Focus == Focus.Diagnostic)
       {
     diagnosticCounter++;
       }
       else
     errors.Add(msg);
 }
 internal static void  TraceDiagnostic(TraceMessage msg, List <TraceMessage> errors, ref int diagnosticCounter)
 {
     if (errors == null)
     {
         throw new ArgumentNullException("errors");
     }
     Console.WriteLine(msg.ToString());
     if (msg.BuildError.Focus == Focus.Diagnostic)
     {
         diagnosticCounter++;
     }
     else
     {
         errors.Add(msg);
     }
 }