13 references to GetCommonTypeUsage
System.Data.Entity (13)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (5)
119if (TypeHelpers.GetCommonTypeUsage(endType, from.ResultType) == null) 149TypeUsage commonType = TypeHelpers.GetCommonTypeUsage(left.ResultType, right.ResultType); 232return TypeHelpers.GetCommonTypeUsage(left.ResultType, right.ResultType); 1434commonResultType = TypeHelpers.GetCommonTypeUsage(exp.ResultType, commonResultType); 1444commonResultType = TypeHelpers.GetCommonTypeUsage(elseExpression.ResultType, commonResultType);
System\Data\Common\EntitySql\SemanticAnalyzer.cs (4)
2003if (null == TypeHelpers.GetCommonTypeUsage(operands.Left.ResultType, operands.Right.ResultType)) 2038if (TypeHelpers.GetCommonTypeUsage(operands.Left.ResultType, operands.Right.ResultType) == null) 2298TypeUsage commonElemType = TypeHelpers.GetCommonTypeUsage(leftExpr.ResultType, TypeHelpers.GetElementTypeUsage(rightExpr.ResultType)); 5216TypeUsage rangeCommonType = TypeHelpers.GetCommonTypeUsage(limitsExpr.Left.ResultType, limitsExpr.Right.ResultType);
System\Data\Metadata\TypeSemantics.cs (1)
986return (null != TypeHelpers.GetCommonTypeUsage(type1, type2));
System\Data\Query\InternalTrees\Command.cs (1)
1776TypeUsage commonType = TypeHelpers.GetCommonTypeUsage(arg0.Op.Type, arg1.Op.Type);
System\Data\Query\PlanCompiler\CTreeGenerator.cs (1)
2156CollectionType outputType = TypeHelpers.GetEdmType<CollectionType>(TypeHelpers.GetCommonTypeUsage(left.ResultType, right.ResultType));
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
1315TypeUsage commonType = TypeHelpers.GetCommonTypeUsage(e.Left.ResultType, e.Right.ResultType);