When invoke GenerateSerializerSourceCodes with IList<>
, usually it works.
But if SerializerCodeGenerationConfiguration.IsRecrusive = true
, throws excpetion.
repro code.
// Ok. SerializerGenerator.GenerateSerializerSourceCodes(new[] { typeof(IList<int>) }); // Ng. SerializerGenerator.GenerateSerializerSourceCodes(new SerializerCodeGenerationConfiguration() { IsRecursive = true }, new[] { typeof(IList<int>) });
exception message.
System.Runtime.Serialization.SerializationException: Cannot serialize type 'System.Collections.Generic.IList`1[System.Int32]' because it does not have any serializable fields nor
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4