4 references to ExpressionOfTypeMatchesPatternType
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Patterns.cs (2)
620ConstantValue match = ExpressionOfTypeMatchesPatternType(Conversions, inputType, expression.Type, ref useSiteInfo, out _, operandConstantValue: null); 765ConstantValue matchPossible = ExpressionOfTypeMatchesPatternType(
Binder\DecisionDagBuilder.cs (2)
1316matches = Binder.ExpressionOfTypeMatchesPatternType(_conversions, t2.Type, t1.Type, ref useSiteInfo, out _); 1544ConstantValue result = Binder.ExpressionOfTypeMatchesPatternType(_conversions, expressionType, patternType, ref useSiteInfo, out Conversion conversion);