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