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