Skip to content
代码片段 群组 项目
用户头像
Andy Gocke 编辑于
We made a change in #32818 to restore compatibility with C# 7.x
in rejecting certain switch statements even when we could prove
completeness with the new switch analysis. It looks like that
change just went a little too far, as we could do the analysis
if the argument to the switch expression was a constant. This
change removes the compat clause for switches with constant
values

Fixes #35011
7d7474c8
历史
名称 最后提交 最后更新