csharplang
csharplang copied to clipboard
Champion "User-defined Positional Patterns"
- [ ] Proposal added
- [ ] Discussed in LDM
- [ ] Decision in LDM
- [ ] Finalized (done, rejected, inactive)
- [ ] Spec'ed
This championed proposal is for that part of the pattern-matching specification that permits a user-defined positional pattern. As specified, it is a user-defined operator is
. Given the current shape of the language post tuples, an alternative might be a bool
-returning static Deconstruct
method.