-Fixed time zone unit test failure
-Removed Metro IDictionary copy -Fixed Metro build
This commit is contained in:
@@ -94,20 +94,16 @@ namespace Newtonsoft.Json.Serialization
|
||||
{
|
||||
CreatedType = ReflectionUtils.MakeGenericType(typeof(Dictionary<,>), keyType, valueType);
|
||||
}
|
||||
#if !NETFX_CORE
|
||||
else if (UnderlyingType == typeof(IDictionary))
|
||||
{
|
||||
CreatedType = typeof (Dictionary<object, object>);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
internal IWrappedDictionary CreateWrapper(object dictionary)
|
||||
{
|
||||
#if !(NETFX_CORE)
|
||||
if (dictionary is IDictionary && (DictionaryValueType == null || !_isDictionaryValueTypeNullableType))
|
||||
return new DictionaryWrapper<object, object>((IDictionary)dictionary);
|
||||
#endif
|
||||
|
||||
if (_genericWrapperCreator == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user