Monday, September 16, 2002

Bug: Can't Deserialize Structures within Structures

Yet another .NET serialization bug: structures within structures cannot be deserialized. If a struct A is inside struct B which is inside object C, deserializing is going to throw a SerializationException with the following message:

"Fixing up a partially available ValueType chain is not implemented."

I do hope that Microsoft's bug database has an option to specify "programmer laziness" when entering a new bug.

Credit for finding this one goes to my colleague Miki Dukic.

I've updated the .NET Bug Registry with this info.

   2:32 PM

Content of this site is © Dejan Jelovic. All rights reserved.