7 references to HasBoxingConversion
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Patterns.cs (1)
1840
else if (binder.Conversions.
HasBoxingConversion
(bestSoFar, possiblyLessSpecificCandidate, ref useSiteInfo))
Binder\Semantics\Conversions\ConversionsBase.cs (4)
733
if (
HasBoxingConversion
(source, destination, ref useSiteInfo))
1935
if (
HasBoxingConversion
(sourceType, destination, ref useSiteInfo))
3327
return
HasBoxingConversion
(source.GetNullableUnderlyingType(), destination, ref useSiteInfo);
3847
HasBoxingConversion
(destination, source, ref useSiteInfo))
Symbols\ConstraintsHelper.cs (2)
1343
if (conversions.
HasBoxingConversion
(typeArgument.Type.IsNullableType() ? ((NamedTypeSymbol)typeArgument.Type).ConstructedFrom : typeArgument.Type,
1531
return conversions.HasIdentityOrImplicitReferenceConversion(a, b, ref useSiteInfo) || conversions.
HasBoxingConversion
(a, b, ref useSiteInfo);