15 references to BindPattern
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Patterns.cs (12)
565
BoundPattern pattern =
BindPattern
(node.Pattern, ref unionType, expression.Type, ref permitDesignations, hasErrors, diagnostics, out bool hasUnionMatching, underIsPattern: true);
743
return
BindPattern
(node.Pattern, ref unionType, inputType, ref permitDesignations, hasErrors, diagnostics, out hasUnionMatching, underIsPattern);
799
pattern =
BindPattern
(node.Pattern, ref unionType, sliceType, ref permitDesignations, hasErrors, diagnostics, out hasUnionMatching, underIsPattern: false);
835
boundPattern =
BindPattern
(pattern, ref unionType, elementType, ref clausePermitDesignations, hasErrors, diagnostics, out bool patternHasUnionMatching, underIsPattern: false);
1821
BindPattern
(subPattern.Pattern, ref unionType, elementType, ref clausePermitDesignations, isError, diagnostics, out bool subPatternHasUnionMatching, underIsPattern: false)
1856
BindPattern
(subpatternSyntax.Pattern, ref unionType, objectType, ref clausePermitDesignations, hasErrors: false, diagnostics, out bool subPatternHasUnionMatching, underIsPattern: false));
1903
BindPattern
(subpatternSyntax.Pattern, ref unionType, elementType, ref clausePermitDesignations, isError, diagnostics, out bool subPatternHasUnionMatching, underIsPattern: false));
2265
BoundPattern boundPattern =
BindPattern
(pattern, ref unionType, memberType, ref clausePermitDesignations, hasErrors, diagnostics, out bool patternHasUnionMatching, underIsPattern: false);
2652
var subPattern =
BindPattern
(node.Pattern, ref currentUnionType, inputType, ref permitDesignations, hasErrors, diagnostics, out hasUnionMatching, underIsPattern);
2684
BoundPattern result =
BindPattern
(binaryPatternAndPermitDesignations.pat.Left, ref unionType, inputType, ref currentPermitDesignations, hasErrors, diagnostics, out hasUnionMatching, underIsPattern: false);
2752
var right = binder.
BindPattern
(node.Right, ref rightUnionType, inputType, ref permitDesignations, hasErrors, diagnostics, out bool rightHasUnionMatching, underIsPattern: false);
2771
var right = binder.
BindPattern
(node.Right, ref unionType, preboundLeft.NarrowedType, ref permitDesignations, hasErrors, diagnostics, out bool rightHasUnionMatching, underIsPattern: false);
Binder\SwitchBinder_Patterns.cs (1)
286
BoundPattern pattern = sectionBinder.
BindPattern
(
Binder\SwitchBinder.cs (1)
228
_ = sectionBinder.
BindPattern
(
Binder\SwitchExpressionArmBinder.cs (1)
44
BoundPattern pattern = armBinder.
BindPattern
(node.Pattern, ref unionType, switchGoverningType, ref permitDesignations, hasErrors, diagnostics, out bool hasUnionMatching, underIsPattern: false);