public DiagnosticMessages(bool enabled)
 {
     messages = new List <string>();
     visitor  = new DiagnosticsVisitor(enabled, messages);
 }
 public DiagnosticMessages(bool enabled)
 {
     messages = new List<string>();
     visitor = new DiagnosticsVisitor(enabled, messages);
 }