From d7069a777bc56c868749e505a8862e6b3c05d218 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20C=C3=A1ceres?= Date: Sat, 2 Dec 2023 18:08:14 +0100 Subject: [PATCH] Keep .NET 6 support --- src/FileParser/FileParser.csproj | 5 +++++ src/FileParser/ParsingException.cs | 9 +-------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/FileParser/FileParser.csproj b/src/FileParser/FileParser.csproj index 88e53d8..dc92ad1 100644 --- a/src/FileParser/FileParser.csproj +++ b/src/FileParser/FileParser.csproj @@ -1,4 +1,9 @@ + + + net6.0;net8.0 + + true snupkg diff --git a/src/FileParser/ParsingException.cs b/src/FileParser/ParsingException.cs index 98e5586..f85be1b 100644 --- a/src/FileParser/ParsingException.cs +++ b/src/FileParser/ParsingException.cs @@ -1,8 +1,5 @@ -using System.Runtime.Serialization; - -namespace FileParser +namespace FileParser { - [Serializable] public class ParsingException : Exception { private const string GenericMessage = "Exception triggered during parsing process"; @@ -18,9 +15,5 @@ public ParsingException(string message) : base(message ?? GenericMessage) public ParsingException(string message, Exception inner) : base(message ?? GenericMessage, inner) { } - - protected ParsingException(SerializationInfo info, StreamingContext context) : base(info, context) - { - } } }