public QilNode Error(ISourceLineInfo?lineInfo, string res, params string[] args) { return(Error(String(XslLoadException.CreateMessage(lineInfo, res, args)))); }
// ------------- CompileXPathExpression() / CompileMatchPattern() / CompileKeyPattern() ----------- private void ReportErrorInXPath(XslLoadException e) { XPathCompileException ex = e as XPathCompileException; string errorText = (ex != null) ? ex.FormatDetailedMessage() : e.Message; _compiler.ReportError(_lastScope.SourceLine, SR.Xml_UserException, errorText); }