Binder\SwitchBinder_Patterns.cs (4)
253caseLabelSyntax.Value, caseLabelSyntax.Value, ref unionType, SwitchGoverningType, ref permitDesignations, hasErrors, diagnostics, out bool hasUnionMatching);
262var pattern = new BoundDiscardPattern(node, inputType: SwitchGoverningType, narrowedType: SwitchGoverningType);
287matchLabelSyntax.Pattern, ref unionType, SwitchGoverningType, ref permitDesignations, node.HasErrors, diagnostics, out bool hasUnionMatching, underIsPattern: false);