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