You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
I'd like to implement a Reverse extension method for RefEnumerable<T> that mimics the one for Span<T>, but since the Length property on RefEnumerable<T> is non-public, and there's no indexer, this can get complicated.
Describe the solution
The following additional APIs will be available on RefEnumerable<T>:
Describe the problem this feature would solve
I'd like to implement a
Reverseextension method forRefEnumerable<T>that mimics the one forSpan<T>, but since theLengthproperty onRefEnumerable<T>is non-public, and there's no indexer, this can get complicated.Describe the solution
The following additional APIs will be available on
RefEnumerable<T>:It may also be worthwhile to expose the
stepvalue for advanced scenarios (which would allow for a more efficient implementation ofReverse.)Describe alternatives you've considered
Implementing a
Reverseextension method in the toolkit itself.