[Mono-dev] TimeZone and CurrentTimeZone
Chris Micacchi
mono at kinitos.com
Tue Sep 13 16:15:44 EDT 2005
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
System.TimeZone.CurrentTimeZone returns something that isn't serializable.
Interestingly enough, when I went in and marked the type as
[Serializable] and rebuild mono, I get an error deserializing the
DateTime object on Windows (it doesn't recognize the type of the
CurrentTimeZone object).
What's the status of this class? Is this currently an expected issue?
Thanks for any info,
Chris
More information about the Mono-devel-list
mailing list