csharplang icon indicating copy to clipboard operation
csharplang copied to clipboard

Champion "User-defined Positional Patterns"

Open gafter opened this issue 6 years ago • 56 comments

  • [ ] 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.

gafter avatar Oct 25 '17 19:10 gafter