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))
1930if (HasIdentityConversionInternal(sourceType, destination))
2262if (HasIdentityConversionInternal(unwrappedSource, unwrappedDestination))
2454if (HasIdentityConversionInternal(unwrappedSource, unwrappedDestination))
2515if (HasIdentityConversionInternal(source, destination))
2711if (!HasIdentityConversionInternal(source, destination) && HasInterfaceVarianceConversion(source, destination, ref useSiteInfo))
2920if (HasIdentityConversionInternal(effectiveBaseClass, destination))
3143if (HasIdentityConversionInternal(source, destination))
3438if (HasIdentityConversionInternal(source, destination))
3553if (HasIdentityConversionInternal(type, source))
3673if (HasIdentityConversionInternal(source, destination))
3694if (!HasIdentityConversionInternal(sourceArg, destinationArg))
3708bool hasIdentityConversion = HasIdentityConversionInternal(sourceArg, destinationArg);
3756if (HasIdentityConversionInternal(iface, source))
3794if (HasIdentityConversionInternal(sourceElement, destinationElement))
4008return HasIdentityConversionInternal(source.Type, destination.Type) &&