/// <summary> /// Event handler method for logging compilation errors and warnings, <c>fn:trace</c> and <c>xsl:message</c> /// </summary> /// <param name = "sender">The sender.</param> /// <param name = "e">The <see cref = "XmlPrime.CompilationErrorEventArgs" /> instance containing the event data.</param> protected void OnCompilationError(object sender, [NotNull] CompilationErrorEventArgs e) { Assert.ArgumentNotNull(e, "e"); Exception innerException = e.CompilationError; LogXdmException(e.Severity, innerException); }
private void StartUpCompilationError(object sender, CompilationErrorEventArgs e) { Assert.Fail(e.Exception.ToString()); }
private void GetRootPathStartUpCompilationError(object sender, CompilationErrorEventArgs e) { Assert.IsInstanceOf<DirectoryNotFoundException>(e.Exception); }