5 references to IsNumeric
System.Linq.Expressions (5)
System\Dynamic\Utils\TypeUtils.cs (2)
231
public static bool IsNumericOrBool(this Type type) =>
IsNumeric
(type) || IsBool(type);
675
return nnType == typeof(bool) ||
IsNumeric
(nnType) || nnType.IsEnum;
System\Linq\Expressions\BinaryExpression.cs (2)
1054
if (left.Type == right.Type && (left.Type.
IsNumeric
() ||
1227
if (left.Type == right.Type && left.Type.
IsNumeric
())
System\Linq\Expressions\Interpreter\LightCompiler.cs (1)
1000
Debug.Assert(left.Type == right.Type && left.Type.
IsNumeric
());