4 references to BoundDiscardPattern
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Patterns.cs (2)
865
return new
BoundDiscardPattern
(node, inputType: inputType, narrowedType: inputType);
1975
return new
BoundDiscardPattern
(node, inputType: inputType, narrowedType: inputType);
Binder\DecisionDagBuilder_CheckOrReachability.cs (1)
1408
return new
BoundDiscardPattern
(syntax, inputType, inputType);
Binder\SwitchBinder_Patterns.cs (1)
261
var pattern = new
BoundDiscardPattern
(node, inputType: SwitchGoverningType, narrowedType: SwitchGoverningType);