-Fixed time zone unit test failure

-Removed Metro IDictionary copy
-Fixed Metro build
This commit is contained in:
James Newton-King
2012-06-08 05:21:58 -07:00
parent 0ba52bbf13
commit 55854f1682
67 changed files with 258 additions and 360 deletions
@@ -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)
{