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