Closed GoogleCodeExporter closed 9 years ago
protobuf-net prefers not to replace instances; if a sub-object / collection /
etc is non-null, it tries very hard to use it rather than reallocate everything
in the tree. In your case, the simplest fix is probably to simply *not run the
constructor during deserialization*, which is what somebody already suggested
on stackoverflow. Does that work?
Original comment by marc.gravell
on 17 Sep 2014 at 9:51
thank you for your reply.
Yes, that makes sense.
The provided workaround on SO did work for me, I will paste your reply back to
SO.
I couldn't find a way to close the issue, I guess I am not allowed.
thanks again
Original comment by spera...@gmail.com
on 17 Sep 2014 at 9:57
Original comment by marc.gravell
on 17 Sep 2014 at 10:04
Original issue reported on code.google.com by
spera...@gmail.com
on 17 Sep 2014 at 8:27