* SerializationMap.cs, KnownTypeCollection.cs :
support CollectionDataContract-based dictionary too.
* XmlObjectSerializerTest.cs : added test for dictionary with
CollectionDataContractAttribute.
svn path=/trunk/mcs/; revision=129128
* XmlFormatterSerializer.cs, XmlObjectSerializer.cs,
XmlFormatterDeserializer.cs, KnownTypeCollection.cs :
add more xsi:type to cover collection items.
* XmlObjectSerializerTest.cs : test for generic IList of
DictionaryEntry. (no Hashtable serialization yet.)
svn path=/trunk/mcs/; revision=129068
* KnownTypeCollection.cs : fix generic argument names in xml.
They should use xmlized names instead of raw type name.
* XmlFormatterDeserializer.cs : remove extra Console.WriteLine.
* XmlObjectSerializerTest.cs : test for generic IList of KeyValuePair
(it is still different from full IDictionary support...!).
svn path=/trunk/mcs/; revision=129055
* KnownTypeCollection.cs : fix for generic serialization.
* XmlObjectSerializerTest.cs : test for generic type serialization.
svn path=/trunk/mcs/; revision=129001
NotImplementedExceptions. Revert the 2009-02-12 UniqueId.IsGuid
"fix", as .NET says that new UniqueId(new Guid()).IsGuid==false
(which makes no sense, as .ToString() on the same instance includes
the "urn:uuid:" prefix, which is used by Guids...).
* Test/System.Xml/UniqueIdTest.cs: Add tests for all members.
svn path=/trunk/mcs/; revision=126911
WriteTextNode(XmlDictionaryReader,bool). This requires changes to
WriteNode(), as testing had determined that WriteTextNode() is used
instead of WriteString() for Text nodes and attribute values when
called via WriteNode().
* Test/System.Xml/XmlDictionaryWriterTest.cs: Test
WriteNode(XmlDictionaryReader), WriteNode(XmlReader), and
WriteTextNode().
svn path=/trunk/mcs/; revision=126853
* SerializationMap.cs, KnownTypeCollection.cs : couple of refactoring
to simplify code base and handle CollectionDataContract namespace.
* XmlObjectSerializerTest.cs : fixed collection contract test and
added some notes.
svn path=/trunk/mcs/; revision=126807
* DataContractSerializer.cs : remove extra writexmlns.
* SerializationMap.cs : allow DataMember of collection contract type
as read-only.
* KnownTypeCollection.cs : it was not iterating interfaces to find
IEnumerable<T> correctly.
* XmlObjectSerializerTest.cs : added couple of test fixes in
collection serialization tests.
svn path=/trunk/mcs/; revision=126802
WriteValue(TimeSpan), WriteValue(UniqueId).
* System.Xml/UniqueId.cs: Fix UniqueId.IsGuid, as
`new UniqueId(new Guid())` was previously being detected as a string
value, not a Guid value.
* Test/System.Xml/XmlDictionaryWriterTest.cs: Test WriteValue(Guid),
WriteValue(TimeSpan), WriteValue(UniqueId).
svn path=/trunk/mcs/; revision=126760
System.Xml/XmlDictionaryWriterTest.cs to the test build.
* System.Xml/XmlDictionaryWriter.cs (WriteStartElement): Add parameter
checking and default arguments to avoid NullReferenceExceptions.
* Test/System.Xml/XmlDictionaryWriterTest.cs: Added; test
XmlDictionaryWriter.WriteElementString().
svn path=/trunk/mcs/; revision=126751
System.Xml/XmlDictionaryStringTest.cs to the test build.
* System.Xml/XmlDictionaryString.cs: Add constructor argument checking.
* Test/System.Xml/XmlDictionaryStringTest.cs: Added; tests for
XmlDictionaryString.
svn path=/trunk/mcs/; revision=126680