Skip to content

Commit 33799e7

Browse files
committed
Box value types implementing IXmlSerializable in XmlSerializer generated IL
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 #99613
1 parent b553655 commit 33799e7

File tree

4 files changed

+1378
-1185
lines changed

4 files changed

+1378
-1185
lines changed

0 commit comments

Comments
 (0)