diff options
Diffstat (limited to 'src/System.Private.CoreLib/src/System/Object.cs')
-rw-r--r-- | src/System.Private.CoreLib/src/System/Object.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/System.Private.CoreLib/src/System/Object.cs b/src/System.Private.CoreLib/src/System/Object.cs index 17a2f99cf..ffe36ea88 100644 --- a/src/System.Private.CoreLib/src/System/Object.cs +++ b/src/System.Private.CoreLib/src/System/Object.cs @@ -80,7 +80,7 @@ namespace System return RuntimeTypeUnifier.GetRuntimeTypeForEEType(EETypePtr); } - public virtual String ToString() + public virtual string ToString() { return GetType().ToString(); } @@ -90,7 +90,7 @@ namespace System // For Value Types, the toolchain (will) generate a ValueType.Equals override method, // and will not be using this routine. - public virtual bool Equals(Object obj) + public virtual bool Equals(object obj) { if (this == obj) return true; @@ -102,7 +102,7 @@ namespace System return false; } - public static bool Equals(Object objA, Object objB) + public static bool Equals(object objA, object objB) { if (objA == objB) { @@ -116,7 +116,7 @@ namespace System } //[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] - public static bool ReferenceEquals(Object objA, Object objB) + public static bool ReferenceEquals(object objA, object objB) { return objA == objB; } |