21 references to HasIdentityConversionInternal
Microsoft.CodeAnalysis.CSharp (21)
Binder\Semantics\Conversions\ConversionsBase.cs (21)
107if (sourceType is { } && HasIdentityConversionInternal(sourceType, destination)) 175if (HasIdentityConversionInternal(source, destination)) 706if (HasIdentityConversionInternal(source, destination)) 968if (HasIdentityConversionInternal(iface, baseType)) 998if (HasIdentityConversionInternal(b, baseType)) 1150HasIdentityConversionInternal(((NamedTypeSymbol)destination.OriginalDefinition).Construct(ImmutableArray.Create(elementType)), destination)) 1928if (HasIdentityConversionInternal(sourceType, destination)) 2260if (HasIdentityConversionInternal(unwrappedSource, unwrappedDestination)) 2452if (HasIdentityConversionInternal(unwrappedSource, unwrappedDestination)) 2513if (HasIdentityConversionInternal(source, destination)) 2709if (!HasIdentityConversionInternal(source, destination) && HasInterfaceVarianceConversion(source, destination, ref useSiteInfo)) 2918if (HasIdentityConversionInternal(effectiveBaseClass, destination)) 3141if (HasIdentityConversionInternal(source, destination)) 3436if (HasIdentityConversionInternal(source, destination)) 3551if (HasIdentityConversionInternal(type, source)) 3671if (HasIdentityConversionInternal(source, destination)) 3692if (!HasIdentityConversionInternal(sourceArg, destinationArg)) 3706bool hasIdentityConversion = HasIdentityConversionInternal(sourceArg, destinationArg); 3754if (HasIdentityConversionInternal(iface, source)) 3792if (HasIdentityConversionInternal(sourceElement, destinationElement)) 4006return HasIdentityConversionInternal(source.Type, destination.Type) &&