private ReportErrorInXPath ( XslLoadException e ) : void | ||
e | XslLoadException | |
return | void |
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);
}