Browse Source

Remove old serialization ctor

pull/3126/head
Christoph Wille 2 years ago
parent
commit
9c19291c2f
  1. 8
      ILSpy/TextView/OutputLengthExceededException.cs

8
ILSpy/TextView/OutputLengthExceededException.cs

@ -17,14 +17,13 @@ @@ -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()
{
@ -37,10 +36,5 @@ namespace ICSharpCode.ILSpy.TextView @@ -37,10 +36,5 @@ namespace ICSharpCode.ILSpy.TextView
public OutputLengthExceededException(string message, Exception innerException) : base(message, innerException)
{
}
// This constructor is needed for serialization.
protected OutputLengthExceededException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
}
}
Loading…
Cancel
Save