-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
@@ -292,7 +292,7 @@ namespace Newtonsoft.Json.Serialization
internal static bool TryConvertToString(object value, Type type, out string s)
{
#if !(PocketPC || NETFX_CORE || PORTABLE)
#if !(NETFX_CORE || PORTABLE)
TypeConverter converter = ConvertUtils.GetConverter(type);
// use the objectType's TypeConverter if it has one and can convert to a string
@@ -315,7 +315,7 @@ namespace Newtonsoft.Json.Serialization
}
#endif
#if SILVERLIGHT || PocketPC || NETFX_CORE
#if SILVERLIGHT || NETFX_CORE
if (value is Guid || value is Uri || value is TimeSpan)
{
s = value.ToString();