XmlSerializer changes in .NET 3.5 SP1

后端 未结 2 1438
再見小時候
再見小時候 2021-01-03 04:46

I\'ve seen quite a few posts on changes in .NET 3.5 SP1, but stumbled into one that I\'ve yet to see documentation for yesterday. I had code working just fine on my machine

2条回答
  •  一向
    一向 (楼主)
    2021-01-03 05:34

    I rather like this new (?) behavior because the XML document doesn't have any mention of Bar in it, so the deserializer should not even be attempting to set it.

提交回复
热议问题