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