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:
Diffstat (limited to 'Src/Newtonsoft.Json/JsonWriter.cs')
-rw-r--r--Src/Newtonsoft.Json/JsonWriter.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/Newtonsoft.Json/JsonWriter.cs b/Src/Newtonsoft.Json/JsonWriter.cs
index cd3f709..9882f4f 100644
--- a/Src/Newtonsoft.Json/JsonWriter.cs
+++ b/Src/Newtonsoft.Json/JsonWriter.cs
@@ -1211,9 +1211,11 @@ namespace Newtonsoft.Json
case TypeCode.Decimal:
WriteValue(convertible.ToDecimal(CultureInfo.InvariantCulture));
return;
+#if !NETFX_CORE
case TypeCode.DBNull:
WriteNull();
return;
+#endif
}
}
#if !PocketPC && !NET20