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