using System; using System.Runtime.CompilerServices; using System.Runtime.ConstrainedExecution; using System.Runtime.InteropServices; namespace System { /// Supports all classes in the .NET Framework class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all classes in the .NET Framework; it is the root of the type hierarchy. /// 1 // Token: 0x02000002 RID: 2 [ComVisible(true)] [ClassInterface(ClassInterfaceType.AutoDual)] [Serializable] public class Object { /// Initializes a new instance of the class. // Token: 0x06000001 RID: 1 RVA: 0x000020EC File Offset: 0x000002EC [ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)] public Object() { } /// Determines whether the specified is equal to the current . /// true if the specified is equal to the current ; otherwise, false. /// The to compare with the current . /// 2 // Token: 0x06000002 RID: 2 RVA: 0x000020F0 File Offset: 0x000002F0 public virtual bool Equals(object obj) { return this == obj; } /// Determines whether the specified instances are considered equal. /// true if the instances are equal; otherwise false. /// The first to compare. /// The second to compare. /// 2 // Token: 0x06000003 RID: 3 RVA: 0x000020F8 File Offset: 0x000002F8 public static bool Equals(object objA, object objB) { return objA == objB || (objA != null && objB != null && objA.Equals(objB)); } /// Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. // Token: 0x06000004 RID: 4 RVA: 0x00002118 File Offset: 0x00000318 [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] protected virtual void Finalize() { } /// Serves as a hash function for a particular type. /// A hash code for the current . /// 2 // Token: 0x06000005 RID: 5 RVA: 0x0000211C File Offset: 0x0000031C public virtual int GetHashCode() { return object.InternalGetHashCode(this); } /// Gets the type of the current instance. /// The exact runtime type of the current instance. /// 2 // Token: 0x06000006 RID: 6 [MethodImpl(MethodImplOptions.InternalCall)] public extern Type GetType(); /// Creates a shallow copy of the current . /// A shallow copy of the current . // Token: 0x06000007 RID: 7 [MethodImpl(MethodImplOptions.InternalCall)] protected extern object MemberwiseClone(); /// Returns a string that represents the current object. /// A string that represents the current object. /// 2 // Token: 0x06000008 RID: 8 RVA: 0x00002124 File Offset: 0x00000324 public virtual string ToString() { return this.GetType().ToString(); } /// Determines whether the specified instances are the same instance. /// true if is the same instance as or if both are null references; otherwise, false. /// The first object to compare. /// The second object to compare. /// 2 // Token: 0x06000009 RID: 9 RVA: 0x00002134 File Offset: 0x00000334 [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] public static bool ReferenceEquals(object objA, object objB) { return objA == objB; } // Token: 0x0600000A RID: 10 [MethodImpl(MethodImplOptions.InternalCall)] internal static extern int InternalGetHashCode(object o); // Token: 0x0600000B RID: 11 [MethodImpl(MethodImplOptions.InternalCall)] internal extern IntPtr obj_address(); // Token: 0x0600000C RID: 12 RVA: 0x0000213C File Offset: 0x0000033C private void FieldGetter(string typeName, string fieldName, ref object val) { } // Token: 0x0600000D RID: 13 RVA: 0x00002140 File Offset: 0x00000340 private void FieldSetter(string typeName, string fieldName, object val) { } } }