diff options
author | gdkchan <gab.dark.100@gmail.com> | 2022-08-11 18:07:37 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-11 18:07:37 -0300 |
commit | a5ff0024fb33964c802e1712e5b11a52390603e7 (patch) | |
tree | fdc0b7781541215cd728b8e0288b729f73dbad88 /Ryujinx.Common/Memory/ArrayPtr.cs | |
parent | f9661a54d21c3020783d14fd9935bb7b741a6915 (diff) |
Rename ToSpan to AsSpan (#3556)1.1.211
Diffstat (limited to 'Ryujinx.Common/Memory/ArrayPtr.cs')
-rw-r--r-- | Ryujinx.Common/Memory/ArrayPtr.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Common/Memory/ArrayPtr.cs b/Ryujinx.Common/Memory/ArrayPtr.cs index 7a145de2..9e95f75e 100644 --- a/Ryujinx.Common/Memory/ArrayPtr.cs +++ b/Ryujinx.Common/Memory/ArrayPtr.cs @@ -87,7 +87,7 @@ namespace Ryujinx.Common.Memory /// Gets a span from the array. /// </summary> /// <returns>Span of the array</returns> - public Span<T> ToSpan() => Length == 0 ? Span<T>.Empty : MemoryMarshal.CreateSpan(ref this[0], Length); + public Span<T> AsSpan() => Length == 0 ? Span<T>.Empty : MemoryMarshal.CreateSpan(ref this[0], Length); /// <summary> /// Gets the array base pointer. |