* SerializationMap.cs, KnownTypeCollection.cs :
support CollectionDataContract-based dictionary too.
* XmlObjectSerializerTest.cs : added test for dictionary with
CollectionDataContractAttribute.
svn path=/trunk/mcs/; revision=129128
* SerializationMap.cs : cosmetic !NET_2_1 fix (no effect).
* KnownTypeCollection.cs : use ICollection<> and IList instead of
IEnumerable. This causes confusion for dictionary.
svn path=/trunk/mcs/; revision=129124
* 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
2009-03-02 Chris Toshok <[email protected]>
* XmlBinaryDictionaryReader.cs, XmlSimpleDictionaryReader.cs: 2.1
has HasValue.
In System.XML/System.Xml:
2009-03-02 Chris Toshok <[email protected]>
* XmlReader.cs, XmlTextReader.cs, XmlTextReader2.cs,
EntityResolvingXmlReader.cs: 2.1 has HasValue.
In System.XML/Mono.Xml:
2009-03-02 Chris Toshok <[email protected]>
* SubtreeXmlReader.cs, XmlFilterReader.cs: 2.1 has HasValue.
In System.Xml.Linq/System.Xml.Linq:
2009-03-02 Chris Toshok <[email protected]>
* XNodeReader.cs: 2.1 has HasValue.
In System.ServiceModel.Web/System.Runtime.Serialization.Json:
2009-03-02 Chris Toshok <[email protected]>
* JsonReader.cs: 2.1 has HasValue.
svn path=/trunk/mcs/; revision=128406
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
* System.Runtime.Serialization_test.dll.soruces :
remove ALL Mainsoft serialization tests that completely fail under
.NET and reduce 107 test failures out of 113.
They are English (language) dependent.
svn path=/trunk/mcs/; revision=119730