15 references to BindPattern
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Patterns.cs (12)
39
BoundPattern pattern =
BindPattern
(node.Pattern, expression.Type, permitDesignations: true, hasErrors, diagnostics, underIsPattern: true);
199
return
BindPattern
(node.Pattern, inputType, permitDesignations, hasErrors, diagnostics, underIsPattern);
253
pattern =
BindPattern
(node.Pattern, sliceType, permitDesignations, hasErrors, diagnostics);
280
boundPattern =
BindPattern
(pattern, elementType, permitDesignations, hasErrors, diagnostics);
1101
BindPattern
(subPattern.Pattern, elementType, permitDesignations, isError, diagnostics)
1131
BindPattern
(subpatternSyntax.Pattern, objectType, permitDesignations, hasErrors: false, diagnostics));
1191
BindPattern
(subpatternSyntax.Pattern, elementType, permitDesignations, isError, diagnostics));
1503
BoundPattern boundPattern =
BindPattern
(pattern, memberType, permitDesignations, hasErrors, diagnostics);
1727
var subPattern =
BindPattern
(node.Pattern, inputType, permitDesignations, hasErrors, diagnostics, underIsPattern);
1753
BoundPattern result =
BindPattern
(binaryPatternAndPermitDesignations.pat.Left, inputType, binaryPatternAndPermitDesignations.permitDesignations, hasErrors, diagnostics);
1790
var right = binder.
BindPattern
(node.Right, inputType, permitDesignations, hasErrors, diagnostics);
1857
var right = binder.
BindPattern
(node.Right, preboundLeft.NarrowedType, permitDesignations, hasErrors, diagnostics);
Binder\SwitchBinder.cs (1)
226
_ = 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);