Пример #1
0
        void Throw(XObject culprit, string message)
        {
            var p = culprit.GetLineColumnInfo();

            if (p.HasLineInfo())
            {
                throw new XmlException(message + culprit.GetLineColumnString(), null, p.LineNumber, p.LinePosition);
            }
            throw new XmlException(message);
        }