aboutsummaryrefslogtreecommitdiff
path: root/ServiceStack/StringMapTypeDeserializer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ServiceStack/StringMapTypeDeserializer.cs')
-rw-r--r--ServiceStack/StringMapTypeDeserializer.cs5
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;
}
}