18 references to ClassifyImplicitConversionFromType
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder_Await.cs (1)
416var conversion = this.Conversions.ClassifyImplicitConversionFromType(awaiterType, INotifyCompletion, ref useSiteInfo);
Binder\Binder_Operators.cs (1)
4134leftConversionClassification = Conversions.ClassifyImplicitConversionFromType(optLeftType0, optRightType, ref useSiteInfo);
Binder\Binder_TupleOperators.cs (1)
132Conversion conversion = this.Conversions.ClassifyImplicitConversionFromType(type, boolean, ref useSiteInfo);
Binder\Semantics\Conversions\Conversions.cs (2)
492var pointerConversion = ClassifyImplicitConversionFromType(sourceAsPointer, destination, ref useSiteInfo); 504var spanConversion = ClassifyImplicitConversionFromType(spanType_T, destination, ref useSiteInfo);
Binder\Semantics\Conversions\ConversionsBase.cs (5)
199/// Helper method that calls <see cref="ClassifyImplicitConversionFromType"/> or 211return ClassifyImplicitConversionFromType(source, destination, ref useSiteInfo); 1623return ClassifyImplicitConversionFromType(multicastDelegateType, type, ref useSiteInfo).Exists; 2373return conversions.ClassifyImplicitConversionFromType(s.Type, d.Type, ref u); 3005if (ClassifyImplicitConversionFromType(typeToCheck, targetInterfaceType, ref useSiteInfo).IsImplicit)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (8)
2191if (allSame && Conversions.ClassifyImplicitConversionFromType(type1Normalized, type2Normalized, ref useSiteInfo).Kind != ConversionKind.Identity) 2200if (Conversions.ClassifyImplicitConversionFromType(type1Normalized, type2Normalized, ref useSiteInfo).Kind != ConversionKind.Identity) 2313if (Conversions.ClassifyImplicitConversionFromType(type1Normalized, type2Normalized, ref useSiteInfo).Kind != ConversionKind.Identity) 3042var t1IsConvertibleToT2 = Conversions.ClassifyImplicitConversionFromType(t1, t2, ref useSiteInfo).IsImplicit; 3043var t2IsConvertibleToT1 = Conversions.ClassifyImplicitConversionFromType(t2, t1, ref useSiteInfo).IsImplicit; 3162Conversions.ClassifyImplicitConversionFromType(source, destination, ref useSiteInfo).IsImplicit; 3438bool type1ToType2 = Conversions.ClassifyImplicitConversionFromType(type1, type2, ref useSiteInfo).IsImplicit; 3439bool type2ToType1 = Conversions.ClassifyImplicitConversionFromType(type2, type1, ref useSiteInfo).IsImplicit;