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