runtime
runtime copied to clipboard
Add FlushAsync and WriteBase64Async in XmlDictionaryWriter
WCF needs to use FlushAsync and WriteBase64Async. See https://github.com/dotnet/wcf/issues/222.
The underlying type of the XmlDictionaryWriter used by WCF is System.Xml.XmlUTF8TextWriter. This type doesn't implement WriteBase64 or WriteBase64Async. XmlBaseWriter.WriteBase64 is called when XmlUTF8TextWriter.WriteBase64 is called. We should add WriteBase64Async in XmlBaseWriter.