Nit changes in API diff between .NET Core 2.0 and .NET Core 2.1 (#17288)
authorMaryam Ariyan <maryam.ariyan@microsoft.com>
Wed, 28 Mar 2018 18:09:42 +0000 (11:09 -0700)
committerAhson Khan <ahkha@microsoft.com>
Wed, 28 Mar 2018 18:09:42 +0000 (11:09 -0700)
* 'value' to 'other': bool System.IEquatable<System.UIntPtr>.Equals(UIntPtr value);

* 'value' to 'other': bool System.IEquatable<System.IntPtr>.Equals(IntPtr value);

src/mscorlib/shared/System/IntPtr.cs
src/mscorlib/shared/System/UIntPtr.cs

index 684c138..44638dd 100644 (file)
@@ -81,9 +81,9 @@ namespace System
             return false;
         }
 
-        unsafe bool IEquatable<IntPtr>.Equals(IntPtr value)
+        unsafe bool IEquatable<IntPtr>.Equals(IntPtr other)
         {
-            return _value == value._value;
+            return _value == other._value;
         }
 
         public unsafe override int GetHashCode()
index 5907226..8b2568f 100644 (file)
@@ -77,9 +77,9 @@ namespace System
             return false;
         }
 
-        unsafe bool IEquatable<UIntPtr>.Equals(UIntPtr value)
+        unsafe bool IEquatable<UIntPtr>.Equals(UIntPtr other)
         {
-            return _value == value._value;
+            return _value == other._value;
         }
 
         public unsafe override int GetHashCode()