• N
    Target-typed switch expression (#37052) · fbdb480b
    Neal Gafter 提交于
    Implements https://github.com/dotnet/csharplang/issues/2389
    Fixes #35958
    
    Note that the switch expression conversion is not a standard implicit conversion.  Specifically, it should not be considered as a valid implicit conversion as input to a user-defined conversion, as that could permit two chained user-defined conversions.
    
    Also changes binding of switch expression to ECMA so it can interact properly with switch expressions.
    Fixes #14965
    fbdb480b
NullableReferenceTypesTests.cs 4.3 MB
The source could not be displayed because it is larger than 1.0 MB. You can load it anywaydownload it instead.