Weird behaviour of a deserialized class

Posted by orloffm on Stack Overflow See other posts from Stack Overflow or by orloffm
Published on 2009-11-24T10:56:10Z Indexed on 2010/04/13 14:03 UTC
Read the original article Hit count: 319

Filed under:
|
|

I've got a huge XML file that's being deserialized by XmlSerializer in an XSD-generated class structure. Everything used to work just fine, but now a weird thing started happening. Sometimes (50% of runs) a field of a certain object of a class that's deep in the class tree just changes to a certain value of the same field of a different object of the same class. It happens when entering some function, when debugger steps from opening "{" to the first line of code.

I understand that it's stupid question, but maybe someone have any thoughts?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about Xml