Drop BinaryFormatter override in ImpostorException

This commit is contained in:
js6pak committed 2024-01-25 12:10:36 +01:00
1 parent 2cbfe159be
commit d74d7fcecc
4 files changed
-20

No files matched your search

@@ -1,5 +1,4 @@
using System;
using System.Runtime.Serialization;
namespace Impostor.Api
{
@@ -16,9 +15,5 @@ namespace Impostor.Api
public ImpostorConfigException(string? message, Exception? innerException) : base(message, innerException)
{
}
protected ImpostorConfigException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
}
}
@@ -1,5 +1,4 @@
using System;
using System.Runtime.Serialization;
namespace Impostor.Api
{
@@ -16,9 +15,5 @@ namespace Impostor.Api
public ImpostorException(string? message, Exception? innerException) : base(message, innerException)
{
}
protected ImpostorException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
}
}
@@ -1,5 +1,4 @@
using System;
using System.Runtime.Serialization;
namespace Impostor.Api
{
@@ -16,9 +15,5 @@ namespace Impostor.Api
public ImpostorProtocolException(string? message, Exception? innerException) : base(message, innerException)
{
}
protected ImpostorProtocolException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
}
}
@@ -1,5 +1,4 @@
using System;
using System.Runtime.Serialization;
using Impostor.Api;
namespace Impostor.Server.Plugins
@@ -17,9 +16,5 @@ namespace Impostor.Server.Plugins
public PluginLoaderException(string? message, Exception? innerException) : base(message, innerException)
{
}
protected PluginLoaderException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
}
}