Support proposed "type pattern" in switch #10941
Labels
Area-Compilers
Feature Request
Language-C#
New Language Feature - Pattern Matching
Pattern Matching
Resolution-Won't Fix
A real bug, but Triage feels that the issue is not impactful enough to spend time on.
Milestone
LDM proposed to support
case int
andcase int[]
,case System.Int32
etc. The latter must be parsed as a constant expression (for compatibility) but bound as a type.The text was updated successfully, but these errors were encountered: