public void ReportDiagnostics(OmniSharp.Dnx.Project project, DiagnosticsMessage[] messages)
 {
     if (builder != null) {
         builder.OnDiagnostics (messages);
         builder = null;
     }
 }
 public void OnDiagnostics(DiagnosticsMessage[] messages)
 {
     this.messages = messages;
     waitEvent.Set ();
 }