When the serializer serializes a Type B which is derived from A, it used to
serialize member M in A as in namespace_of_B, not in namespace_of_A.
This should fix bug #652331.
This is a scripted conversion of mixed line-ending files to LF-only or CRLF-only
based on which patch is smaller. I used a threshold of upto a quarter of the
lines to determine whether to keep the patch or not.
This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.
With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
* SerializationMap.cs, XmlFormatterSerializer.cs,
DataContractSerializer.cs :
support DataContractSerializer.PreserveObjectReferences. z:Ref
attributes are used not only for objects with IsReference=true.
Fixed bug #610036.
* XmlObjectSerializerTest.cs : test PreserveObjectReferences too.
svn path=/trunk/mcs/; revision=158201
* SerializationMap.cs, KnownTypeCollection.cs : contract namespace
should be still considered even if contract (local) name is null.
Fix crash for generic derived type of dictionary. Fixed the
primary (crasher) part of bug #610036.
* XmlObjectSerializerTest.cs : add test for bug #610036.
svn path=/trunk/mcs/; revision=158197
* SerializationMap.cs : return array instance if the runtime type is
an array (it used to return ArrayList without conveting to array).
* XmlObjectSerializerTest.cs : test for empty array deserialization.
svn path=/trunk/mcs/; revision=153004
* XsdDataContractImporter-new.cs : output [KnownType] to expose
base/derived type relationship.
* ns-readme.txt : another line of note.
svn path=/trunk/mcs/; revision=151973
* XsdDataContractImporter-new.cs : refresh implementation that is
not based on xml serialization. Not enabled yet.
* KnownTypeCollection.cs : add cosmetic comment.
* ns0,xsd ... ns27.xsd : new test files.
* ns-readme.txt : description.
* XsdDataContractImporterTest.cs : added a bunch of tests for new
implementation. Disable yet.
svn path=/trunk/mcs/; revision=151902
* XsdDataContractImporter.cs : do not add primitive ArrayOfxxx types.
* XsdDataContractImporterTest.cs : add test that ArrayOfxxx type
is not added.
* schema1.xsd, schema2.xsd : new test files.
svn path=/trunk/mcs/; revision=151021
* SerializationMap.cs : allow readonly field as data member.
Fixed bug #560155.
* XmlObjectSerializerTest.cs : added test for bug #560155.
svn path=/trunk/mcs/; revision=150119
* SerializationMap.cs :
There were some places that ignored possible whitespace nodes.
Fixed sorting of ordered members so that it does not give
incomplete sorting among base/derived types. (should fix #539563.)
Give xml error details in some places.
* XsdDataContractExporterTest.cs : disable some tests that started
to fail due to correctly sorted fields while xsd exporter has
some bugs that emits duplicate fields (hence ambiguity occurs).
svn path=/trunk/mcs/; revision=142760
* SerializationMap.cs, KnownTypeCollection.cs : nested use of type
in its members resulted in infinite loop. This hopefully fixes
bug #539563.
* XmlObjectSerializerTest.cs : Test nested type serialization type
initialization.
svn path=/trunk/mcs/; revision=142744
* XmlObjectSerializerTest.cs : fixed wrong EOLs that resulted in
failure in .NET.
* XsdDataContractExporterTest.cs : fix test that failed on .NET,
and marked as NotWorking (no proceeding wsdl work yet).
svn path=/trunk/mcs/; revision=141414
* XmlObjectSerializerTest.cs: Add test cases with a generic
dictionary (empty, broken with r138386, and with one element)
that both works on MS.NET and for which Moonlight depends on.
svn path=/trunk/mcs/; revision=138531
* SerializationMap.cs : for empty element, do not try to consume
children. Fixed bug #524086.
For enum, it is always error when the enum is not flags, and
is always default value for flags.
* XmlObjectSerializerTest.cs :
Add test for bug #524086 by Rolf Bjarne Kvinge.
Add enum flags test, which should not raise an error.
svn path=/trunk/mcs/; revision=138386
* XmlFormatterDeserializer.cs : when reading empty primitive value,
make sure to consume the reader. Fixed bug #524083.
* XmlObjectSerializerTest.cs : add test for bug #524083, by
Rolf Bjarne Kvinge.
svn path=/trunk/mcs/; revision=138367
* SerializationMap.cs : call MoveToContent() before examining
the reader node type.
* XmlObjectSerializerTest.cs : now we can make xml indented as
originally done in #524088.
svn path=/trunk/mcs/; revision=138364