4 references to BoundDiscardPattern
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Patterns.cs (2)
474return new BoundDiscardPattern(node, inputType: inputType, narrowedType: inputType); 1587return new BoundDiscardPattern(node, inputType: inputType, narrowedType: inputType);
Binder\DecisionDagBuilder_CheckOrReachability.cs (1)
1478return new BoundDiscardPattern(syntax, inputType, inputType);
Binder\SwitchBinder_Patterns.cs (1)
262var pattern = new BoundDiscardPattern(node, inputType: SwitchGoverningType, narrowedType: SwitchGoverningType);