KEMBAR78
Proposal: extend the set of things allowed in expression trees · Issue #2545 · dotnet/csharplang · GitHub
Skip to content

Proposal: extend the set of things allowed in expression trees #2545

@gafter

Description

@gafter

Expression trees support only a subset of the things that could be semantically meaningful. Consider allowing them to support the following constructs:

  • The null-coalescing operators such as a?.b, a?[b]
  • Expressions involving dynamic
  • Invocations that use default or named parameters
  • Assignment and other mutation expressions
  • A statement-bodied lambda

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions