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