2 references to IsRefLikeOrAllowsRefLikeTypeImplementingVarianceCompatibleInterface
Microsoft.CodeAnalysis.CSharp (2)
Binder\Semantics\Conversions\ConversionsBase.cs (2)
3011
if (
IsRefLikeOrAllowsRefLikeTypeImplementingVarianceCompatibleInterface
(typeToCheck, targetInterfaceType, ref useSiteInfo))
3045
if (expressionToCheck.Type is TypeSymbol typeToCheck &&
IsRefLikeOrAllowsRefLikeTypeImplementingVarianceCompatibleInterface
(typeToCheck, targetInterfaceType, ref useSiteInfo))