diff --git a/ILSpy/TextView/OutputLengthExceededException.cs b/ILSpy/TextView/OutputLengthExceededException.cs index 95fd26e388..5e1f592d5f 100644 --- a/ILSpy/TextView/OutputLengthExceededException.cs +++ b/ILSpy/TextView/OutputLengthExceededException.cs @@ -17,14 +17,13 @@ // DEALINGS IN THE SOFTWARE. using System; -using System.Runtime.Serialization; namespace ICSharpCode.ILSpy.TextView { /// /// This exception gets used when the text output is longer than the specified limit. /// - class OutputLengthExceededException : Exception, ISerializable + class OutputLengthExceededException : Exception { public OutputLengthExceededException() { @@ -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) - { - } } } \ No newline at end of file