diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-02-12 20:17:43 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-12 20:17:43 -0500 |
| commit | 273aa822cfc37558883dbdd17647829abcf34758 (patch) | |
| tree | db858e3dfacfe4bd3aac6c701806a15203b8d63e /ServiceStack/StringMapTypeDeserializer.cs | |
| parent | 29c24420978ef324d66a381b71e0f3e3b2f294cb (diff) | |
| parent | 511a8702c29445288251fcf841c394e837db19cc (diff) | |
Merge pull request #2466 from MediaBrowser/dev
Dev
Diffstat (limited to 'ServiceStack/StringMapTypeDeserializer.cs')
| -rw-r--r-- | ServiceStack/StringMapTypeDeserializer.cs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ServiceStack/StringMapTypeDeserializer.cs b/ServiceStack/StringMapTypeDeserializer.cs index 762e8aaff..8b76c39d0 100644 --- a/ServiceStack/StringMapTypeDeserializer.cs +++ b/ServiceStack/StringMapTypeDeserializer.cs @@ -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; } } |
