https://learn.microsoft.com/en-us/dotnet/api/system.xml.xmlwriter.writeendattributeasync?view=netframework-4.8.1
XmlWriter.WriteEndAttributeAsync Method (System.Xml) | Microsoft Learn
Asynchronously closes the previous WriteStartAttribute(String, String) call.
xmlwritermethodsystemmicrosoftlearn