[Mono-list] Problems with Serialisation
Richard Torkar
richard.torkar@htu.se
Fri, 19 Mar 2004 10:12:00 +0100
On Thu, 2004-03-18 at 13:03 +0100, Michael K=E4mpf wrote:
> I tried the following code example. It works fine using the Microsoft
> Csharp-Compiler, but doesn't under Mono
* SNIP *
I can compile it with my CVS-version of mcs.
But I can't run it on the other hand.
Unhandled Exception: System.InvalidOperationException: Invalid type:
TestNS.ExponentialDistribution
in <0x00142>
System.Xml.Serialization.XmlSerializationWriter:WriteTypedPrimitive
(string,string,object,bool)
in <0x0027f>
System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteObject
(System.Xml.Serialization.XmlTypeMapping,object,string,string,bool,bool,boo=
l)
... and so on...
/Richard