private static unsafe void TestLocals2(short a, double b, byte c, double d) { char c1; double d1; CMyException e1 = new CMyException(); byte b1; short s1; double d2; int[] a1 = new int[1]; int i1; int i2; int i3; int i4; int i5; double d3; byte b3; byte b5; double d5; sbyte b4 = 5; double d6; int i6; c1 = (char)a; b1 = b3 = c; d1 = b; d2 = d; d3 = d1 + d2; d5 = d1 * 3; i1 = a; i2 = c; i3 = a + c; i4 = a - c; i5 = i1--; i6 = i3 * i4; s1 = (short)(a + 5); b4 += (sbyte)c; byte b2 = (byte)-b1; double d4 = d3 / 2; b5 = (byte)b; d6 = b1++; CheckDoubleAlignment(&d1); CheckDoubleAlignment(&d2); CheckDoubleAlignment(&d3); CheckDoubleAlignment(&d4); CheckDoubleAlignment(&d5); CheckDoubleAlignment(&d6); b3 -= (byte)(d5 * b4 - b5); s1 += (short)(d1 + d6 - (i1 + i2 + i3 + i4 + i5 + i6)); b1 += (byte)(b3 + d2 - (i1 * 3 + i2 - i3 - i4 * i5 - (i6 >> 2))); UseShort(s1); UseByte(b1); }