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