What's Changed
- Binary
orpatterns are now also checked for exhaustiveness. For example:
[Union]
partial record Shape
{
partial record Circle(double Radius);
partial record Rectangle(double Length, double Width);
partial record Square(double Length);
partial record Triangle(double Base, double Height);
}
Shape? shape = null;
var sides = shape switch...