]> git.deb.at Git - rhonda/impostor.git/commitdiff
Drop BinaryFormatter override in ImpostorException
authorjs6pak <me@6pak.dev>
Thu, 25 Jan 2024 11:10:36 +0000 (12:10 +0100)
committerjs6pak <me@6pak.dev>
Thu, 25 Jan 2024 11:10:36 +0000 (12:10 +0100)
src/Impostor.Api/Exceptions/ImpostorConfigException.cs
src/Impostor.Api/Exceptions/ImpostorException.cs
src/Impostor.Api/Exceptions/ImpostorProtocolException.cs
src/Impostor.Server/Plugins/PluginLoaderException.cs

index 01b20d4c67a3c69e1f457b7640a0f21cc071e9bb..5430297d487fdd9eb9f46bee551e35da5b0898eb 100644 (file)
@@ -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)
-        {
-        }
     }
 }
index 03891942d0f01b57808ce8c6319436fcd6929fa2..8589c31aeff721e1841a3520f0d86d89189e1abe 100644 (file)
@@ -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)
-        {
-        }
     }
 }
index 513e590e45ccac88a1c7529a843d13c250fc68d2..cf7afcacaa43e8620fb71beeb24ad050c15a3738 100644 (file)
@@ -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)
-        {
-        }
     }
 }
index 740cc46862995bbcb7768dac85377d92749e79e5..7c47c301de4ea2e192fcc007491ec44d1fb888da 100644 (file)
@@ -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)
-        {
-        }
     }
 }