Skip to content

Split the features/patterns branch into two branches for subfeatures in/out C# 7 #10866

@gafter

Description

@gafter

The features/patterns branch needs to be split into two branches for those features we are reasonably certain will be in C# 7 and those features that might be delivered in a later release. The former can be integrated into the future branch and the latter can remain in the patterns/feature branch.

Part 1 (targeting future):

  • Scoping implementation in support of pattern variables (also needed for the "out var" feature)
  • expression is Type identifier
  • case Pattern when expression: with the following pattern forms
    • Type Identifier
    • var identifier
    • Constant

Part 2 (to remain in features/patterns):

  • all recursive pattern forms, including
    • positional patterns
    • property patterns
    • tuple patterns
    • *
  • let statement
  • match expression
  • throw expression
  • pattern-matching based on user-defined code

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions