From a5ff0024fb33964c802e1712e5b11a52390603e7 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Thu, 11 Aug 2022 18:07:37 -0300 Subject: Rename ToSpan to AsSpan (#3556) --- Ryujinx.Common/Memory/ArrayPtr.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ryujinx.Common/Memory/ArrayPtr.cs') 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. /// /// Span of the array - public Span ToSpan() => Length == 0 ? Span.Empty : MemoryMarshal.CreateSpan(ref this[0], Length); + public Span AsSpan() => Length == 0 ? Span.Empty : MemoryMarshal.CreateSpan(ref this[0], Length); /// /// Gets the array base pointer. -- cgit v1.2.3