Commit 33799e7
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 b553655 commit 33799e7
File tree
4 files changed
+1378
-1185
lines changed- src/libraries
- Microsoft.XmlSerializer.Generator/tests
- System.Private.Xml
- src/System/Xml/Serialization
- tests/XmlSerializer
- System.Runtime.Serialization.Xml/tests
4 files changed
+1378
-1185
lines changed
0 commit comments