private void callback(object sender, ValidationEventArgs args) { errorCount++; _output.WriteLine(args.Message); }