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