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