- Timestamp:
- 04/17/19 07:25:22 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable/StorableMemberInfo.cs
r16797 r16799 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 (string.IsNullOrEmpty(attribute.OldName) )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.