Skip to content

Commit

Permalink
Remove old serialization ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
christophwille committed Nov 21, 2023
1 parent f102b51 commit 9c19291
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions ILSpy/TextView/OutputLengthExceededException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,13 @@
// DEALINGS IN THE SOFTWARE.

using System;
using System.Runtime.Serialization;

namespace ICSharpCode.ILSpy.TextView
{
/// <summary>
/// This exception gets used when the text output is longer than the specified limit.
/// </summary>
class OutputLengthExceededException : Exception, ISerializable
class OutputLengthExceededException : Exception
{
public OutputLengthExceededException()
{
Expand All @@ -37,10 +36,5 @@ public OutputLengthExceededException(string message) : base(message)
public OutputLengthExceededException(string message, Exception innerException) : base(message, innerException)
{
}

// This constructor is needed for serialization.
protected OutputLengthExceededException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
}
}

0 comments on commit 9c19291

Please sign in to comment.