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
path: root/src
diff options
context:
space:
mode:
authorMaryam Ariyan <maryam.ariyan@microsoft.com>2018-03-28 21:09:42 +0300
committerJan Kotas <jkotas@microsoft.com>2018-03-29 01:44:32 +0300
commit9efeb9316dcee0633899c948224571f1087fdf97 (patch)
tree52828d039b0b119c7ce929b04268347259820fb8 /src
parent52f30f1357717c13eed6a22122dffe3f5a228e8a (diff)
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 <dotnet-bot@microsoft.com>
Diffstat (limited to 'src')
-rw-r--r--src/System.Private.CoreLib/shared/System/IntPtr.cs4
-rw-r--r--src/System.Private.CoreLib/shared/System/UIntPtr.cs4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/System.Private.CoreLib/shared/System/IntPtr.cs b/src/System.Private.CoreLib/shared/System/IntPtr.cs
index 684c1389a..44638ddd8 100644
--- a/src/System.Private.CoreLib/shared/System/IntPtr.cs
+++ b/src/System.Private.CoreLib/shared/System/IntPtr.cs
@@ -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()
diff --git a/src/System.Private.CoreLib/shared/System/UIntPtr.cs b/src/System.Private.CoreLib/shared/System/UIntPtr.cs
index 590722668..8b2568fde 100644
--- a/src/System.Private.CoreLib/shared/System/UIntPtr.cs
+++ b/src/System.Private.CoreLib/shared/System/UIntPtr.cs
@@ -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()