3 references to IsValidPolymorphicCast
System.Data.Entity (3)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (2)
1136if (!TypeSemantics.IsValidPolymorphicCast(entitySet.ElementType, entityType)) 1176if (!TypeSemantics.IsValidPolymorphicCast(entitySet.ElementType, entityType))
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
1913if (!TypeSemantics.IsValidPolymorphicCast(entitySet.ElementType, targetTypeUsage.EdmType))