8 references to IsNumericType
System.Data.Entity (8)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (2)
875if (!TypeSemantics.IsNumericType(resultType)) 899if (null == resultType || !TypeSemantics.IsNumericType(resultType))
System\Data\Common\CommandTrees\OperatorExpressions.cs (1)
125Debug.Assert(TypeSemantics.IsNumericType(numericResultType), "DbArithmeticExpression result type must be numeric");
System\Data\Common\EntitySql\SemanticAnalyzer.cs (5)
1991if (!TypeSemantics.IsNumericType(operands.Left.ResultType)) 1998if (!TypeSemantics.IsNumericType(operands.Right.ResultType)) 2028if (!TypeSemantics.IsNumericType(operands.Left.ResultType) && !TypeSemantics.IsPrimitiveType(operands.Left.ResultType, PrimitiveTypeKind.String)) 2033if (!TypeSemantics.IsNumericType(operands.Right.ResultType) && !TypeSemantics.IsPrimitiveType(operands.Right.ResultType, PrimitiveTypeKind.String)) 4387if (TypeSemantics.IsNumericType(args.Left.ResultType))