public void ReportError(string res, params string[] args) { Debug.Assert(args == null || args.Length == 0, "Error message must already be composed in res"); throw new XslLoadException(Res.Xml_UserException, res); }