4 references to BoundDiscardPattern
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Patterns.cs (2)
416return new BoundDiscardPattern(node, inputType: inputType, narrowedType: inputType); 1365return new BoundDiscardPattern(node, inputType: inputType, narrowedType: inputType);
Binder\DecisionDagBuilder_CheckOrReachability.cs (1)
1399return new BoundDiscardPattern(syntax, inputType, inputType);
Binder\SwitchBinder_Patterns.cs (1)
260var pattern = new BoundDiscardPattern(node, inputType: SwitchGoverningType, narrowedType: SwitchGoverningType);