-Cleaned up preprocessor symbols

This commit is contained in:
James Newton-King
2017-03-05 15:12:52 +13:00
parent febdb8188b
commit ba514c4610
85 changed files with 226 additions and 235 deletions
@@ -55,7 +55,7 @@ namespace Newtonsoft.Json.Tests.Converters
public byte[] NullByteArray { get; set; }
}
#if !(NET20 || PORTABLE || PORTABLE40 || DNXCORE50)
#if !(NET20 || PORTABLE || DNXCORE50)
[Test]
public void DeserializeBinaryClass()
{
@@ -121,7 +121,7 @@ namespace Newtonsoft.Json.Tests.Converters
}", json);
}
#if !(PORTABLE || PORTABLE40 || DNXCORE50)
#if !(PORTABLE || DNXCORE50)
public class SqlBinaryClass
{
public SqlBinary SqlBinary { get; set; }
@@ -23,7 +23,7 @@
// OTHER DEALINGS IN THE SOFTWARE.
#endregion
#if !(PORTABLE || DNXCORE50 || PORTABLE40)
#if !(PORTABLE || DNXCORE50)
using System;
using Newtonsoft.Json.Converters;
#if DNXCORE50
@@ -28,7 +28,7 @@ using System.Text;
using Newtonsoft.Json.Bson;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
#if !(PORTABLE || DNXCORE50 || PORTABLE40)
#if !(PORTABLE || DNXCORE50)
using System;
using System.Collections.Generic;
#if DNXCORE50
@@ -486,7 +486,7 @@ namespace Newtonsoft.Json.Tests.Converters
StringAssert.AreEqual(@"null", json);
}
#if !(NET20 || PORTABLE || PORTABLE40)
#if !(NET20 || PORTABLE)
[Test]
public void DeserializedTypedDataTableWithConverter()
{
@@ -23,7 +23,7 @@
// OTHER DEALINGS IN THE SOFTWARE.
#endregion
#if !(NET35 || NET20 || PORTABLE40)
#if !(NET35 || NET20)
using System;
using System.Collections.Generic;
using System.Dynamic;
@@ -30,7 +30,7 @@ using Newtonsoft.Json.Utilities.LinqBridge;
using System.Linq;
#endif
using System.Text;
#if !(DNXCORE50 || PORTABLE40)
#if !(DNXCORE50)
using System;
using System.Collections.Generic;
using Newtonsoft.Json.Tests.Serialization;
@@ -2698,7 +2698,7 @@ namespace Newtonsoft.Json.Tests.Converters
Assert.AreEqual(@"<root><b xmlns=""http://www.example.com/ns"">Asd</b><c>AAA</c><test>adad</test></root>", xmlBack.OuterXml);
}
#if !(NET20 || NET35 || PORTABLE || PORTABLE40) || NETSTANDARD1_1
#if !(NET20 || NET35 || PORTABLE) || NETSTANDARD1_3
[Test]
public void DeserializeBigInteger()
{