9 references to ClassifyBuiltInConversion
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Operators.cs (2)
3328
Conversion conversion = Conversions.
ClassifyBuiltInConversion
(operandType, targetType, isChecked: CheckOverflowAtRuntime, ref useSiteInfo);
3824
Conversion conversion = Conversions.
ClassifyBuiltInConversion
(operandType, targetType, isChecked: CheckOverflowAtRuntime, ref useSiteInfo);
Binder\Binder_Patterns.cs (2)
827
conversion = conversions.
ClassifyBuiltInConversion
(expressionType, patternType, isChecked: false, ref useSiteInfo);
1287
var result = Compilation.Conversions.
ClassifyBuiltInConversion
(type, possibleBaseInterface, isChecked: CheckOverflowAtRuntime, ref useSiteInfo).IsImplicit;
Binder\DecisionDagBuilder.cs (1)
460
Conversion conversion = _conversions.
ClassifyBuiltInConversion
(inputType, type, isChecked: false, ref useSiteInfo);
Binder\Semantics\Conversions\UserDefinedExplicitConversions.cs (2)
278
fromConversion =
ClassifyBuiltInConversion
(source, convertsFrom, isChecked: isChecked, ref useSiteInfo);
287
toConversion =
ClassifyBuiltInConversion
(convertsTo, target, isChecked: isChecked, ref useSiteInfo);
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (2)
211
Conversion conversion = _factory.Compilation.Conversions.
ClassifyBuiltInConversion
(inputType, output.Type, isChecked: false, ref useSiteInfo);
484
_factory.Compilation.Conversions.
ClassifyBuiltInConversion
(test.Input.Type, typeEvaluation2.Type, isChecked: false, ref useSiteInfo) is Conversion conv &&