Commit Graph
3 Commits
Author SHA1 Message Date
Atsushi Eno 276f8e262c 2009-02-02 Atsushi Enomoto <[email protected]>
* TypeMap.cs : allow get-only collections. Note that they are not
	  always deserializable (in .NET either).

	* DataContractJsonSerializerTest.cs : fixed some tests to match
	  .NET RTM behavior. Added read-only collection case, (but [Ignore]d).


svn path=/trunk/mcs/; revision=125332
2009-02-02 10:50:33 +00:00
Atsushi Eno 70db8e61e3 2009-02-02 Atsushi Enomoto <[email protected]>
* TypeMap.cs : DataContractJsonSerializer in RTM does not seem to
	  reject contract-less types. So populate map for public members.
	* DataContractJsonSerializer.cs : close XmlWriter to flush stream
	  (and it closes the stream by default).

	* DataContractJsonSerializerTest.cs : added test for contract-less
	  serialization.

	* Makefile : add -d:NET_3_5.


svn path=/trunk/mcs/; revision=125328
2009-02-02 09:38:03 +00:00
Jb Evain 982e3b35a4 move to from olive to mcs
svn path=/trunk/mcs/; revision=111188
2008-08-20 21:25:05 +00:00