diff --git a/Src/Newtonsoft.Json.Tests/Package.appxmanifest b/Src/Newtonsoft.Json.Tests/Package.appxmanifest index edbdd557..a2a67efd 100644 --- a/Src/Newtonsoft.Json.Tests/Package.appxmanifest +++ b/Src/Newtonsoft.Json.Tests/Package.appxmanifest @@ -1,54 +1,29 @@  - - - + Newtonsoft.Json.Tests.Metro James Images\UnitTestStoreLogo.png Newtonsoft.Json.Tests.Metro - 6.2 6.2 - - + - - - - - + + + + - - - - - + + + + - - + \ No newline at end of file diff --git a/Src/Newtonsoft.Json/Utilities/ReflectionUtils.cs b/Src/Newtonsoft.Json/Utilities/ReflectionUtils.cs index 8b6e4541..9216977a 100644 --- a/Src/Newtonsoft.Json/Utilities/ReflectionUtils.cs +++ b/Src/Newtonsoft.Json/Utilities/ReflectionUtils.cs @@ -1018,10 +1018,10 @@ namespace Newtonsoft.Json.Utilities public static object GetDefaultValue(Type type) { - if (!type.IsValueType) + if (!type.IsValueType()) return null; - switch (Type.GetTypeCode(type)) + switch (ConvertUtils.GetTypeCode(type)) { case TypeCode.Boolean: return false;