Skip to content

Commit

Permalink
Remove Runtime.Serialization from custom Exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurpanik committed Jul 24, 2024
1 parent af3bde5 commit 5c8de8e
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 25 deletions.
5 changes: 0 additions & 5 deletions src/Gldf.Net/Exceptions/GldfContainerException.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.Serialization;

namespace Gldf.Net.Exceptions;

Expand All @@ -18,8 +17,4 @@ public GldfContainerException(string message) : base(message)
public GldfContainerException(string message, Exception inner) : base(message, inner)
{
}

protected GldfContainerException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
}
5 changes: 0 additions & 5 deletions src/Gldf.Net/Exceptions/GldfException.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.Serialization;

namespace Gldf.Net.Exceptions;

Expand All @@ -18,8 +17,4 @@ public GldfException(string message) : base(message)
public GldfException(string message, Exception inner) : base(message, inner)
{
}

protected GldfException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
}
5 changes: 0 additions & 5 deletions src/Gldf.Net/Exceptions/GldfValidationException.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.Serialization;

namespace Gldf.Net.Exceptions;

Expand All @@ -18,8 +17,4 @@ public GldfValidationException(string message) : base(message)
public GldfValidationException(string message, Exception inner) : base(message, inner)
{
}

protected GldfValidationException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
}
5 changes: 0 additions & 5 deletions src/Gldf.Net/Exceptions/RootNotFoundException.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.Serialization;

namespace Gldf.Net.Exceptions;

Expand All @@ -18,8 +17,4 @@ public RootNotFoundException(string message) : base(message)
public RootNotFoundException(string message, Exception inner) : base(message, inner)
{
}

protected RootNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
}
5 changes: 0 additions & 5 deletions src/Gldf.Net/Exceptions/UnreadableZipException.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.Serialization;

namespace Gldf.Net.Exceptions;

Expand All @@ -18,8 +17,4 @@ public UnreadableZipException(string message) : base(message)
public UnreadableZipException(string message, Exception inner) : base(message, inner)
{
}

protected UnreadableZipException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
}

0 comments on commit 5c8de8e

Please sign in to comment.