Re: [Mono-dev] TimeZone and CurrentTimeZone (updated)

2005-09-13 Thread Chris Micacchi
, then the class above serializes just fine, but if the deserializing end is .Net, it will get an exception since (apparently) .Net doesn't have any such internal class as CurrentTimeZone. -- Chris Chris Micacchi wrote: Hello everyone, I'm getting an exception trying to send an object of type DateTime

[Mono-dev] TimeZone and CurrentTimeZone

2005-09-13 Thread Chris Micacchi
Hello everyone, I'm getting an exception trying to send an object of type DateTime from a Linux machine running Mono to a Windows one running .Net. The exception is Type System.CurrentTimeZone is not marked as Serializable. System.TimeZone is supposedly serializable, but called

Re: [Mono-dev] System.Data.DataSet ReadXml question

2005-09-09 Thread Chris Micacchi
Sweet, I suspected the problem was something like that (unsupported column type), but I didn't realize that .Net 2.0 fixed it. I guess I'll just do the conversion to/from a string myself instead of relying on the DataTable to do it. Thanks for the quick (and very helpful) reply! Chris

[Mono-dev] System.Data.DataSet ReadXml question

2005-09-08 Thread Chris Micacchi
doing something wrong here? I've attached a small sample program that hits this problem for me, in case it helps. Compile it with mcs datasettest.cs -out:datasettest.exe -r:System.Data Thanks for any insight! Chris Micacchi using System.Data; public class TestTable : DataTable

[Mono-dev] [PATCH] AssemblyName serialization compatibility

2005-09-06 Thread Chris Micacchi
Hello, The AssemblyName class isn't serializable-compatible between Mono 1.1.8 and .Net 1.1. The PublicToken serialization field on Mono is called PublicKeyToken on .Net. I've attached a patch that brings Mono's field name into line with .Net's, and successfully tested it between .Net 1.1

[Mono-dev] Custom surrogates and serialization

2005-09-02 Thread Chris Micacchi
down. Thanks for any information anyone can provide! Chris Micacchi ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list