Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit dad4b72

Browse files
maryamariyanstephentoub
authored andcommitted
Nit changes in API diff between .NET Core 2.0 and .NET Core 2.1 (#17288)
* 'value' to 'other': bool System.IEquatable<System.UIntPtr>.Equals(UIntPtr value); * 'value' to 'other': bool System.IEquatable<System.IntPtr>.Equals(IntPtr value); Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
1 parent f519454 commit dad4b72

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Common/src/CoreLib/System/IntPtr.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ public unsafe override bool Equals(Object obj)
8181
return false;
8282
}
8383

84-
unsafe bool IEquatable<IntPtr>.Equals(IntPtr value)
84+
unsafe bool IEquatable<IntPtr>.Equals(IntPtr other)
8585
{
86-
return _value == value._value;
86+
return _value == other._value;
8787
}
8888

8989
public unsafe override int GetHashCode()

src/Common/src/CoreLib/System/UIntPtr.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ public unsafe override bool Equals(Object obj)
7777
return false;
7878
}
7979

80-
unsafe bool IEquatable<UIntPtr>.Equals(UIntPtr value)
80+
unsafe bool IEquatable<UIntPtr>.Equals(UIntPtr other)
8181
{
82-
return _value == value._value;
82+
return _value == other._value;
8383
}
8484

8585
public unsafe override int GetHashCode()

0 commit comments

Comments
 (0)