Open
Description
opened on May 7, 2020
Allow is [ 1, 2, 3 ]
(list pattern), and is [length]
(length pattern)is [ 1, ..var x, 5 ]
(slice pattern).
Speclet: https://github.com/dotnet/csharplang/blob/main/proposals/csharp-11.0/list-patterns.md
See #3245
LDM Discussions:
- https://github.com/dotnet/csharplang/blob/master/meetings/2020/LDM-2020-12-14.md
- https://github.com/dotnet/csharplang/blob/master/meetings/2020/LDM-2020-12-16.md
- https://github.com/dotnet/csharplang/blob/master/meetings/2021/LDM-2021-02-03.md#list-patterns-on-ienumerable
- https://github.com/dotnet/csharplang/blob/main/meetings/2021/LDM-2021-04-12.md
- https://github.com/dotnet/csharplang/blob/main/meetings/2021/LDM-2021-06-07.md#list-patterns
- https://github.com/dotnet/csharplang/blob/main/meetings/2021/LDM-2021-06-14.md#list-pattern-syntax
- https://github.com/dotnet/csharplang/blob/main/meetings/2021/LDM-2021-06-21.md#list-patterns-in-recursive-patterns
- https://github.com/dotnet/csharplang/blob/main/meetings/2021/LDM-2021-09-22.md#open-questions-in-list-patterns
- https://github.com/dotnet/csharplang/blob/main/meetings/2021/LDM-2021-09-22.md#open-questions-in-list-patterns
- https://github.com/dotnet/csharplang/blob/main/meetings/2021/LDM-2021-10-13.md
- https://github.com/dotnet/csharplang/blob/main/meetings/2021/LDM-2021-10-20.md#open-questions-in-list-patterns
- https://github.com/dotnet/csharplang/blob/main/meetings/2022/LDM-2022-03-09.md#ambiguity-of--in-collection-expressions
Activity