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