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)
4529
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)
515
var pointerConversion =
ClassifyImplicitConversionFromType
(sourceAsPointer, destination, ref useSiteInfo);
527
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);
1621
return
ClassifyImplicitConversionFromType
(multicastDelegateType, type, ref useSiteInfo).Exists;
2371
return conversions.
ClassifyImplicitConversionFromType
(s.Type, d.Type, ref u);
3003
if (
ClassifyImplicitConversionFromType
(typeToCheck, targetInterfaceType, ref useSiteInfo).IsImplicit)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (8)
2231
if (allSame && Conversions.
ClassifyImplicitConversionFromType
(type1Normalized, type2Normalized, ref useSiteInfo).Kind != ConversionKind.Identity)
2240
if (Conversions.
ClassifyImplicitConversionFromType
(type1Normalized, type2Normalized, ref useSiteInfo).Kind != ConversionKind.Identity)
2353
if (Conversions.
ClassifyImplicitConversionFromType
(type1Normalized, type2Normalized, ref useSiteInfo).Kind != ConversionKind.Identity)
3085
var t1IsConvertibleToT2 = Conversions.
ClassifyImplicitConversionFromType
(t1, t2, ref useSiteInfo).IsImplicit;
3086
var t2IsConvertibleToT1 = Conversions.
ClassifyImplicitConversionFromType
(t2, t1, ref useSiteInfo).IsImplicit;
3205
Conversions.
ClassifyImplicitConversionFromType
(source, destination, ref useSiteInfo).IsImplicit;
3502
bool type1ToType2 = Conversions.
ClassifyImplicitConversionFromType
(type1, type2, ref useSiteInfo).IsImplicit;
3503
bool type2ToType1 = Conversions.
ClassifyImplicitConversionFromType
(type2, type1, ref useSiteInfo).IsImplicit;