Commit 2187f92
committed
Box value types implementing
Value types implementing the `IXmlSerializable` interface were not being
property boxed when they declared a parameterless constructor. This
caused the `XmlSerializer` to fail to deserialize them with an
`InvalidProgramException` exception when the generated IL tried to call
the `XmlSerializationReader.ReadSerializable` method with the value.
Fixes #99613IXmlSerializable in XmlSerializer generated IL1 parent f8633a3 commit 2187f92
4 files changed
Lines changed: 1377 additions & 1184 deletions
File tree
- src/libraries
- Microsoft.XmlSerializer.Generator/tests
- System.Private.Xml
- src/System/Xml/Serialization
- tests/XmlSerializer
- System.Runtime.Serialization.Xml/tests
0 commit comments