diff options
Diffstat (limited to 'mcs/class/corlib/System/InvalidCastException.cs')
-rw-r--r-- | mcs/class/corlib/System/InvalidCastException.cs | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/mcs/class/corlib/System/InvalidCastException.cs b/mcs/class/corlib/System/InvalidCastException.cs deleted file mode 100644 index 1d16ad5ce4d..00000000000 --- a/mcs/class/corlib/System/InvalidCastException.cs +++ /dev/null @@ -1,39 +0,0 @@ -// -// System.InvalidCastException.cs -// -// Author: -// Joe Shaw (joe@ximian.com) -// Duncan Mak (duncan@ximian.com) -// -// (C) 2001 Ximian, Inc. http://www.ximian.com -// - -using System.Globalization; -using System.Runtime.Serialization; - -namespace System { - - [Serializable] - public class InvalidCastException : SystemException { - // Constructors - public InvalidCastException () - : base (Locale.GetText ("Cannot cast from source type to destination type")) - { - } - - public InvalidCastException (string message) - : base (message) - { - } - - public InvalidCastException (string message, Exception inner) - : base (message, inner) - { - } - - protected InvalidCastException (SerializationInfo info, StreamingContext context) - : base (info, context) - { - } - } -} |