AngleSharp by Florian Rappl

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

 XmlParser

public sealed class XmlParser
For more details: See the W3C Recommendation http://www.w3.org/TR/REC-xml/ and a little bit about XML parser (XHTML context) http://www.w3.org/html/wg/drafts/html/master/the-xhtml-syntax.html#xml-parser.
public bool IsAsync { get; }

Gets if the parser has been started asynchronously.

public bool IsStandalone { get; }

Gets if the XML is standalone.

public IXmlDocument Result { get; }

Gets the (maybe intermediate) result of the parsing process.

public XmlParser(string source, IConfiguration configuration = null)

Creates a new instance of the XML parser with an new document based on the given source.

public XmlParser(Stream stream, IConfiguration configuration = null)

Creates a new instance of the XML parser with an new document based on the given stream.

Parses the given source and creates the document.

Parses the given source asynchronously and creates the document.

Parses the given source asynchronously and creates the document.