diff --git a/XmlSchemaClassGenerator.Tests/SharedTestFunctions.cs b/XmlSchemaClassGenerator.Tests/SharedTestFunctions.cs index e97b8796..a2299fe0 100644 --- a/XmlSchemaClassGenerator.Tests/SharedTestFunctions.cs +++ b/XmlSchemaClassGenerator.Tests/SharedTestFunctions.cs @@ -126,7 +126,7 @@ void validate2(object s, ValidationEventArgs e) { if (HandleValidationError(output, xmlLines, e)) throw e.Exception; - }; + } settings.ValidationEventHandler += validate2;