From 0c873da0b286186c10c5659f12b3cd6924115d72 Mon Sep 17 00:00:00 2001 From: JamesNK Date: Sun, 22 Jan 2012 02:00:25 +0000 Subject: [PATCH] -Fixed Windows Phone build --- Src/Newtonsoft.Json/Schema/JsonSchemaGenerator.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Src/Newtonsoft.Json/Schema/JsonSchemaGenerator.cs b/Src/Newtonsoft.Json/Schema/JsonSchemaGenerator.cs index f30643b9..b3a2db52 100644 --- a/Src/Newtonsoft.Json/Schema/JsonSchemaGenerator.cs +++ b/Src/Newtonsoft.Json/Schema/JsonSchemaGenerator.cs @@ -330,7 +330,9 @@ namespace Newtonsoft.Json.Schema GenerateISerializableContract(type, (JsonISerializableContract) contract); break; #endif +#if !(NET35 || NET20 || WINDOWS_PHONE) case JsonContractType.Dynamic: +#endif case JsonContractType.Linq: CurrentSchema.Type = JsonSchemaType.Any; break;