summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAhson Khan <ahkha@microsoft.com>2018-01-22 13:57:11 -0800
committerJan Kotas <jkotas@microsoft.com>2018-01-22 15:23:20 -0800
commit6ef7735b14da25aa7e5b2c2a0c34c06fa868b209 (patch)
tree97154978d7dc93ff5acba22a70ed527737348d81 /src
parent88066c546d826b00f361e91df9f9591fce549a2c (diff)
downloadcoreclr-6ef7735b14da25aa7e5b2c2a0c34c06fa868b209.tar.gz
coreclr-6ef7735b14da25aa7e5b2c2a0c34c06fa868b209.tar.bz2
coreclr-6ef7735b14da25aa7e5b2c2a0c34c06fa868b209.zip
Rename Pin offset to byteOffset and clean up Retain test (#26518)
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
Diffstat (limited to 'src')
-rw-r--r--src/mscorlib/shared/System/Buffers/OwnedMemory.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mscorlib/shared/System/Buffers/OwnedMemory.cs b/src/mscorlib/shared/System/Buffers/OwnedMemory.cs
index b2d7a74c49..eade1feff3 100644
--- a/src/mscorlib/shared/System/Buffers/OwnedMemory.cs
+++ b/src/mscorlib/shared/System/Buffers/OwnedMemory.cs
@@ -43,7 +43,7 @@ namespace System.Buffers
/// <summary>
/// Returns a handle for the array that has been pinned and hence its address can be taken
/// </summary>
- public abstract MemoryHandle Pin(int offset = 0);
+ public abstract MemoryHandle Pin(int byteOffset = 0);
/// <summary>
/// Returns an array segment.