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)
4139leftConversionClassification = 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); 1621return ClassifyImplicitConversionFromType(multicastDelegateType, type, ref useSiteInfo).Exists; 2371return conversions.ClassifyImplicitConversionFromType(s.Type, d.Type, ref u); 3003if (ClassifyImplicitConversionFromType(typeToCheck, targetInterfaceType, ref useSiteInfo).IsImplicit)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (8)
2199if (allSame && Conversions.ClassifyImplicitConversionFromType(type1Normalized, type2Normalized, ref useSiteInfo).Kind != ConversionKind.Identity) 2208if (Conversions.ClassifyImplicitConversionFromType(type1Normalized, type2Normalized, ref useSiteInfo).Kind != ConversionKind.Identity) 2321if (Conversions.ClassifyImplicitConversionFromType(type1Normalized, type2Normalized, ref useSiteInfo).Kind != ConversionKind.Identity) 3050var t1IsConvertibleToT2 = Conversions.ClassifyImplicitConversionFromType(t1, t2, ref useSiteInfo).IsImplicit; 3051var t2IsConvertibleToT1 = Conversions.ClassifyImplicitConversionFromType(t2, t1, ref useSiteInfo).IsImplicit; 3170Conversions.ClassifyImplicitConversionFromType(source, destination, ref useSiteInfo).IsImplicit; 3467bool type1ToType2 = Conversions.ClassifyImplicitConversionFromType(type1, type2, ref useSiteInfo).IsImplicit; 3468bool type2ToType1 = Conversions.ClassifyImplicitConversionFromType(type2, type1, ref useSiteInfo).IsImplicit;