30 references to IsArithmetic
System.Linq.Expressions (30)
System\Linq\Expressions\BinaryExpression.cs (17)
1479if (left.Type == right.Type && left.Type.IsArithmetic()) 1532if (left.Type == right.Type && left.Type.IsArithmetic()) 1616if (left.Type == right.Type && left.Type.IsArithmetic()) 1657if (left.Type == right.Type && left.Type.IsArithmetic()) 1693if (left.Type == right.Type && left.Type.IsArithmetic()) 1746if (left.Type == right.Type && left.Type.IsArithmetic()) 1804if (left.Type == right.Type && left.Type.IsArithmetic()) 1845if (left.Type == right.Type && left.Type.IsArithmetic()) 1881if (left.Type == right.Type && left.Type.IsArithmetic()) 1934if (left.Type == right.Type && left.Type.IsArithmetic()) 1975if (left.Type == right.Type && left.Type.IsArithmetic()) 2028if (left.Type == right.Type && left.Type.IsArithmetic()) 2069if (left.Type == right.Type && left.Type.IsArithmetic()) 2122if (left.Type == right.Type && left.Type.IsArithmetic()) 2180if (left.Type == right.Type && left.Type.IsArithmetic()) 2221if (left.Type == right.Type && left.Type.IsArithmetic()) 2747if (left.Type == right.Type && left.Type.IsArithmetic())
System\Linq\Expressions\Interpreter\AddInstruction.cs (2)
165Debug.Assert(type.IsArithmetic()); 301Debug.Assert(type.IsArithmetic());
System\Linq\Expressions\Interpreter\LightCompiler.cs (1)
1017Debug.Assert(left.Type == right.Type && left.Type.IsArithmetic());
System\Linq\Expressions\Interpreter\MulInstruction.cs (2)
165Debug.Assert(type.IsArithmetic()); 302Debug.Assert(type.IsArithmetic());
System\Linq\Expressions\Interpreter\SubInstruction.cs (2)
165Debug.Assert(type.IsArithmetic()); 301Debug.Assert(type.IsArithmetic());
System\Linq\Expressions\UnaryExpression.cs (6)
476if (expression.Type.IsArithmetic() && !expression.Type.IsUnsignedInt()) 511if (expression.Type.IsArithmetic()) 545if (expression.Type.IsArithmetic() && !expression.Type.IsUnsignedInt()) 913if (expression.Type.IsArithmetic()) 943if (expression.Type.IsArithmetic()) 1052if (expression.Type.IsArithmetic())