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