Changeset 14713 for branches/PersistenceOverhaul/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable
- Timestamp:
- 03/03/17 18:41:01 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceOverhaul/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable/StorableSerializer.cs
r14711 r14713 21 21 22 22 using System; 23 using System.CodeDom; 23 24 using System.Collections.Generic; 24 25 using System.Linq; … … 69 70 /// </returns> 70 71 public bool CanSerialize(Type type) { 71 var markedStorable = StorableReflection.HasStorableClassAttribute(type) ;72 var markedStorable = StorableReflection.HasStorableClassAttribute(type) && !type.IsEnum && !type.IsValueType; 72 73 if (GetConstructor(type) == null) 73 74 if (markedStorable)
Note: See TracChangeset
for help on using the changeset viewer.