Skip to content

Commit 2187f92

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 f8633a3 commit 2187f92

4 files changed

Lines changed: 1377 additions & 1184 deletions

File tree

0 commit comments

Comments
 (0)