15 references to BindPattern
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Patterns.cs (12)
82
BoundPattern pattern =
BindPattern
(node.Pattern, ref unionType, expression.Type, permitDesignations: true, hasErrors, diagnostics, out bool hasUnionMatching, underIsPattern: true);
260
return
BindPattern
(node.Pattern, ref unionType, inputType, permitDesignations, hasErrors, diagnostics, out hasUnionMatching, underIsPattern);
316
pattern =
BindPattern
(node.Pattern, ref unionType, sliceType, permitDesignations, hasErrors, diagnostics, out hasUnionMatching, underIsPattern: false);
351
boundPattern =
BindPattern
(pattern, ref unionType, elementType, permitDesignations, hasErrors, diagnostics, out bool patternHasUnionMatching, underIsPattern: false);
1326
BindPattern
(subPattern.Pattern, ref unionType, elementType, permitDesignations, isError, diagnostics, out bool subPatternHasUnionMatching, underIsPattern: false)
1360
BindPattern
(subpatternSyntax.Pattern, ref unionType, objectType, permitDesignations, hasErrors: false, diagnostics, out bool subPatternHasUnionMatching, underIsPattern: false));
1406
BindPattern
(subpatternSyntax.Pattern, ref unionType, elementType, permitDesignations, isError, diagnostics, out bool subPatternHasUnionMatching, underIsPattern: false));
1767
BoundPattern boundPattern =
BindPattern
(pattern, ref unionType, memberType, permitDesignations, hasErrors, diagnostics, out bool patternHasUnionMatching, underIsPattern: false);
2084
var subPattern =
BindPattern
(node.Pattern, ref currentUnionType, inputType, permitDesignations, hasErrors, diagnostics, out hasUnionMatching, underIsPattern);
2114
BoundPattern result =
BindPattern
(binaryPatternAndPermitDesignations.pat.Left, ref unionType, inputType, binaryPatternAndPermitDesignations.permitDesignations, hasErrors, diagnostics, out hasUnionMatching, underIsPattern: false);
2160
var right = binder.
BindPattern
(node.Right, ref rightUnionType, inputType, permitDesignations, hasErrors, diagnostics, out bool rightHasUnionMatching, underIsPattern: false);
2179
var right = binder.
BindPattern
(node.Right, ref unionType, preboundLeft.NarrowedType, permitDesignations, hasErrors, diagnostics, out bool rightHasUnionMatching, underIsPattern: false);
Binder\SwitchBinder_Patterns.cs (1)
284
BoundPattern pattern = sectionBinder.
BindPattern
(
Binder\SwitchBinder.cs (1)
227
_ = sectionBinder.
BindPattern
(
Binder\SwitchExpressionArmBinder.cs (1)
43
BoundPattern pattern = armBinder.
BindPattern
(node.Pattern, ref unionType, switchGoverningType, permitDesignations: true, hasErrors, diagnostics, out bool hasUnionMatching, underIsPattern: false);