6 references to IsStructurallyEqualOrPromotableTo
System.Data.Entity (6)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (1)
52
if (!TypeSemantics.
IsStructurallyEqualOrPromotableTo
(expression.ResultType, requiredResultType))
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
1889
if (!TypeSemantics.
IsStructurallyEqualOrPromotableTo
(keyRowExpression.ResultType, TypeUsage.Create(entityKeyRowType)))
System\Data\Mapping\StorageMappingItemLoader.cs (2)
2307
bool directlyPromotable = TypeSemantics.
IsStructurallyEqualOrPromotableTo
(fromType, toType);
2308
bool inverselyPromotable = TypeSemantics.
IsStructurallyEqualOrPromotableTo
(toType, fromType);
System\Data\Metadata\TypeSemantics.cs (1)
92
return
IsStructurallyEqualOrPromotableTo
(TypeUsage.Create(fromType), TypeUsage.Create(toType));
System\Data\Query\PlanCompiler\PreProcessor.cs (1)
1259
if (!TypeSemantics.
IsStructurallyEqualOrPromotableTo
(resultType, op.Type))