1

Closed

Deserialization with IEnumerable<> and Enumerable.Empty<>

description

When deserializing a class with an IEnumerable<> property initialized in the constructor to Enumerable.Empty<> no items are added to the property.
 
See attachment for details and a failing test.

file attachments

Closed Jun 9, 2012 at 12:45 AM by JamesNK
Not a bug. Look at ObjectCreationHandling

comments