AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.9.0" />

 XmlParseException

public class XmlParseException : Exception
Exception that is thrown if an ill-formatted XML document is parsed.
using System; namespace AngleSharp.Parser.Xml { public class XmlParseException : Exception { public TextPosition Position { get; set; } public int Code { get; set; } public XmlParseException(int code, string message, TextPosition position) : base(message) { Code = code; Position = position; } } }