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