Changeset 16892 for branches/2925_AutoDiffForDynamicalModels/HeuristicLab.Persistence/3.3/Default/CompositeSerializers
- Timestamp:
- 05/04/19 08:22:42 (6 years ago)
- Location:
- branches/2925_AutoDiffForDynamicalModels
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2925_AutoDiffForDynamicalModels
- Property svn:mergeinfo changed
-
branches/2925_AutoDiffForDynamicalModels/HeuristicLab.Persistence
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Persistence merged: 16796-16797,16799
- Property svn:mergeinfo changed
-
branches/2925_AutoDiffForDynamicalModels/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable/StorableMemberInfo.cs
r16662 r16892 41 41 } 42 42 public StorableMemberInfo(StorableAttribute attribute, MemberInfo memberInfo) { 43 DisentangledName = attribute.Name;43 DisentangledName = string.IsNullOrEmpty(attribute.OldName) ? attribute.Name : attribute.OldName; 44 44 DefaultValue = attribute.DefaultValue; 45 45 MemberInfo = memberInfo; 46 if ( !attribute.AllowOneWay)46 if (string.IsNullOrEmpty(attribute.OldName) && !attribute.AllowOneWay) 47 47 CheckPropertyAccess(memberInfo as PropertyInfo); 48 48 }
Note: See TracChangeset
for help on using the changeset viewer.