Rename Pin offset to byteOffset and clean up Retain test (#26518)
authorAhson Khan <ahkha@microsoft.com>
Mon, 22 Jan 2018 21:57:11 +0000 (13:57 -0800)
committerJan Kotas <jkotas@microsoft.com>
Mon, 22 Jan 2018 23:23:20 +0000 (15:23 -0800)
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
src/mscorlib/shared/System/Buffers/OwnedMemory.cs

index b2d7a74..eade1fe 100644 (file)
@@ -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.