10 references to HasBoxingConversion
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Patterns.cs (1)
1841
else if (binder.Conversions.
HasBoxingConversion
(bestSoFar, possiblyLessSpecificCandidate, ref useSiteInfo))
Binder\Semantics\Conversions\ConversionsBase.cs (4)
733
if (
HasBoxingConversion
(source, destination, ref useSiteInfo))
1933
if (
HasBoxingConversion
(sourceType, destination, ref useSiteInfo))
3325
return
HasBoxingConversion
(source.GetNullableUnderlyingType(), destination, ref useSiteInfo);
3845
HasBoxingConversion
(destination, source, ref useSiteInfo))
FlowAnalysis\NullableWalker.cs (2)
2110
conversionsWithoutNullability.
HasBoxingConversion
(slotType, nodeType, ref discardedUseSiteInfo))));
2715
conversionsWithoutNullability.
HasBoxingConversion
(possibleDerived, possibleBase, ref discardedUseSiteInfo);
Symbols\ConstraintsHelper.cs (3)
1372
if (conversions.
HasBoxingConversion
(typeArgument.Type.IsNullableType() ? ((NamedTypeSymbol)typeArgument.Type).ConstructedFrom : typeArgument.Type,
1560
return conversions.HasIdentityOrImplicitReferenceConversion(a, b, ref useSiteInfo) || conversions.
HasBoxingConversion
(a, b, ref useSiteInfo);
1632
conversions.
HasBoxingConversion
(deducedBase, effectiveBase, ref discardedUseSiteInfo));