3 references to BindTypePattern
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Operators.cs (1)
4857BoundTypePattern typePattern = BindTypePattern(node, node.Right, ref unionType, inputType, ref permitDesignations, typeExpression, hasErrors: false, tryUnionMatchingDiagnostics, ref tryUnionMatchingUseSiteInfo, out bool hasUnionMatching);
Binder\Binder_Patterns.cs (2)
1047var result = BindTypePattern(node, innerExpression, ref unionType, inputType, ref permitDesignations, (BoundTypeExpression)originalExpression, hasErrors, diagnostics, ref useSiteInfo, out hasUnionMatching); 2407var result = BindTypePattern(node, node.Type, ref unionType, inputType, ref permitDesignations, patternType, hasErrors, diagnostics, ref useSiteInfo, out hasUnionMatching);