Skip to content

Commit

Permalink
Keep .NET 6 support
Browse files Browse the repository at this point in the history
  • Loading branch information
eduherminio committed Dec 2, 2023
1 parent 798fdae commit d7069a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
5 changes: 5 additions & 0 deletions src/FileParser/FileParser.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
</PropertyGroup>

<PropertyGroup>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
Expand Down
9 changes: 1 addition & 8 deletions src/FileParser/ParsingException.cs
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -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)
{
}
}
}

0 comments on commit d7069a7

Please sign in to comment.