Mikhail Orlov
Mikhail Orlov

Reputation: 2857

Weird behaviour of a deserialized class

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?

Upvotes: 0

Views: 69

Answers (1)

Vasyl Boroviak
Vasyl Boroviak

Reputation: 6128

We have dozens of thoughts. There can be plenty of reasons. You need to investigate it more precisely. Your self.

Upvotes: 1

Related Questions