* System.Runtime.Serialization/XsdDataContractImporter:
Check ImportOptions.ReferencedCollectionTypes to determine the proxy type.
* System.ServiceModel.Description/MetadataImporter.cs:
Very simply implementation of the 'State' property.
* System.ServiceModel.Description/DataContractSerializerMessageContractImporter.cs:
Use it here.
* Test/Resources/WSDL: Added some sample .wsdl files for the new tests; adding
these as resources to the test dll.
* Test/System.Runtime.Serialization: Added WsdlHelper.cs,
XsdDataContractImporterTest2.cs and XsdDataContractExportTest2.cs
* Implement "Interchangeable Collections" and Collection Interface Types.
(see http://msdn.microsoft.com/en-us/library/aa347850.aspx)
* Add element type check for arrays.
* Identify custom collection types (must have a public parameterless
constructor and an "Add" method with the correct argument type) and
distinguish them from types which implement one or more of the
collection interfaces without being a custom collection type.
* Add some checks for [CollectionDataContract].
* Added some NUnit tests for that.
- Fix bug 4794 by searching the SerializationMap with both type and
qname in all but several cases (see bug report comments)
- Add separate list for known types to mimic behavior of the .NET
runtime
- Make previous test fixtures public so that the unit tests will be run
- Remove unused private method
- Add unit test for bug 4794
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