2 references to CheckValidPatternType
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Patterns.cs (2)
517hasErrors |= CheckValidPatternType(patternExpression, inputType, expression.Type, diagnostics: diagnostics); 862hasErrors |= CheckValidPatternType(typeSyntax, inputType, declType.Type, diagnostics: diagnostics);