-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Open
Labels
area-System.Runtimeneeds-further-triageIssue has been initially triaged, but needs deeper consideration or reconsiderationIssue has been initially triaged, but needs deeper consideration or reconsideration
Milestone
Description
It's odd that Span.ToArray is marked AggressiveInlining but ReadOnlySpan.ToArray isn't.
This is the only shared helper where they differ in this way.
Seems to have snuck in during dotnet/corefx#26667
runtime/src/libraries/System.Private.CoreLib/src/System/Span.cs
Lines 435 to 437 in c1b153a
| /// </summary> | |
| [MethodImpl(MethodImplOptions.AggressiveInlining)] | |
| public T[] ToArray() |
runtime/src/libraries/System.Private.CoreLib/src/System/ReadOnlySpan.cs
Lines 406 to 407 in c1b153a
| /// </summary> | |
| public T[] ToArray() |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-System.Runtimeneeds-further-triageIssue has been initially triaged, but needs deeper consideration or reconsiderationIssue has been initially triaged, but needs deeper consideration or reconsideration