36 references to GetElementTypeUsage
System.Data.Entity (36)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (4)
162
if (!TypeHelpers.IsSetComparableOpType(TypeHelpers.
GetElementTypeUsage
(left.ResultType)))
164
throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_InvalidTypeForSetOperation(TypeHelpers.
GetElementTypeUsage
(left.ResultType).Identity, typeof(TExpressionType).Name), "left");
167
if (!TypeHelpers.IsSetComparableOpType(TypeHelpers.
GetElementTypeUsage
(right.ResultType)))
169
throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_InvalidTypeForSetOperation(TypeHelpers.
GetElementTypeUsage
(right.ResultType).Identity, typeof(TExpressionType).Name), "right");
System\Data\Common\EntitySql\CqlErrorHelper.cs (2)
150
TypeHelpers.
GetElementTypeUsage
(leftType),
151
TypeHelpers.
GetElementTypeUsage
(rightType));
System\Data\Common\EntitySql\FunctionOverloadResolver.cs (1)
242
parameterType = TypeHelpers.
GetElementTypeUsage
(parameterType);
System\Data\Common\EntitySql\SemanticAnalyzer.cs (13)
1288
ConvertUntypedNullsInArguments(args, functionType.Parameters, (parameter) => TypeHelpers.
GetElementTypeUsage
(parameter.TypeUsage));
2192
TypeUsage leftElemType = TypeHelpers.
GetElementTypeUsage
(leftExpr.ResultType);
2193
TypeUsage rightElemType = TypeHelpers.
GetElementTypeUsage
(rightExpr.ResultType);
2204
if (!TypeHelpers.IsSetComparableOpType(TypeHelpers.
GetElementTypeUsage
(leftExpr.ResultType)))
2210
TypeHelpers.
GetElementTypeUsage
(leftExpr.ResultType).EdmType.FullName));
2216
if (!TypeHelpers.IsSetComparableOpType(TypeHelpers.
GetElementTypeUsage
(rightExpr.ResultType)))
2222
TypeHelpers.
GetElementTypeUsage
(rightExpr.ResultType).EdmType.FullName));
2255
if (astBuiltInExpr.Kind == AST.BuiltInKind.Distinct && !TypeHelpers.IsValidDistinctOpType(TypeHelpers.
GetElementTypeUsage
(leftExpr.ResultType)))
2285
TypeUsage elementType = TypeHelpers.
GetElementTypeUsage
(rightExpr.ResultType);
2298
TypeUsage commonElemType = TypeHelpers.GetCommonTypeUsage(leftExpr.ResultType, TypeHelpers.
GetElementTypeUsage
(rightExpr.ResultType));
2960
TypeUsage projectionType = TypeHelpers.
GetElementTypeUsage
(projectExpressionResultType);
4731
if (!TypeSemantics.IsCollectionType(TypeHelpers.
GetElementTypeUsage
(elemExpr.ResultType)))
5080
TypeUsage elementType = TypeHelpers.
GetElementTypeUsage
(exprToFilter.ResultType);
System\Data\Metadata\TypeHelpers.cs (1)
39
AssertEdmType(TypeHelpers.
GetElementTypeUsage
(typeUsage));
System\Data\Metadata\TypeSemantics.cs (5)
153
return IsPromotableTo(TypeHelpers.
GetElementTypeUsage
(fromType),
154
TypeHelpers.
GetElementTypeUsage
(toType));
162
return IsPromotableTo(TypeHelpers.
GetElementTypeUsage
(fromType),
163
TypeHelpers.
GetElementTypeUsage
(toType));
186
return new[] { TypeHelpers.
GetElementTypeUsage
(t) };
System\Data\Objects\ELinq\MethodCallTranslator.cs (1)
746
result = ValidateReturnType(result, TypeHelpers.
GetElementTypeUsage
(actualReturnType), parent, call, elementType, true);
System\Data\Query\PlanCompiler\PreProcessor.cs (4)
718
Node esTableNode = BuildOfTypeTable(entitySet, TypeHelpers.
GetElementTypeUsage
(end.TypeUsage), out esVar);
842
TypeUsage entityType = TypeHelpers.
GetElementTypeUsage
(relProperty.ToEnd.TypeUsage);
1253
resultType = TypeHelpers.
GetElementTypeUsage
(resultType);
2430
AddTypeNeedingNullSentinel(typesNeedingNullSentinel, TypeHelpers.
GetElementTypeUsage
(typeUsage));
System\Data\SqlClient\SqlGen\SqlGenerator.cs (5)
1184
TypeUsage inputType = TypeHelpers.
GetElementTypeUsage
(e.Argument.ResultType);
1700
TypeUsage inputType = TypeHelpers.
GetElementTypeUsage
(e.Argument.ResultType);
2923
TypeUsage inputType = TypeHelpers.
GetElementTypeUsage
(elementExpr.Argument.ResultType);
3352
Symbol fromSymbol = new Symbol("X", TypeHelpers.
GetElementTypeUsage
(left.ResultType), leftSelectStatement.OutputColumns, true);
4108
type = TypeHelpers.
GetElementTypeUsage
(e.ResultType);