16 references to BindPattern
Microsoft.CodeAnalysis.CSharp (16)
Binder\Binder_Patterns.cs (13)
38
BoundPattern pattern =
BindPattern
(node.Pattern, expression.Type, permitDesignations: true, hasErrors, diagnostics, underIsPattern: true);
198
return
BindPattern
(node.Pattern, inputType, permitDesignations, hasErrors, diagnostics, underIsPattern);
252
pattern =
BindPattern
(node.Pattern, sliceType, permitDesignations, hasErrors, diagnostics);
279
boundPattern =
BindPattern
(pattern, elementType, permitDesignations, hasErrors, diagnostics);
1091
BindPattern
(subPattern.Pattern, elementType, permitDesignations, isError, diagnostics)
1121
BindPattern
(subpatternSyntax.Pattern, objectType, permitDesignations, hasErrors: false, diagnostics));
1181
BindPattern
(subpatternSyntax.Pattern, elementType, permitDesignations, isError, diagnostics));
1493
BoundPattern boundPattern =
BindPattern
(pattern, memberType, permitDesignations, hasErrors, diagnostics);
1716
var subPattern =
BindPattern
(node.Pattern, inputType, permitDesignations, hasErrors, diagnostics, underIsPattern);
1733
var left =
BindPattern
(node.Left, inputType, permitDesignations, hasErrors, diagnostics);
1734
var right =
BindPattern
(node.Right, inputType, permitDesignations, hasErrors, diagnostics);
1817
var left =
BindPattern
(node.Left, inputType, permitDesignations, hasErrors, diagnostics);
1818
var right =
BindPattern
(node.Right, left.NarrowedType, permitDesignations, hasErrors, diagnostics);
Binder\SwitchBinder.cs (1)
222
_ = sectionBinder.
BindPattern
(
Binder\SwitchBinder_Patterns.cs (1)
272
BoundPattern pattern = sectionBinder.
BindPattern
(
Binder\SwitchExpressionArmBinder.cs (1)
42
BoundPattern pattern = armBinder.
BindPattern
(node.Pattern, switchGoverningType, permitDesignations: true, hasErrors, diagnostics);