From 774102b4c503145fdd653ded070c0255a454b9cf Mon Sep 17 00:00:00 2001 From: "nicolas.barbosa" Date: Fri, 17 May 2024 17:10:26 +0200 Subject: [PATCH] tentative sonar sur exception --- Sources/CoreLibrary/Exceptions/CodeCompletException.cs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Sources/CoreLibrary/Exceptions/CodeCompletException.cs b/Sources/CoreLibrary/Exceptions/CodeCompletException.cs index a7a8064..c086960 100644 --- a/Sources/CoreLibrary/Exceptions/CodeCompletException.cs +++ b/Sources/CoreLibrary/Exceptions/CodeCompletException.cs @@ -5,7 +5,6 @@ namespace CoreLibrary.Exceptions /// /// Exception levée lorsqu'un jeton est ajouté à un code déjà complet. /// - [Serializable] public class CodeCompletException : Exception { // Message par défaut @@ -28,14 +27,5 @@ namespace CoreLibrary.Exceptions /// public CodeCompletException(string message, Exception exception) : base(message, exception) {} - - [Obsolete("This method is obsolete. Use alternative methods for data retrieval.", DiagnosticId = "SYSLIB0051")] - protected CodeCompletException(SerializationInfo info, StreamingContext contexte) : base(info, contexte) { } - - [Obsolete("This method is obsolete. Use alternative methods for data retrieval.", DiagnosticId = "SYSLIB0051")] - public override void GetObjectData(SerializationInfo info, StreamingContext context) - { - base.GetObjectData(info, context); - } } }