Translate LINQ SwitchExpression
Open
area-query
customer-reported
- Dominant language
- C#
- Stars
- 14.8k
- Forks
- 3.4k
- PR merge metrics
- PR metrics pending
Description
The compiler currently doesn't create SwitchExpression nodes. However, users may still use [Expression.Switch](https://learn.microsoft.com/en-us/dotnet/api/system.linq.expressions.expression.switch))) to create these, and these can be useful in various dynamic scenarios (e.g. see #31307).
Also, hopefully one day the compiler would also support the newer C# switch expressions, generating these nodes for them.
Contributor guide
Assessment
This issue has not been assessed yet.