diff options
Diffstat (limited to 'mcs/class/corlib/System/ValueType.cs')
-rw-r--r-- | mcs/class/corlib/System/ValueType.cs | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/mcs/class/corlib/System/ValueType.cs b/mcs/class/corlib/System/ValueType.cs deleted file mode 100644 index 733491f38b0..00000000000 --- a/mcs/class/corlib/System/ValueType.cs +++ /dev/null @@ -1,48 +0,0 @@ -// -// System.ValueType.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// -// (C) Ximian, Inc. http://www.ximian.com -// - -using System.Runtime.CompilerServices; - -namespace System { - - [Serializable] - public abstract class ValueType { - - // <summary> - // ValueType constructor - // </summary> - protected ValueType () - { - } - - // <summary> - // True if this instance and o represent the same type - // and have the same value. - // </summary> - [MethodImplAttribute(MethodImplOptions.InternalCall)] - public extern override bool Equals (object o); - - // <summary> - // Gets a hashcode for this value type using the - // bits in the structure - // </summary> - [MethodImplAttribute(MethodImplOptions.InternalCall)] - public extern override int GetHashCode (); - - // <summary> - // Stringified representation of this ValueType. - // Must be overriden for better results, by default - // it just returns the Type name. - // </summary> - public override string ToString () - { - return GetType().FullName; - } - } -} |