Align mcs's tuple deconstruction behavior with csc
commita3de0304a190c54124df3486ce9c34b6262787a8
authorBijan Tabatabai <bijan311@yahoo.com>
Fri, 11 Jan 2019 02:59:41 +0000 (10 20:59 -0600)
committerMarek Safar <marek.safar@gmail.com>
Wed, 5 Jun 2019 11:08:59 +0000 (5 13:08 +0200)
treec3cbd02c40e52494a2ddf0c40471763c189882ea
parent644bfc93d4bec824d38f83850746a2a3132a6200
Align mcs's tuple deconstruction behavior with csc

Before the code
(a, b) = (b, a);
was the equivalent of
a = b;
b = a;

now, it evaluates it to so something like
tmp1 = a;
tmp2 = b;
a = tmp2;
b = tmp1;

Signed-off-by: Bijan Tabatabai <bijan311@yahoo.com>
mcs/mcs/tuples.cs
mcs/tests/test-tuple-11.cs [new file with mode: 0644]
mcs/tests/ver-il-net_4_x.xml