3 references to CheckValidPatternType
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Operators.cs (1)
4936
bool hasErrors =
CheckValidPatternType
(node.Right, unionType, inputType, targetType, diagnostics: diagnostics);
Binder\Binder_Patterns.cs (2)
1011
hasErrors |=
CheckValidPatternType
(patternExpression, unionType, inputType, originalExpression.Type, diagnostics: diagnostics);
1467
hasErrors |=
CheckValidPatternType
(typeSyntax, unionType, inputType, declType.Type, diagnostics: diagnostics);