[Mono-list] BinaryFormatter serialization accross .NET and Mono

schmmd michael at schmitztech.com
Fri Feb 6 17:20:05 EST 2009

Hi, I am asking to learn if it is a goal of the Mono project to have
consistent serialization across Mono and .Net with respect to the
BinaryFormatter.  Serialization is the same in some cases.  For example,
serialization of a byte array is the same in .NET and Mono.  However,
serialization of a struct containing a byte array is not.  Consider the
attached program.  In .NET the output is:


However, in mono 2.2 it is:


Is this a bug or is consistency between .NET and Mono not a goal?
http://www.nabble.com/file/p21881760/Program.cs Program.cs 
View this message in context: http://www.nabble.com/BinaryFormatter-serialization-accross-.NET-and-Mono-tp21881760p21881760.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list