     <exception cref="T:System.ArgumentException">The XML document is invalid.</exception>
      <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlWriter"></see> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException"></see> is thrown with the message &quot;An asynchronous operation is already in progress.&quot;</exception>
    </member>
    <member name="M:System.Xml.XmlWriter.WriteEndDocumentAsync">
      <summary>Asynchronously closes any open elements or attributes and puts the writer back in the Start state.</summary>
      <returns>The task that represents the asynchronous WriteEndDocument operation.</returns>
      <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlWriter"></see> asynchronous method was called without setting the <see cref="P:System.Xml.XmlWriterSettings.Async"></see> flag to true. In this case, <see cref="T:System.InvalidOperationException"></see> is thrown with the message &quot;Set XmlWriterSettings.Async to true if you want to use Async Methods.&quot;</exception>
    </member>
    <member name="M:System.Xml.XmlWriter.WriteEndElement">
      <summary>When overridden in a derived class, closes one element and pops the corresponding namespace scope.</summary>
      <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlWriter"></see> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException"></see> is thrown with the message &quot;An asynchronous operation is already in progress.&quot;</exception>
    </member>
    <member name="M:System.Xml.XmlWriter.WriteEndElementAsync">
      <summary>Asynchronously closes one element and pops the corresponding namespace scope.</summary>
      <returns>The task that represents the asynchronous WriteEndElement operation.</returns>
      <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlWriter"></see> asynchronous method was called without setting the <see cref="P:System.Xml.XmlWriterSettings.Async"></see> flag to true. In this case, <see cref="T:System.InvalidOperationException"></see> is thrown with the message &quot;Set XmlWriterSettings.Async to true if you want to use Async Methods.&quot;</exception>
    </member>
    <member name="M:System.Xml.XmlWriter.WriteEntityRef(System.String)">
      <summary>When overridden in a derived class, writes out an entity reference as &amp;name;.</summary>
      <param name="name">The name of the entity reference.</param>
      <exception cref="T:System.ArgumentException"><paramref name="name">name</paramref> is either null or String.Empty.</exception>
      <exception cref="T:System.InvalidOperationException">An <see cref="T:System.Xml.XmlWriter"></see> method was called before a previous asynchronous operation finished. In this case, <see cref="T:System.InvalidOperationException"></see> is thrown with the message &quot;An asynchr