Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Private.CoreLib/src/Internal/IntrinsicSupport/ComparerHelpers.cs')
-rw-r--r--src/System.Private.CoreLib/src/Internal/IntrinsicSupport/ComparerHelpers.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/System.Private.CoreLib/src/Internal/IntrinsicSupport/ComparerHelpers.cs b/src/System.Private.CoreLib/src/Internal/IntrinsicSupport/ComparerHelpers.cs
index bcbd541dd..f88223917 100644
--- a/src/System.Private.CoreLib/src/Internal/IntrinsicSupport/ComparerHelpers.cs
+++ b/src/System.Private.CoreLib/src/Internal/IntrinsicSupport/ComparerHelpers.cs
@@ -175,7 +175,7 @@ namespace System.Collections.Generic
}
// Equals method for the comparer itself.
- public sealed override bool Equals(Object obj) => obj != null && GetType() == obj.GetType();
+ public sealed override bool Equals(object obj) => obj != null && GetType() == obj.GetType();
public sealed override int GetHashCode() => GetType().GetHashCode();
}
@@ -201,7 +201,7 @@ namespace System.Collections.Generic
}
// Equals method for the comparer itself.
- public sealed override bool Equals(Object obj) => obj != null && GetType() == obj.GetType();
+ public sealed override bool Equals(object obj) => obj != null && GetType() == obj.GetType();
public sealed override int GetHashCode() => GetType().GetHashCode();
}
@@ -216,7 +216,7 @@ namespace System.Collections.Generic
}
// Equals method for the comparer itself.
- public sealed override bool Equals(Object obj) => obj != null && GetType() == obj.GetType();
+ public sealed override bool Equals(object obj) => obj != null && GetType() == obj.GetType();
public sealed override int GetHashCode() => GetType().GetHashCode();
}