[Xaml] XamlXmlWriter should flush output when disposing.
commit2951e3b6d8aaaba4329804603ee26defbaac5aea
authorAtsushi Eno <atsushieno@gmail.com>
Mon, 2 Feb 2015 10:24:15 +0000 (2 18:24 +0800)
committerAtsushi Eno <atsushieno@gmail.com>
Fri, 20 Feb 2015 19:28:44 +0000 (21 03:28 +0800)
treede02f6a706f46e6c85524da99a7fb68485d798c3
parent3001bd0d94a2670d283da53211812a9b4e163778
[Xaml] XamlXmlWriter should flush output when disposing.

With referencesource, XmlWriter for TextWriter buffers the output.
When closing XamlXmlWriter, it does not flush the output, causing
the buffered XmlWriter output discarded in the wild.
mcs/class/System.Xaml/System.Xaml/XamlXmlWriter.cs