Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/Newtonsoft.Json.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamesNK <james@newtonking.com>2012-01-22 06:00:25 +0400
committerJamesNK <james@newtonking.com>2012-01-22 06:00:25 +0400
commit0c873da0b286186c10c5659f12b3cd6924115d72 (patch)
treef4730f9db69751030bdd70813f00ddd0d94af86d
parent58d51cda5c3ee6e3fd5c3b826ae15e65423d9c31 (diff)
-Fixed Windows Phone build
-rw-r--r--Src/Newtonsoft.Json/Schema/JsonSchemaGenerator.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/Newtonsoft.Json/Schema/JsonSchemaGenerator.cs b/Src/Newtonsoft.Json/Schema/JsonSchemaGenerator.cs
index f30643b..b3a2db5 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;