The serialization classes provided by the SL toolkit
(System.Runtime.Serialization.dll) don't like having Close called more than
once, so it seems that they don't check their own state and we have to do it
to avoid making repeated Close calls.
* XmlDefaultWriter.cs : add state management support.
* XmlWriter.cs : use above feature for "null Settings in source
writer" case. This brings some minor .NET compatibility and
should fix bug #607697.
* XmlWriterTests.cs : remove NotWorking everywhere.
svn path=/trunk/mcs/; revision=159714
* XmlDefaultWriter.cs : new source (which I once wrote for relaxng
and corcompare).
* XmlWriter.cs : in some cases XmlWriter.Create() returns a new
wrapping writer instance.
If there was no Settings specified, return null.
* System.Xml.dll.sources,
moonlight_raw_System.Xml.dll.sources,
monotouch_System.Xml.dll.sources : add DefaultXmlWriter.cs.
* XmlWriterTests.cs : add a bit more assertions.
Remove NotWorking from some tests.
svn path=/trunk/mcs/; revision=159712