localization fixes

This commit is contained in:
Luke Pulverenti
2017-02-12 20:07:48 -05:00
parent a6e7438987
commit 0a03d7ad9f
22 changed files with 513 additions and 882 deletions

View File

@@ -48,11 +48,6 @@ namespace ServiceStack.Serialization
var propertyParseStringFn = GetParseFn(propertyType);
var propertySerializer = new PropertySerializerEntry(propertySetFn, propertyParseStringFn) { PropertyType = propertyType };
var attr = propertyInfo.AllAttributes<DataMemberAttribute>().FirstOrDefault();
if (attr != null && attr.Name != null)
{
propertySetterMap[attr.Name] = propertySerializer;
}
propertySetterMap[propertyInfo.Name] = propertySerializer;
}
}