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