-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
@@ -26,7 +26,7 @@
using System;
using System.Runtime.Serialization;
#if !PocketPC && !NET20
#if !NET20
namespace Newtonsoft.Json.Tests.TestObjects
{
[DataContract]
@@ -23,7 +23,7 @@
// OTHER DEALINGS IN THE SOFTWARE.
#endregion
#if !PocketPC && !NET20
#if !NET20
using System;
using System.Collections.Generic;
using System.ComponentModel;
@@ -27,7 +27,7 @@ using System.ComponentModel;
namespace Newtonsoft.Json.Tests.TestObjects
{
#if !PocketPC && !NETFX_CORE
#if !NETFX_CORE
[Description("DefaultValueAttributeTestClass description!")]
#endif
public sealed class DefaultValueAttributeTestClass
@@ -23,7 +23,7 @@
// OTHER DEALINGS IN THE SOFTWARE.
#endregion
#if !PocketPC && !NET20
#if !NET20
using System;
using System.Collections.Generic;
using System.Linq;
@@ -29,7 +29,7 @@ using System.ComponentModel;
namespace Newtonsoft.Json.Tests.TestObjects
{
[JsonObject(Id = "Person", Title = "Title!", Description = "JsonObjectAttribute description!", MemberSerialization = MemberSerialization.OptIn)]
#if !PocketPC && !NETFX_CORE
#if !NETFX_CORE
[Description("DescriptionAttribute description!")]
#endif
public class Person
@@ -23,7 +23,6 @@
// OTHER DEALINGS IN THE SOFTWARE.
#endregion
#if !PocketPC
using System.Collections.Generic;
using System.Runtime.Serialization;
@@ -78,5 +77,4 @@ namespace Newtonsoft.Json.Tests.TestObjects
Member4 = "This value was set after deserialization.";
}
}
}
#endif
}
@@ -23,7 +23,6 @@
// OTHER DEALINGS IN THE SOFTWARE.
#endregion
#if !PocketPC
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
@@ -78,5 +77,4 @@ namespace Newtonsoft.Json.Tests.TestObjects
Member4 = "This value was set after deserialization.";
}
}
}
#endif
}
@@ -23,7 +23,6 @@
// OTHER DEALINGS IN THE SOFTWARE.
#endregion
#if !PocketPC
using System;
using System.Runtime.Serialization;
using Newtonsoft.Json.Serialization;
@@ -97,5 +96,4 @@ namespace Newtonsoft.Json.Tests.TestObjects
errorContext.Handled = true;
}
}
}
#endif
}
@@ -23,7 +23,6 @@
// OTHER DEALINGS IN THE SOFTWARE.
#endregion
#if !PocketPC
using System;
using System.Runtime.Serialization;
using Newtonsoft.Json.Serialization;
@@ -81,5 +80,4 @@ namespace Newtonsoft.Json.Tests.TestObjects
Member4 = "This value was set after deserialization.";
}
}
}
#endif
}