From 3024f42f1cb5d195790974c52f453fde5d867c67 Mon Sep 17 00:00:00 2001 From: Jerome Haltom Date: Tue, 8 Aug 2023 08:55:35 -0500 Subject: [PATCH] Missiing constructors. --- src/IKVM.MSBuild.Tasks/IkvmTaskException.cs | 12 ++++++++++++ src/IKVM.MSBuild.Tasks/IkvmTaskMessageException.cs | 11 +++++++++++ 2 files changed, 23 insertions(+) diff --git a/src/IKVM.MSBuild.Tasks/IkvmTaskException.cs b/src/IKVM.MSBuild.Tasks/IkvmTaskException.cs index 8643afbeb7..e677559562 100644 --- a/src/IKVM.MSBuild.Tasks/IkvmTaskException.cs +++ b/src/IKVM.MSBuild.Tasks/IkvmTaskException.cs @@ -31,6 +31,18 @@ public IkvmTaskException(string message, Exception innerException) : } + /// + /// Initializes a new instance. + /// + /// + /// + public IkvmTaskException(SerializationInfo info, StreamingContext context) : + base(info, context) + { + + } + + } } diff --git a/src/IKVM.MSBuild.Tasks/IkvmTaskMessageException.cs b/src/IKVM.MSBuild.Tasks/IkvmTaskMessageException.cs index 886da2df43..918c456d3c 100644 --- a/src/IKVM.MSBuild.Tasks/IkvmTaskMessageException.cs +++ b/src/IKVM.MSBuild.Tasks/IkvmTaskMessageException.cs @@ -42,6 +42,17 @@ public IkvmTaskMessageException(Exception innerException, string messageResource this.messageArgs = messageArgs ?? throw new ArgumentNullException(nameof(messageArgs)); } + /// + /// Initializes a new instance. + /// + /// + /// + public IkvmTaskMessageException(SerializationInfo info, StreamingContext context) : + base(info, context) + { + + } + /// /// Gets the resource name of the message. ///