Fixed code issue

This commit is contained in:
Darth Affe 2024-03-23 03:41:34 +01:00
parent 2a7e419e4c
commit 8f5f5c7354

View File

@ -91,7 +91,7 @@ public readonly ref struct ReadOnlyRefEnumerable<T>
{ {
this._step = step; this._step = step;
_span = MemoryMarshal.CreateReadOnlySpan(ref Unsafe.AsRef(reference), length); _span = MemoryMarshal.CreateReadOnlySpan(ref Unsafe.AsRef(in reference), length);
} }
#endregion #endregion