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