@@ -1206,15 +1206,17 @@ public static BinaryExpression RightShift(Expression left, Expression right) =>
12061206
12071207 /// <summary>Creates a BinaryExpression that represents an arithmetic subtraction operation that does not have overflow checking.</summary>
12081208 public static BinaryExpression Subtract ( Expression left , Expression right ) =>
1209- new LeftTypedBinaryExpression ( ExpressionType . Subtract , left , right ) ;
1209+ GetArithmeticLeftTypedBinary ( ExpressionType . Subtract , left , right ) ;
12101210
1211- public static BinaryExpression Subtract ( Expression left , Expression right , MethodInfo method ) => GetLeftTypedBinary ( ExpressionType . Subtract , left , right , method ) ;
1211+ public static BinaryExpression Subtract ( Expression left , Expression right , MethodInfo method ) =>
1212+ GetArithmeticLeftTypedBinary ( ExpressionType . Subtract , left , right , method ) ;
12121213
12131214 /// <summary>Creates a BinaryExpression that represents an arithmetic subtraction operation that has overflow checking.</summary>
12141215 public static BinaryExpression SubtractChecked ( Expression left , Expression right ) =>
1215- new LeftTypedBinaryExpression ( ExpressionType . SubtractChecked , left , right ) ;
1216+ GetArithmeticLeftTypedBinary ( ExpressionType . SubtractChecked , left , right ) ;
12161217
1217- public static BinaryExpression SubtractChecked ( Expression left , Expression right , MethodInfo method ) => GetLeftTypedBinary ( ExpressionType . SubtractChecked , left , right , method ) ;
1218+ public static BinaryExpression SubtractChecked ( Expression left , Expression right , MethodInfo method ) =>
1219+ GetArithmeticLeftTypedBinary ( ExpressionType . SubtractChecked , left , right , method ) ;
12181220
12191221 /// <summary>Creates a BinaryExpression that represents an arithmetic multiplication operation that does not have overflow checking.</summary>
12201222 public static BinaryExpression Multiply ( Expression left , Expression right ) =>
0 commit comments