From 26095bcf80af696a898bbfe62cf72ed1649d9eea Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 20 Jan 2024 18:34:47 -0600 Subject: resolve warnings --- src/slskd/Common/Exceptions/RelayException.cs | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/slskd/Common/Exceptions/RelayException.cs') diff --git a/src/slskd/Common/Exceptions/RelayException.cs b/src/slskd/Common/Exceptions/RelayException.cs index 11a6bd9e..3b8a4fbe 100644 --- a/src/slskd/Common/Exceptions/RelayException.cs +++ b/src/slskd/Common/Exceptions/RelayException.cs @@ -19,7 +19,6 @@ namespace slskd { using System; using System.Diagnostics.CodeAnalysis; - using System.Runtime.Serialization; /// /// Represents an error related to the slskd relay feature. @@ -58,15 +57,5 @@ namespace slskd : base(message, innerException) { } - - /// - /// Initializes a new instance of the class with serialized data. - /// - /// The SerializationInfo that holds the serialized object data about the exception being thrown. - /// The StreamingContext that contains contextual information about the source or destination. - protected RelayException(SerializationInfo info, StreamingContext context) - : base(info, context) - { - } } } \ No newline at end of file -- cgit v1.2.3