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