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 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
using System; using System;
using System.Runtime.Serialization;
namespace ICSharpCode.ILSpy.TextView namespace ICSharpCode.ILSpy.TextView
{ {
/// <summary> /// <summary>
/// This exception gets used when the text output is longer than the specified limit. /// This exception gets used when the text output is longer than the specified limit.
/// </summary> /// </summary>
class OutputLengthExceededException : Exception, ISerializable class OutputLengthExceededException : Exception
{ {
public OutputLengthExceededException() public OutputLengthExceededException()
{ {
@ -37,10 +36,5 @@ namespace ICSharpCode.ILSpy.TextView
public OutputLengthExceededException(string message, Exception innerException) : base(message, innerException) 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