diff options
author | JamesNK <james@newtonking.com> | 2012-01-22 06:00:25 +0400 |
---|---|---|
committer | JamesNK <james@newtonking.com> | 2012-01-22 06:00:25 +0400 |
commit | 0c873da0b286186c10c5659f12b3cd6924115d72 (patch) | |
tree | f4730f9db69751030bdd70813f00ddd0d94af86d | |
parent | 58d51cda5c3ee6e3fd5c3b826ae15e65423d9c31 (diff) |
-Fixed Windows Phone build
-rw-r--r-- | Src/Newtonsoft.Json/Schema/JsonSchemaGenerator.cs | 2 |
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;
|