We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80f6501 commit 94ce3e2Copy full SHA for 94ce3e2
Microsoft.Toolkit.HighPerformance/Buffers/MemoryOwner{T}.cs
@@ -220,6 +220,7 @@ public ref T DangerousGetReference()
220
/// as the same array might be in use within another <see cref="MemoryOwner{T}"/> instance.
221
/// </remarks>
222
[Pure]
223
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
224
public ArraySegment<T> DangerousGetArray()
225
{
226
T[]? array = this.array;
0 commit comments