diff --git a/src/ApprovalTests.Tests/Core/SerializableExceptionsTest.cs b/src/ApprovalTests.Tests/Core/SerializableExceptionsTest.cs index 7d143d6e..5c351bac 100644 --- a/src/ApprovalTests.Tests/Core/SerializableExceptionsTest.cs +++ b/src/ApprovalTests.Tests/Core/SerializableExceptionsTest.cs @@ -1,6 +1,7 @@ -using ApprovalTests.Core.Exceptions; -using ApprovalTests.TheoryTests; +#if NET48 +using ApprovalTests.Core.Exceptions; +using ApprovalTests.TheoryTests; [TestFixture] public class SerializableExceptionsTest { @@ -16,4 +17,5 @@ public void TestSerializable() static void Verify(object o) => SerializableTheory.Verify(o, Assert.AreEqual); -} \ No newline at end of file +} +#endif \ No newline at end of file