2 references to HasCastToQueryProvider
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_QueryErrors.cs (2)
60
else if (fromClause != null && fromClause.Type == null &&
HasCastToQueryProvider
(instanceArgument.Type, ref useSiteInfo))
82
if (instanceType.TypeKind == TypeKind.Array || name == "Cast" &&
HasCastToQueryProvider
(instanceType, ref useSiteInfo))