3 references to CheckValidPatternType
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Operators.cs (1)
4936bool hasErrors = CheckValidPatternType(node.Right, unionType, inputType, targetType, diagnostics: diagnostics);
Binder\Binder_Patterns.cs (2)
1011hasErrors |= CheckValidPatternType(patternExpression, unionType, inputType, originalExpression.Type, diagnostics: diagnostics); 1467hasErrors |= CheckValidPatternType(typeSyntax, unionType, inputType, declType.Type, diagnostics: diagnostics);