Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAhson Khan <ahkha@microsoft.com>2018-01-23 00:57:11 +0300
committerGitHub <noreply@github.com>2018-01-23 00:57:11 +0300
commit3bd92627316f9f3174143638ab6e7c3c282de523 (patch)
treee279eff937a0669096ad7a9106017b62734eebd5 /src/System.Memory/ref/System.Memory.cs
parentdd268c88496e5718bf52c384261485f18b987771 (diff)
Rename Pin offset to byteOffset and clean up Retain test (#26518)
Diffstat (limited to 'src/System.Memory/ref/System.Memory.cs')
-rw-r--r--src/System.Memory/ref/System.Memory.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Memory/ref/System.Memory.cs b/src/System.Memory/ref/System.Memory.cs
index 529d181270..1ad8edb84a 100644
--- a/src/System.Memory/ref/System.Memory.cs
+++ b/src/System.Memory/ref/System.Memory.cs
@@ -226,7 +226,7 @@ namespace System.Buffers
public abstract System.Span<T> Span { get; }
public void Dispose() { }
protected abstract void Dispose(bool disposing);
- public abstract System.Buffers.MemoryHandle Pin(int offset=0);
+ public abstract System.Buffers.MemoryHandle Pin(int byteOffset=0);
public abstract bool Release();
public abstract void Retain();
protected internal abstract bool TryGetArray(out System.ArraySegment<T> arraySegment);