-Removed old PocketPC ifdefs

This commit is contained in:
James Newton-King
2013-02-10 17:49:36 +13:00
parent b71e17cc42
commit c6eff351a4
47 changed files with 82 additions and 145 deletions
+4 -4
View File
@@ -521,7 +521,7 @@ namespace Newtonsoft.Json
WriteEndConstructor();
break;
case JsonToken.Date:
#if !PocketPC && !NET20
#if !NET20
if (reader.Value is DateTimeOffset)
WriteValue((DateTimeOffset)reader.Value);
else
@@ -949,7 +949,7 @@ namespace Newtonsoft.Json
InternalWriteValue(JsonToken.Date);
}
#if !PocketPC && !NET20
#if !NET20
/// <summary>
/// Writes a <see cref="DateTimeOffset"/> value.
/// </summary>
@@ -1150,7 +1150,7 @@ namespace Newtonsoft.Json
WriteValue(value.Value);
}
#if !PocketPC && !NET20
#if !NET20
/// <summary>
/// Writes a <see cref="Nullable{DateTimeOffset}"/> value.
/// </summary>
@@ -1340,7 +1340,7 @@ namespace Newtonsoft.Json
#endif
}
}
#if !PocketPC && !NET20
#if !NET20
else if (value is DateTimeOffset)
{
if (nullable)