6 references to HasIdentityOrImplicitReferenceConversion
Microsoft.CodeAnalysis.CSharp (6)
Binder\Semantics\Conversions\ConversionsBase.cs (2)
2600return HasIdentityOrImplicitReferenceConversion(elementType.Type, argument0.Type, ref useSiteInfo); 3421&& (HasIdentityOrImplicitReferenceConversion(sourceType.Type, destinationType.Type, ref useSiteInfo)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
866returnsMatch = Conversions.HasIdentityOrImplicitReferenceConversion(method.ReturnType, returnType, ref useSiteInfo);
Symbols\ConstraintsHelper.cs (2)
1334if (conversions.HasIdentityOrImplicitReferenceConversion(typeArgument.Type, constraintType.Type, ref useSiteInfo)) 1531return conversions.HasIdentityOrImplicitReferenceConversion(a, b, ref useSiteInfo) || conversions.HasBoxingConversion(a, b, ref useSiteInfo);
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1204var result = DeclaringCompilation.Conversions.HasIdentityOrImplicitReferenceConversion(overridingReturnType.Type, overriddenReturnType.Type, ref useSiteInfo);