[Proposal]: list-patterns on enumerables
Open
@jnm2 is already working on this.
Since Feb 22, 2025.
Proposal champion
- Dominant language
- C#
- Stars
- 12.7k
- Forks
- 1.1k
- Avg merge
- 11h 1m
- Merged PRs (30d)
- 3
Description
list-patterns on enumerables
- Specification: https://github.com/dotnet/csharplang/blob/main/proposals/inactive/list-patterns-enumerables.md
- Discussion: https://github.com/dotnet/csharplang/discussions/9004
Summary
Allow is [ 1, 2, 3 ] (list pattern) and is [ 1, ..var x, 5 ] (slice pattern) on enumerables.
Design meetings
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.