5 references to ExpressionOfTypeMatchesPatternType
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Patterns.cs (3)
1120
ConstantValue match =
ExpressionOfTypeMatchesPatternType
(Conversions, inputType, expression.Type, ref useSiteInfo, out _, operandConstantValue: null);
1315
matchPossible =
ExpressionOfTypeMatchesPatternType
(
1382
matchPossible =
ExpressionOfTypeMatchesPatternType
(
Binder\DecisionDagBuilder.cs (2)
2143
matches = Binder.
ExpressionOfTypeMatchesPatternType
(_conversions, t2Type, t1Type, ref useSiteInfo, out _);
2700
ConstantValue result = Binder.
ExpressionOfTypeMatchesPatternType
(conversions, expressionType, patternType, ref useSiteInfo, out Conversion conversion);