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