- Timestamp:
- 05/18/09 18:02:52 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/TypeSerializer.cs
r1823 r1843 21 21 22 22 public IEnumerable<Tag> CreateMetaInfo(object o) { 23 yield return new Tag(" VersionInvariantName", ((Type)o).VersionInvariantName());23 yield return new Tag("AssemblyQualifiedName", ((Type)o).AssemblyQualifiedName); 24 24 } 25 25 … … 36 36 } 37 37 try { 38 return Type .GetType((string)it.Current.Value, true);38 return TypeLoader.Load((string)it.Current.Value); 39 39 } catch (InvalidCastException e) { 40 40 throw new PersistenceException("Invalid meta information during reconstruction of Type object", e);
Note: See TracChangeset
for help on using the changeset viewer.