diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.cs b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.cs index 494132abc..2a23f03ac 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.cs +++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.cs @@ -75,16 +75,328 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty public Item Self; } + public class CustomClass + { + public byte ByteField; + public sbyte SbyteField; + public short ShortField; + public ushort UshortField; + public int IntField; + public uint UintField; + public long LongField; + public ulong UlongField; + public CustomClass CustomClassField; + public CustomStruct CustomStructField; + + public byte ByteProp { + get; + set; + } + public sbyte SbyteProp { + get; + set; + } + public short ShortProp { + get; + set; + } + public ushort UshortProp { + get; + set; + } + public int IntProp { + get; + set; + } + public uint UintProp { + get; + set; + } + public long LongProp { + get; + set; + } + public ulong UlongProp { + get; + set; + } + + public CustomClass CustomClassProp { + get; + set; + } + public CustomStruct CustomStructProp { + get; + set; + } + + public static CustomClass operator +(CustomClass lhs, CustomClass rhs) + { + throw new NotImplementedException(); + } + public static CustomClass operator -(CustomClass lhs, CustomClass rhs) + { + throw new NotImplementedException(); + } + public static CustomClass operator *(CustomClass lhs, CustomClass rhs) + { + throw new NotImplementedException(); + } + public static CustomClass operator /(CustomClass lhs, CustomClass rhs) + { + throw new NotImplementedException(); + } + public static CustomClass operator %(CustomClass lhs, CustomClass rhs) + { + throw new NotImplementedException(); + } + public static CustomClass operator <<(CustomClass lhs, int rhs) + { + throw new NotImplementedException(); + } + public static CustomClass operator >>(CustomClass lhs, int rhs) + { + throw new NotImplementedException(); + } + public static CustomClass operator &(CustomClass lhs, CustomClass rhs) + { + throw new NotImplementedException(); + } + public static CustomClass operator |(CustomClass lhs, CustomClass rhs) + { + throw new NotImplementedException(); + } + public static CustomClass operator ^(CustomClass lhs, CustomClass rhs) + { + throw new NotImplementedException(); + } + public static CustomClass operator ++(CustomClass lhs) + { + throw new NotImplementedException(); + } + public static CustomClass operator --(CustomClass lhs) + { + throw new NotImplementedException(); + } + } + + public struct CustomStruct + { + public byte ByteField; + public sbyte SbyteField; + public short ShortField; + public ushort UshortField; + public int IntField; + public uint UintField; + public long LongField; + public ulong UlongField; + public CustomClass CustomClassField; + + public CustomClass CustomClassProp { + get; + set; + } + public byte ByteProp { + get; + set; + } + public sbyte SbyteProp { + get; + set; + } + public short ShortProp { + get; + set; + } + public ushort UshortProp { + get; + set; + } + public int IntProp { + get; + set; + } + public uint UintProp { + get; + set; + } + public long LongProp { + get; + set; + } + public ulong UlongProp { + get; + set; + } + + public static CustomStruct operator +(CustomStruct lhs, CustomStruct rhs) + { + throw new NotImplementedException(); + } + public static CustomStruct operator -(CustomStruct lhs, CustomStruct rhs) + { + throw new NotImplementedException(); + } + public static CustomStruct operator *(CustomStruct lhs, CustomStruct rhs) + { + throw new NotImplementedException(); + } + public static CustomStruct operator /(CustomStruct lhs, CustomStruct rhs) + { + throw new NotImplementedException(); + } + public static CustomStruct operator %(CustomStruct lhs, CustomStruct rhs) + { + throw new NotImplementedException(); + } + public static CustomStruct operator <<(CustomStruct lhs, int rhs) + { + throw new NotImplementedException(); + } + public static CustomStruct operator >>(CustomStruct lhs, int rhs) + { + throw new NotImplementedException(); + } + public static CustomStruct operator &(CustomStruct lhs, CustomStruct rhs) + { + throw new NotImplementedException(); + } + public static CustomStruct operator |(CustomStruct lhs, CustomStruct rhs) + { + throw new NotImplementedException(); + } + public static CustomStruct operator ^(CustomStruct lhs, CustomStruct rhs) + { + throw new NotImplementedException(); + } + public static CustomStruct operator ++(CustomStruct lhs) + { + throw new NotImplementedException(); + } + public static CustomStruct operator --(CustomStruct lhs) + { + throw new NotImplementedException(); + } + } + + public struct CustomStruct2 + { + public CustomClass CustomClassField; + public CustomStruct CustomStructField; + + public byte ByteField; + public sbyte SbyteField; + public short ShortField; + public ushort UshortField; + public int IntField; + public uint UintField; + public long LongField; + public ulong UlongField; + + public CustomClass CustomClassProp { + get; + set; + } + public CustomStruct CustomStructProp { + get; + set; + } + public byte ByteProp { + get; + set; + } + public sbyte SbyteProp { + get; + set; + } + public short ShortProp { + get; + set; + } + public ushort UshortProp { + get; + set; + } + public int IntProp { + get; + set; + } + public uint UintProp { + get; + set; + } + public long LongProp { + get; + set; + } + public ulong UlongProp { + get; + set; + } + } + private int test1; private int[] array1; private StructContainer field1; private MyEnum enumField; private Dictionary ushortDict = new Dictionary(); - private ushort ushortField; private ShortEnum shortEnumField; public static int StaticField; public static short StaticShortField; + private static CustomClass customClassField; + private static CustomStruct customStructField; + private static CustomStruct2 otherCustomStructField; + private static byte byteField; + private static sbyte sbyteField; + private static short shortField; + private static ushort ushortField; + private static int intField; + private static uint uintField; + private static long longField; + private static ulong ulongField; + + private static CustomClass CustomClassProp { + get; + set; + } + private static CustomStruct CustomStructProp { + get; + set; + } + private static byte ByteProp { + get; + set; + } + private static sbyte SbyteProp { + get; + set; + } + private static short ShortProp { + get; + set; + } + private static ushort UshortProp { + get; + set; + } + private static int IntProp { + get; + set; + } + private static uint UintProp { + get; + set; + } + private static long LongProp { + get; + set; + } + private static ulong UlongProp { + get; + set; + } + public static int StaticProperty { get; set; @@ -95,6 +407,73 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty set; } +#if CS70 + private static ref CustomStruct2 GetStruct() + { + throw new NotImplementedException(); + } + + private static ref CustomStruct GetRefCustomStruct() + { + throw new NotImplementedException(); + } + + private static ref CustomClass GetRefCustomClass() + { + throw new NotImplementedException(); + } + + private static ref byte GetRefByte() + { + throw new NotImplementedException(); + } + + private static ref sbyte GetRefSbyte() + { + throw new NotImplementedException(); + } + + private static ref short GetRefShort() + { + throw new NotImplementedException(); + } + + private static ref int GetRefInt() + { + throw new NotImplementedException(); + } + + private static ref long GetRefLong() + { + throw new NotImplementedException(); + } + + private static ref ushort GetRefUshort() + { + throw new NotImplementedException(); + } + + private static ref uint GetRefUint() + { + throw new NotImplementedException(); + } + + private static ref ulong GetRefUlong() + { + throw new NotImplementedException(); + } +#endif + + private static CustomClass GetClass() + { + throw new NotImplementedException(); + } + + private static void X(T result) + { + + } + private MutableClass M() { return new MutableClass(); @@ -495,7 +874,3631 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty { StaticShortProperty++; } - + + #region Generated Tests + + public static void ByteAddTest(byte p, CustomClass c, CustomStruct2 s) + { + //byte l = 0; + //p += 5; + //l += 5; + byteField += 5; + ByteProp += 5; + c.ByteField += 5; + c.ByteProp += 5; + s.ByteField += 5; + s.ByteProp += 5; + customClassField.ByteField += 5; + customClassField.ByteProp += 5; + otherCustomStructField.ByteField += 5; + otherCustomStructField.ByteProp += 5; + CustomClassProp.ByteField += 5; + CustomClassProp.ByteProp += 5; + GetClass().ByteField += 5; + GetClass().ByteProp += 5; +#if CS70 + GetStruct().ByteField += 5; + GetStruct().ByteProp += 5; + GetRefByte() += 5; +#endif + } + + public static void ByteSubtractTest(byte p, CustomClass c, CustomStruct2 s) + { + //byte l = 0; + //p -= 5; + //l -= 5; + byteField -= 5; + ByteProp -= 5; + c.ByteField -= 5; + c.ByteProp -= 5; + s.ByteField -= 5; + s.ByteProp -= 5; + customClassField.ByteField -= 5; + customClassField.ByteProp -= 5; + otherCustomStructField.ByteField -= 5; + otherCustomStructField.ByteProp -= 5; + CustomClassProp.ByteField -= 5; + CustomClassProp.ByteProp -= 5; + GetClass().ByteField -= 5; + GetClass().ByteProp -= 5; +#if CS70 + GetStruct().ByteField -= 5; + GetStruct().ByteProp -= 5; + GetRefByte() -= 5; +#endif + } + + public static void ByteMultiplyTest(byte p, CustomClass c, CustomStruct2 s) + { + //byte l = 0; + //p *= 5; + //l *= 5; + byteField *= 5; + ByteProp *= 5; + c.ByteField *= 5; + c.ByteProp *= 5; + s.ByteField *= 5; + s.ByteProp *= 5; + customClassField.ByteField *= 5; + customClassField.ByteProp *= 5; + otherCustomStructField.ByteField *= 5; + otherCustomStructField.ByteProp *= 5; + CustomClassProp.ByteField *= 5; + CustomClassProp.ByteProp *= 5; + GetClass().ByteField *= 5; + GetClass().ByteProp *= 5; +#if CS70 + GetStruct().ByteField *= 5; + GetStruct().ByteProp *= 5; + GetRefByte() *= 5; +#endif + } + + public static void ByteDivideTest(byte p, CustomClass c, CustomStruct2 s) + { + //byte l = 0; + //p /= 5; + //l /= 5; + byteField /= 5; + ByteProp /= 5; + c.ByteField /= 5; + c.ByteProp /= 5; + s.ByteField /= 5; + s.ByteProp /= 5; + customClassField.ByteField /= 5; + customClassField.ByteProp /= 5; + otherCustomStructField.ByteField /= 5; + otherCustomStructField.ByteProp /= 5; + CustomClassProp.ByteField /= 5; + CustomClassProp.ByteProp /= 5; + GetClass().ByteField /= 5; + GetClass().ByteProp /= 5; +#if CS70 + GetStruct().ByteField /= 5; + GetStruct().ByteProp /= 5; + GetRefByte() /= 5; +#endif + } + + public static void ByteModulusTest(byte p, CustomClass c, CustomStruct2 s) + { + //byte l = 0; + //p %= 5; + //l %= 5; + byteField %= 5; + ByteProp %= 5; + c.ByteField %= 5; + c.ByteProp %= 5; + s.ByteField %= 5; + s.ByteProp %= 5; + customClassField.ByteField %= 5; + customClassField.ByteProp %= 5; + otherCustomStructField.ByteField %= 5; + otherCustomStructField.ByteProp %= 5; + CustomClassProp.ByteField %= 5; + CustomClassProp.ByteProp %= 5; + GetClass().ByteField %= 5; + GetClass().ByteProp %= 5; +#if CS70 + GetStruct().ByteField %= 5; + GetStruct().ByteProp %= 5; + GetRefByte() %= 5; +#endif + } + + public static void ByteLeftShiftTest(byte p, CustomClass c, CustomStruct2 s) + { + //byte l = 0; + //p <<= 5; + //l <<= 5; + byteField <<= 5; + ByteProp <<= 5; + c.ByteField <<= 5; + c.ByteProp <<= 5; + s.ByteField <<= 5; + s.ByteProp <<= 5; + customClassField.ByteField <<= 5; + customClassField.ByteProp <<= 5; + otherCustomStructField.ByteField <<= 5; + otherCustomStructField.ByteProp <<= 5; + CustomClassProp.ByteField <<= 5; + CustomClassProp.ByteProp <<= 5; + GetClass().ByteField <<= 5; + GetClass().ByteProp <<= 5; +#if CS70 + GetStruct().ByteField <<= 5; + GetStruct().ByteProp <<= 5; + GetRefByte() <<= 5; +#endif + } + + public static void ByteRightShiftTest(byte p, CustomClass c, CustomStruct2 s) + { + //byte l = 0; + //p >>= 5; + //l >>= 5; + byteField >>= 5; + ByteProp >>= 5; + c.ByteField >>= 5; + c.ByteProp >>= 5; + s.ByteField >>= 5; + s.ByteProp >>= 5; + customClassField.ByteField >>= 5; + customClassField.ByteProp >>= 5; + otherCustomStructField.ByteField >>= 5; + otherCustomStructField.ByteProp >>= 5; + CustomClassProp.ByteField >>= 5; + CustomClassProp.ByteProp >>= 5; + GetClass().ByteField >>= 5; + GetClass().ByteProp >>= 5; +#if CS70 + GetStruct().ByteField >>= 5; + GetStruct().ByteProp >>= 5; + GetRefByte() >>= 5; +#endif + } + + public static void ByteBitAndTest(byte p, CustomClass c, CustomStruct2 s) + { + //byte l = 0; + //p &= 5; + //l &= 5; + byteField &= 5; + ByteProp &= 5; + c.ByteField &= 5; + c.ByteProp &= 5; + s.ByteField &= 5; + s.ByteProp &= 5; + customClassField.ByteField &= 5; + customClassField.ByteProp &= 5; + otherCustomStructField.ByteField &= 5; + otherCustomStructField.ByteProp &= 5; + CustomClassProp.ByteField &= 5; + CustomClassProp.ByteProp &= 5; + GetClass().ByteField &= 5; + GetClass().ByteProp &= 5; +#if CS70 + GetStruct().ByteField &= 5; + GetStruct().ByteProp &= 5; + GetRefByte() &= 5; +#endif + } + + public static void ByteBitOrTest(byte p, CustomClass c, CustomStruct2 s) + { + //byte l = 0; + //p |= 5; + //l |= 5; + byteField |= 5; + ByteProp |= 5; + c.ByteField |= 5; + c.ByteProp |= 5; + s.ByteField |= 5; + s.ByteProp |= 5; + customClassField.ByteField |= 5; + customClassField.ByteProp |= 5; + otherCustomStructField.ByteField |= 5; + otherCustomStructField.ByteProp |= 5; + CustomClassProp.ByteField |= 5; + CustomClassProp.ByteProp |= 5; + GetClass().ByteField |= 5; + GetClass().ByteProp |= 5; +#if CS70 + GetStruct().ByteField |= 5; + GetStruct().ByteProp |= 5; + GetRefByte() |= 5; +#endif + } + + public static void ByteBitXorTest(byte p, CustomClass c, CustomStruct2 s) + { + //byte l = 0; + //p ^= 5; + //l ^= 5; + byteField ^= 5; + ByteProp ^= 5; + c.ByteField ^= 5; + c.ByteProp ^= 5; + s.ByteField ^= 5; + s.ByteProp ^= 5; + customClassField.ByteField ^= 5; + customClassField.ByteProp ^= 5; + otherCustomStructField.ByteField ^= 5; + otherCustomStructField.ByteProp ^= 5; + CustomClassProp.ByteField ^= 5; + CustomClassProp.ByteProp ^= 5; + GetClass().ByteField ^= 5; + GetClass().ByteProp ^= 5; +#if CS70 + GetStruct().ByteField ^= 5; + GetStruct().ByteProp ^= 5; + GetRefByte() ^= 5; +#endif + } + + public static void BytePostIncTest(byte p, CustomClass c, CustomStruct2 s) + { + //byte l = 0; + //X(p++); + //X(l++); + X(byteField++); + X(ByteProp++); + X(c.ByteField++); + X(c.ByteProp++); + X(s.ByteField++); + X(s.ByteProp++); + X(customClassField.ByteField++); + X(customClassField.ByteProp++); + X(otherCustomStructField.ByteField++); + X(otherCustomStructField.ByteProp++); + X(CustomClassProp.ByteField++); + X(CustomClassProp.ByteProp++); + X(GetClass().ByteField++); + X(GetClass().ByteProp++); +#if CS70 + X(GetStruct().ByteField++); + X(GetStruct().ByteProp++); + X(GetRefByte()++); +#endif + } + + public static void BytePreIncTest(byte p, CustomClass c, CustomStruct2 s) + { + //byte l = 0; + //X(++p); + //X(++l); + X(++byteField); + X(++ByteProp); + X(++c.ByteField); + X(++c.ByteProp); + X(++s.ByteField); + X(++s.ByteProp); + X(++customClassField.ByteField); + X(++customClassField.ByteProp); + X(++otherCustomStructField.ByteField); + X(++otherCustomStructField.ByteProp); + X(++CustomClassProp.ByteField); + X(++CustomClassProp.ByteProp); + X(++GetClass().ByteField); + X(++GetClass().ByteProp); +#if CS70 + X(++GetStruct().ByteField); + X(++GetStruct().ByteProp); + X(++GetRefByte()); +#endif + } + public static void BytePostDecTest(byte p, CustomClass c, CustomStruct2 s) + { + //byte l = 0; + //X(p--); + //X(l--); + X(byteField--); + X(ByteProp--); + X(c.ByteField--); + X(c.ByteProp--); + X(s.ByteField--); + X(s.ByteProp--); + X(customClassField.ByteField--); + X(customClassField.ByteProp--); + X(otherCustomStructField.ByteField--); + X(otherCustomStructField.ByteProp--); + X(CustomClassProp.ByteField--); + X(CustomClassProp.ByteProp--); + X(GetClass().ByteField--); + X(GetClass().ByteProp--); +#if CS70 + X(GetStruct().ByteField--); + X(GetStruct().ByteProp--); + X(GetRefByte()--); +#endif + } + + public static void BytePreDecTest(byte p, CustomClass c, CustomStruct2 s) + { + //byte l = 0; + //X(--p); + //X(--l); + X(--byteField); + X(--ByteProp); + X(--c.ByteField); + X(--c.ByteProp); + X(--s.ByteField); + X(--s.ByteProp); + X(--customClassField.ByteField); + X(--customClassField.ByteProp); + X(--otherCustomStructField.ByteField); + X(--otherCustomStructField.ByteProp); + X(--CustomClassProp.ByteField); + X(--CustomClassProp.ByteProp); + X(--GetClass().ByteField); + X(--GetClass().ByteProp); +#if CS70 + X(--GetStruct().ByteField); + X(--GetStruct().ByteProp); + X(--GetRefByte()); +#endif + } + public static void SbyteAddTest(sbyte p, CustomClass c, CustomStruct2 s) + { + //sbyte l = 0; + //p += 5; + //l += 5; + sbyteField += 5; + SbyteProp += 5; + c.SbyteField += 5; + c.SbyteProp += 5; + s.SbyteField += 5; + s.SbyteProp += 5; + customClassField.SbyteField += 5; + customClassField.SbyteProp += 5; + otherCustomStructField.SbyteField += 5; + otherCustomStructField.SbyteProp += 5; + CustomClassProp.SbyteField += 5; + CustomClassProp.SbyteProp += 5; + GetClass().SbyteField += 5; + GetClass().SbyteProp += 5; +#if CS70 + GetStruct().SbyteField += 5; + GetStruct().SbyteProp += 5; + GetRefSbyte() += 5; +#endif + } + + public static void SbyteSubtractTest(sbyte p, CustomClass c, CustomStruct2 s) + { + //sbyte l = 0; + //p -= 5; + //l -= 5; + sbyteField -= 5; + SbyteProp -= 5; + c.SbyteField -= 5; + c.SbyteProp -= 5; + s.SbyteField -= 5; + s.SbyteProp -= 5; + customClassField.SbyteField -= 5; + customClassField.SbyteProp -= 5; + otherCustomStructField.SbyteField -= 5; + otherCustomStructField.SbyteProp -= 5; + CustomClassProp.SbyteField -= 5; + CustomClassProp.SbyteProp -= 5; + GetClass().SbyteField -= 5; + GetClass().SbyteProp -= 5; +#if CS70 + GetStruct().SbyteField -= 5; + GetStruct().SbyteProp -= 5; + GetRefSbyte() -= 5; +#endif + } + + public static void SbyteMultiplyTest(sbyte p, CustomClass c, CustomStruct2 s) + { + //sbyte l = 0; + //p *= 5; + //l *= 5; + sbyteField *= 5; + SbyteProp *= 5; + c.SbyteField *= 5; + c.SbyteProp *= 5; + s.SbyteField *= 5; + s.SbyteProp *= 5; + customClassField.SbyteField *= 5; + customClassField.SbyteProp *= 5; + otherCustomStructField.SbyteField *= 5; + otherCustomStructField.SbyteProp *= 5; + CustomClassProp.SbyteField *= 5; + CustomClassProp.SbyteProp *= 5; + GetClass().SbyteField *= 5; + GetClass().SbyteProp *= 5; +#if CS70 + GetStruct().SbyteField *= 5; + GetStruct().SbyteProp *= 5; + GetRefSbyte() *= 5; +#endif + } + + public static void SbyteDivideTest(sbyte p, CustomClass c, CustomStruct2 s) + { + //sbyte l = 0; + //p /= 5; + //l /= 5; + sbyteField /= 5; + SbyteProp /= 5; + c.SbyteField /= 5; + c.SbyteProp /= 5; + s.SbyteField /= 5; + s.SbyteProp /= 5; + customClassField.SbyteField /= 5; + customClassField.SbyteProp /= 5; + otherCustomStructField.SbyteField /= 5; + otherCustomStructField.SbyteProp /= 5; + CustomClassProp.SbyteField /= 5; + CustomClassProp.SbyteProp /= 5; + GetClass().SbyteField /= 5; + GetClass().SbyteProp /= 5; +#if CS70 + GetStruct().SbyteField /= 5; + GetStruct().SbyteProp /= 5; + GetRefSbyte() /= 5; +#endif + } + + public static void SbyteModulusTest(sbyte p, CustomClass c, CustomStruct2 s) + { + //sbyte l = 0; + //p %= 5; + //l %= 5; + sbyteField %= 5; + SbyteProp %= 5; + c.SbyteField %= 5; + c.SbyteProp %= 5; + s.SbyteField %= 5; + s.SbyteProp %= 5; + customClassField.SbyteField %= 5; + customClassField.SbyteProp %= 5; + otherCustomStructField.SbyteField %= 5; + otherCustomStructField.SbyteProp %= 5; + CustomClassProp.SbyteField %= 5; + CustomClassProp.SbyteProp %= 5; + GetClass().SbyteField %= 5; + GetClass().SbyteProp %= 5; +#if CS70 + GetStruct().SbyteField %= 5; + GetStruct().SbyteProp %= 5; + GetRefSbyte() %= 5; +#endif + } + + public static void SbyteLeftShiftTest(sbyte p, CustomClass c, CustomStruct2 s) + { + //sbyte l = 0; + //p <<= 5; + //l <<= 5; + sbyteField <<= 5; + SbyteProp <<= 5; + c.SbyteField <<= 5; + c.SbyteProp <<= 5; + s.SbyteField <<= 5; + s.SbyteProp <<= 5; + customClassField.SbyteField <<= 5; + customClassField.SbyteProp <<= 5; + otherCustomStructField.SbyteField <<= 5; + otherCustomStructField.SbyteProp <<= 5; + CustomClassProp.SbyteField <<= 5; + CustomClassProp.SbyteProp <<= 5; + GetClass().SbyteField <<= 5; + GetClass().SbyteProp <<= 5; +#if CS70 + GetStruct().SbyteField <<= 5; + GetStruct().SbyteProp <<= 5; + GetRefSbyte() <<= 5; +#endif + } + + public static void SbyteRightShiftTest(sbyte p, CustomClass c, CustomStruct2 s) + { + //sbyte l = 0; + //p >>= 5; + //l >>= 5; + sbyteField >>= 5; + SbyteProp >>= 5; + c.SbyteField >>= 5; + c.SbyteProp >>= 5; + s.SbyteField >>= 5; + s.SbyteProp >>= 5; + customClassField.SbyteField >>= 5; + customClassField.SbyteProp >>= 5; + otherCustomStructField.SbyteField >>= 5; + otherCustomStructField.SbyteProp >>= 5; + CustomClassProp.SbyteField >>= 5; + CustomClassProp.SbyteProp >>= 5; + GetClass().SbyteField >>= 5; + GetClass().SbyteProp >>= 5; +#if CS70 + GetStruct().SbyteField >>= 5; + GetStruct().SbyteProp >>= 5; + GetRefSbyte() >>= 5; +#endif + } + + public static void SbyteBitAndTest(sbyte p, CustomClass c, CustomStruct2 s) + { + //sbyte l = 0; + //p &= 5; + //l &= 5; + sbyteField &= 5; + SbyteProp &= 5; + c.SbyteField &= 5; + c.SbyteProp &= 5; + s.SbyteField &= 5; + s.SbyteProp &= 5; + customClassField.SbyteField &= 5; + customClassField.SbyteProp &= 5; + otherCustomStructField.SbyteField &= 5; + otherCustomStructField.SbyteProp &= 5; + CustomClassProp.SbyteField &= 5; + CustomClassProp.SbyteProp &= 5; + GetClass().SbyteField &= 5; + GetClass().SbyteProp &= 5; +#if CS70 + GetStruct().SbyteField &= 5; + GetStruct().SbyteProp &= 5; + GetRefSbyte() &= 5; +#endif + } + + public static void SbyteBitOrTest(sbyte p, CustomClass c, CustomStruct2 s) + { + //sbyte l = 0; + //p |= 5; + //l |= 5; + sbyteField |= 5; + SbyteProp |= 5; + c.SbyteField |= 5; + c.SbyteProp |= 5; + s.SbyteField |= 5; + s.SbyteProp |= 5; + customClassField.SbyteField |= 5; + customClassField.SbyteProp |= 5; + otherCustomStructField.SbyteField |= 5; + otherCustomStructField.SbyteProp |= 5; + CustomClassProp.SbyteField |= 5; + CustomClassProp.SbyteProp |= 5; + GetClass().SbyteField |= 5; + GetClass().SbyteProp |= 5; +#if CS70 + GetStruct().SbyteField |= 5; + GetStruct().SbyteProp |= 5; + GetRefSbyte() |= 5; +#endif + } + + public static void SbyteBitXorTest(sbyte p, CustomClass c, CustomStruct2 s) + { + //sbyte l = 0; + //p ^= 5; + //l ^= 5; + sbyteField ^= 5; + SbyteProp ^= 5; + c.SbyteField ^= 5; + c.SbyteProp ^= 5; + s.SbyteField ^= 5; + s.SbyteProp ^= 5; + customClassField.SbyteField ^= 5; + customClassField.SbyteProp ^= 5; + otherCustomStructField.SbyteField ^= 5; + otherCustomStructField.SbyteProp ^= 5; + CustomClassProp.SbyteField ^= 5; + CustomClassProp.SbyteProp ^= 5; + GetClass().SbyteField ^= 5; + GetClass().SbyteProp ^= 5; +#if CS70 + GetStruct().SbyteField ^= 5; + GetStruct().SbyteProp ^= 5; + GetRefSbyte() ^= 5; +#endif + } + + public static void SbytePostIncTest(sbyte p, CustomClass c, CustomStruct2 s) + { + //sbyte l = 0; + //X(p++); + //X(l++); + X(sbyteField++); + X(SbyteProp++); + X(c.SbyteField++); + X(c.SbyteProp++); + X(s.SbyteField++); + X(s.SbyteProp++); + X(customClassField.SbyteField++); + X(customClassField.SbyteProp++); + X(otherCustomStructField.SbyteField++); + X(otherCustomStructField.SbyteProp++); + X(CustomClassProp.SbyteField++); + X(CustomClassProp.SbyteProp++); + X(GetClass().SbyteField++); + X(GetClass().SbyteProp++); +#if CS70 + X(GetStruct().SbyteField++); + X(GetStruct().SbyteProp++); + X(GetRefSbyte()++); +#endif + } + + public static void SbytePreIncTest(sbyte p, CustomClass c, CustomStruct2 s) + { + //sbyte l = 0; + //X(++p); + //X(++l); + X(++sbyteField); + X(++SbyteProp); + X(++c.SbyteField); + X(++c.SbyteProp); + X(++s.SbyteField); + X(++s.SbyteProp); + X(++customClassField.SbyteField); + X(++customClassField.SbyteProp); + X(++otherCustomStructField.SbyteField); + X(++otherCustomStructField.SbyteProp); + X(++CustomClassProp.SbyteField); + X(++CustomClassProp.SbyteProp); + X(++GetClass().SbyteField); + X(++GetClass().SbyteProp); +#if CS70 + X(++GetStruct().SbyteField); + X(++GetStruct().SbyteProp); + X(++GetRefSbyte()); +#endif + } + public static void SbytePostDecTest(sbyte p, CustomClass c, CustomStruct2 s) + { + //sbyte l = 0; + //X(p--); + //X(l--); + X(sbyteField--); + X(SbyteProp--); + X(c.SbyteField--); + X(c.SbyteProp--); + X(s.SbyteField--); + X(s.SbyteProp--); + X(customClassField.SbyteField--); + X(customClassField.SbyteProp--); + X(otherCustomStructField.SbyteField--); + X(otherCustomStructField.SbyteProp--); + X(CustomClassProp.SbyteField--); + X(CustomClassProp.SbyteProp--); + X(GetClass().SbyteField--); + X(GetClass().SbyteProp--); +#if CS70 + X(GetStruct().SbyteField--); + X(GetStruct().SbyteProp--); + X(GetRefSbyte()--); +#endif + } + + public static void SbytePreDecTest(sbyte p, CustomClass c, CustomStruct2 s) + { + //sbyte l = 0; + //X(--p); + //X(--l); + X(--sbyteField); + X(--SbyteProp); + X(--c.SbyteField); + X(--c.SbyteProp); + X(--s.SbyteField); + X(--s.SbyteProp); + X(--customClassField.SbyteField); + X(--customClassField.SbyteProp); + X(--otherCustomStructField.SbyteField); + X(--otherCustomStructField.SbyteProp); + X(--CustomClassProp.SbyteField); + X(--CustomClassProp.SbyteProp); + X(--GetClass().SbyteField); + X(--GetClass().SbyteProp); +#if CS70 + X(--GetStruct().SbyteField); + X(--GetStruct().SbyteProp); + X(--GetRefSbyte()); +#endif + } + public static void ShortAddTest(short p, CustomClass c, CustomStruct2 s) + { + //short l = 0; + //p += 5; + //l += 5; + shortField += 5; + ShortProp += 5; + c.ShortField += 5; + c.ShortProp += 5; + s.ShortField += 5; + s.ShortProp += 5; + customClassField.ShortField += 5; + customClassField.ShortProp += 5; + otherCustomStructField.ShortField += 5; + otherCustomStructField.ShortProp += 5; + CustomClassProp.ShortField += 5; + CustomClassProp.ShortProp += 5; + GetClass().ShortField += 5; + GetClass().ShortProp += 5; +#if CS70 + GetStruct().ShortField += 5; + GetStruct().ShortProp += 5; + GetRefShort() += 5; +#endif + } + + public static void ShortSubtractTest(short p, CustomClass c, CustomStruct2 s) + { + //short l = 0; + //p -= 5; + //l -= 5; + shortField -= 5; + ShortProp -= 5; + c.ShortField -= 5; + c.ShortProp -= 5; + s.ShortField -= 5; + s.ShortProp -= 5; + customClassField.ShortField -= 5; + customClassField.ShortProp -= 5; + otherCustomStructField.ShortField -= 5; + otherCustomStructField.ShortProp -= 5; + CustomClassProp.ShortField -= 5; + CustomClassProp.ShortProp -= 5; + GetClass().ShortField -= 5; + GetClass().ShortProp -= 5; +#if CS70 + GetStruct().ShortField -= 5; + GetStruct().ShortProp -= 5; + GetRefShort() -= 5; +#endif + } + + public static void ShortMultiplyTest(short p, CustomClass c, CustomStruct2 s) + { + //short l = 0; + //p *= 5; + //l *= 5; + shortField *= 5; + ShortProp *= 5; + c.ShortField *= 5; + c.ShortProp *= 5; + s.ShortField *= 5; + s.ShortProp *= 5; + customClassField.ShortField *= 5; + customClassField.ShortProp *= 5; + otherCustomStructField.ShortField *= 5; + otherCustomStructField.ShortProp *= 5; + CustomClassProp.ShortField *= 5; + CustomClassProp.ShortProp *= 5; + GetClass().ShortField *= 5; + GetClass().ShortProp *= 5; +#if CS70 + GetStruct().ShortField *= 5; + GetStruct().ShortProp *= 5; + GetRefShort() *= 5; +#endif + } + + public static void ShortDivideTest(short p, CustomClass c, CustomStruct2 s) + { + //short l = 0; + //p /= 5; + //l /= 5; + shortField /= 5; + ShortProp /= 5; + c.ShortField /= 5; + c.ShortProp /= 5; + s.ShortField /= 5; + s.ShortProp /= 5; + customClassField.ShortField /= 5; + customClassField.ShortProp /= 5; + otherCustomStructField.ShortField /= 5; + otherCustomStructField.ShortProp /= 5; + CustomClassProp.ShortField /= 5; + CustomClassProp.ShortProp /= 5; + GetClass().ShortField /= 5; + GetClass().ShortProp /= 5; +#if CS70 + GetStruct().ShortField /= 5; + GetStruct().ShortProp /= 5; + GetRefShort() /= 5; +#endif + } + + public static void ShortModulusTest(short p, CustomClass c, CustomStruct2 s) + { + //short l = 0; + //p %= 5; + //l %= 5; + shortField %= 5; + ShortProp %= 5; + c.ShortField %= 5; + c.ShortProp %= 5; + s.ShortField %= 5; + s.ShortProp %= 5; + customClassField.ShortField %= 5; + customClassField.ShortProp %= 5; + otherCustomStructField.ShortField %= 5; + otherCustomStructField.ShortProp %= 5; + CustomClassProp.ShortField %= 5; + CustomClassProp.ShortProp %= 5; + GetClass().ShortField %= 5; + GetClass().ShortProp %= 5; +#if CS70 + GetStruct().ShortField %= 5; + GetStruct().ShortProp %= 5; + GetRefShort() %= 5; +#endif + } + + public static void ShortLeftShiftTest(short p, CustomClass c, CustomStruct2 s) + { + //short l = 0; + //p <<= 5; + //l <<= 5; + shortField <<= 5; + ShortProp <<= 5; + c.ShortField <<= 5; + c.ShortProp <<= 5; + s.ShortField <<= 5; + s.ShortProp <<= 5; + customClassField.ShortField <<= 5; + customClassField.ShortProp <<= 5; + otherCustomStructField.ShortField <<= 5; + otherCustomStructField.ShortProp <<= 5; + CustomClassProp.ShortField <<= 5; + CustomClassProp.ShortProp <<= 5; + GetClass().ShortField <<= 5; + GetClass().ShortProp <<= 5; +#if CS70 + GetStruct().ShortField <<= 5; + GetStruct().ShortProp <<= 5; + GetRefShort() <<= 5; +#endif + } + + public static void ShortRightShiftTest(short p, CustomClass c, CustomStruct2 s) + { + //short l = 0; + //p >>= 5; + //l >>= 5; + shortField >>= 5; + ShortProp >>= 5; + c.ShortField >>= 5; + c.ShortProp >>= 5; + s.ShortField >>= 5; + s.ShortProp >>= 5; + customClassField.ShortField >>= 5; + customClassField.ShortProp >>= 5; + otherCustomStructField.ShortField >>= 5; + otherCustomStructField.ShortProp >>= 5; + CustomClassProp.ShortField >>= 5; + CustomClassProp.ShortProp >>= 5; + GetClass().ShortField >>= 5; + GetClass().ShortProp >>= 5; +#if CS70 + GetStruct().ShortField >>= 5; + GetStruct().ShortProp >>= 5; + GetRefShort() >>= 5; +#endif + } + + public static void ShortBitAndTest(short p, CustomClass c, CustomStruct2 s) + { + //short l = 0; + //p &= 5; + //l &= 5; + shortField &= 5; + ShortProp &= 5; + c.ShortField &= 5; + c.ShortProp &= 5; + s.ShortField &= 5; + s.ShortProp &= 5; + customClassField.ShortField &= 5; + customClassField.ShortProp &= 5; + otherCustomStructField.ShortField &= 5; + otherCustomStructField.ShortProp &= 5; + CustomClassProp.ShortField &= 5; + CustomClassProp.ShortProp &= 5; + GetClass().ShortField &= 5; + GetClass().ShortProp &= 5; +#if CS70 + GetStruct().ShortField &= 5; + GetStruct().ShortProp &= 5; + GetRefShort() &= 5; +#endif + } + + public static void ShortBitOrTest(short p, CustomClass c, CustomStruct2 s) + { + //short l = 0; + //p |= 5; + //l |= 5; + shortField |= 5; + ShortProp |= 5; + c.ShortField |= 5; + c.ShortProp |= 5; + s.ShortField |= 5; + s.ShortProp |= 5; + customClassField.ShortField |= 5; + customClassField.ShortProp |= 5; + otherCustomStructField.ShortField |= 5; + otherCustomStructField.ShortProp |= 5; + CustomClassProp.ShortField |= 5; + CustomClassProp.ShortProp |= 5; + GetClass().ShortField |= 5; + GetClass().ShortProp |= 5; +#if CS70 + GetStruct().ShortField |= 5; + GetStruct().ShortProp |= 5; + GetRefShort() |= 5; +#endif + } + + public static void ShortBitXorTest(short p, CustomClass c, CustomStruct2 s) + { + //short l = 0; + //p ^= 5; + //l ^= 5; + shortField ^= 5; + ShortProp ^= 5; + c.ShortField ^= 5; + c.ShortProp ^= 5; + s.ShortField ^= 5; + s.ShortProp ^= 5; + customClassField.ShortField ^= 5; + customClassField.ShortProp ^= 5; + otherCustomStructField.ShortField ^= 5; + otherCustomStructField.ShortProp ^= 5; + CustomClassProp.ShortField ^= 5; + CustomClassProp.ShortProp ^= 5; + GetClass().ShortField ^= 5; + GetClass().ShortProp ^= 5; +#if CS70 + GetStruct().ShortField ^= 5; + GetStruct().ShortProp ^= 5; + GetRefShort() ^= 5; +#endif + } + + public static void ShortPostIncTest(short p, CustomClass c, CustomStruct2 s) + { + //short l = 0; + //X(p++); + //X(l++); + X(shortField++); + X(ShortProp++); + X(c.ShortField++); + X(c.ShortProp++); + X(s.ShortField++); + X(s.ShortProp++); + X(customClassField.ShortField++); + X(customClassField.ShortProp++); + X(otherCustomStructField.ShortField++); + X(otherCustomStructField.ShortProp++); + X(CustomClassProp.ShortField++); + X(CustomClassProp.ShortProp++); + X(GetClass().ShortField++); + X(GetClass().ShortProp++); +#if CS70 + X(GetStruct().ShortField++); + X(GetStruct().ShortProp++); + X(GetRefShort()++); +#endif + } + + public static void ShortPreIncTest(short p, CustomClass c, CustomStruct2 s) + { + //short l = 0; + //X(++p); + //X(++l); + X(++shortField); + X(++ShortProp); + X(++c.ShortField); + X(++c.ShortProp); + X(++s.ShortField); + X(++s.ShortProp); + X(++customClassField.ShortField); + X(++customClassField.ShortProp); + X(++otherCustomStructField.ShortField); + X(++otherCustomStructField.ShortProp); + X(++CustomClassProp.ShortField); + X(++CustomClassProp.ShortProp); + X(++GetClass().ShortField); + X(++GetClass().ShortProp); +#if CS70 + X(++GetStruct().ShortField); + X(++GetStruct().ShortProp); + X(++GetRefShort()); +#endif + } + public static void ShortPostDecTest(short p, CustomClass c, CustomStruct2 s) + { + //short l = 0; + //X(p--); + //X(l--); + X(shortField--); + X(ShortProp--); + X(c.ShortField--); + X(c.ShortProp--); + X(s.ShortField--); + X(s.ShortProp--); + X(customClassField.ShortField--); + X(customClassField.ShortProp--); + X(otherCustomStructField.ShortField--); + X(otherCustomStructField.ShortProp--); + X(CustomClassProp.ShortField--); + X(CustomClassProp.ShortProp--); + X(GetClass().ShortField--); + X(GetClass().ShortProp--); +#if CS70 + X(GetStruct().ShortField--); + X(GetStruct().ShortProp--); + X(GetRefShort()--); +#endif + } + + public static void ShortPreDecTest(short p, CustomClass c, CustomStruct2 s) + { + //short l = 0; + //X(--p); + //X(--l); + X(--shortField); + X(--ShortProp); + X(--c.ShortField); + X(--c.ShortProp); + X(--s.ShortField); + X(--s.ShortProp); + X(--customClassField.ShortField); + X(--customClassField.ShortProp); + X(--otherCustomStructField.ShortField); + X(--otherCustomStructField.ShortProp); + X(--CustomClassProp.ShortField); + X(--CustomClassProp.ShortProp); + X(--GetClass().ShortField); + X(--GetClass().ShortProp); +#if CS70 + X(--GetStruct().ShortField); + X(--GetStruct().ShortProp); + X(--GetRefShort()); +#endif + } + public static void UshortAddTest(ushort p, CustomClass c, CustomStruct2 s) + { + //ushort l = 0; + //p += 5; + //l += 5; + ushortField += 5; + UshortProp += 5; + c.UshortField += 5; + c.UshortProp += 5; + s.UshortField += 5; + s.UshortProp += 5; + customClassField.UshortField += 5; + customClassField.UshortProp += 5; + otherCustomStructField.UshortField += 5; + otherCustomStructField.UshortProp += 5; + CustomClassProp.UshortField += 5; + CustomClassProp.UshortProp += 5; + GetClass().UshortField += 5; + GetClass().UshortProp += 5; +#if CS70 + GetStruct().UshortField += 5; + GetStruct().UshortProp += 5; + GetRefUshort() += 5; +#endif + } + + public static void UshortSubtractTest(ushort p, CustomClass c, CustomStruct2 s) + { + //ushort l = 0; + //p -= 5; + //l -= 5; + ushortField -= 5; + UshortProp -= 5; + c.UshortField -= 5; + c.UshortProp -= 5; + s.UshortField -= 5; + s.UshortProp -= 5; + customClassField.UshortField -= 5; + customClassField.UshortProp -= 5; + otherCustomStructField.UshortField -= 5; + otherCustomStructField.UshortProp -= 5; + CustomClassProp.UshortField -= 5; + CustomClassProp.UshortProp -= 5; + GetClass().UshortField -= 5; + GetClass().UshortProp -= 5; +#if CS70 + GetStruct().UshortField -= 5; + GetStruct().UshortProp -= 5; + GetRefUshort() -= 5; +#endif + } + + public static void UshortMultiplyTest(ushort p, CustomClass c, CustomStruct2 s) + { + //ushort l = 0; + //p *= 5; + //l *= 5; + ushortField *= 5; + UshortProp *= 5; + c.UshortField *= 5; + c.UshortProp *= 5; + s.UshortField *= 5; + s.UshortProp *= 5; + customClassField.UshortField *= 5; + customClassField.UshortProp *= 5; + otherCustomStructField.UshortField *= 5; + otherCustomStructField.UshortProp *= 5; + CustomClassProp.UshortField *= 5; + CustomClassProp.UshortProp *= 5; + GetClass().UshortField *= 5; + GetClass().UshortProp *= 5; +#if CS70 + GetStruct().UshortField *= 5; + GetStruct().UshortProp *= 5; + GetRefUshort() *= 5; +#endif + } + + public static void UshortDivideTest(ushort p, CustomClass c, CustomStruct2 s) + { + //ushort l = 0; + //p /= 5; + //l /= 5; + ushortField /= 5; + UshortProp /= 5; + c.UshortField /= 5; + c.UshortProp /= 5; + s.UshortField /= 5; + s.UshortProp /= 5; + customClassField.UshortField /= 5; + customClassField.UshortProp /= 5; + otherCustomStructField.UshortField /= 5; + otherCustomStructField.UshortProp /= 5; + CustomClassProp.UshortField /= 5; + CustomClassProp.UshortProp /= 5; + GetClass().UshortField /= 5; + GetClass().UshortProp /= 5; +#if CS70 + GetStruct().UshortField /= 5; + GetStruct().UshortProp /= 5; + GetRefUshort() /= 5; +#endif + } + + public static void UshortModulusTest(ushort p, CustomClass c, CustomStruct2 s) + { + //ushort l = 0; + //p %= 5; + //l %= 5; + ushortField %= 5; + UshortProp %= 5; + c.UshortField %= 5; + c.UshortProp %= 5; + s.UshortField %= 5; + s.UshortProp %= 5; + customClassField.UshortField %= 5; + customClassField.UshortProp %= 5; + otherCustomStructField.UshortField %= 5; + otherCustomStructField.UshortProp %= 5; + CustomClassProp.UshortField %= 5; + CustomClassProp.UshortProp %= 5; + GetClass().UshortField %= 5; + GetClass().UshortProp %= 5; +#if CS70 + GetStruct().UshortField %= 5; + GetStruct().UshortProp %= 5; + GetRefUshort() %= 5; +#endif + } + + public static void UshortLeftShiftTest(ushort p, CustomClass c, CustomStruct2 s) + { + //ushort l = 0; + //p <<= 5; + //l <<= 5; + ushortField <<= 5; + UshortProp <<= 5; + c.UshortField <<= 5; + c.UshortProp <<= 5; + s.UshortField <<= 5; + s.UshortProp <<= 5; + customClassField.UshortField <<= 5; + customClassField.UshortProp <<= 5; + otherCustomStructField.UshortField <<= 5; + otherCustomStructField.UshortProp <<= 5; + CustomClassProp.UshortField <<= 5; + CustomClassProp.UshortProp <<= 5; + GetClass().UshortField <<= 5; + GetClass().UshortProp <<= 5; +#if CS70 + GetStruct().UshortField <<= 5; + GetStruct().UshortProp <<= 5; + GetRefUshort() <<= 5; +#endif + } + + public static void UshortRightShiftTest(ushort p, CustomClass c, CustomStruct2 s) + { + //ushort l = 0; + //p >>= 5; + //l >>= 5; + ushortField >>= 5; + UshortProp >>= 5; + c.UshortField >>= 5; + c.UshortProp >>= 5; + s.UshortField >>= 5; + s.UshortProp >>= 5; + customClassField.UshortField >>= 5; + customClassField.UshortProp >>= 5; + otherCustomStructField.UshortField >>= 5; + otherCustomStructField.UshortProp >>= 5; + CustomClassProp.UshortField >>= 5; + CustomClassProp.UshortProp >>= 5; + GetClass().UshortField >>= 5; + GetClass().UshortProp >>= 5; +#if CS70 + GetStruct().UshortField >>= 5; + GetStruct().UshortProp >>= 5; + GetRefUshort() >>= 5; +#endif + } + + public static void UshortBitAndTest(ushort p, CustomClass c, CustomStruct2 s) + { + //ushort l = 0; + //p &= 5; + //l &= 5; + ushortField &= 5; + UshortProp &= 5; + c.UshortField &= 5; + c.UshortProp &= 5; + s.UshortField &= 5; + s.UshortProp &= 5; + customClassField.UshortField &= 5; + customClassField.UshortProp &= 5; + otherCustomStructField.UshortField &= 5; + otherCustomStructField.UshortProp &= 5; + CustomClassProp.UshortField &= 5; + CustomClassProp.UshortProp &= 5; + GetClass().UshortField &= 5; + GetClass().UshortProp &= 5; +#if CS70 + GetStruct().UshortField &= 5; + GetStruct().UshortProp &= 5; + GetRefUshort() &= 5; +#endif + } + + public static void UshortBitOrTest(ushort p, CustomClass c, CustomStruct2 s) + { + //ushort l = 0; + //p |= 5; + //l |= 5; + ushortField |= 5; + UshortProp |= 5; + c.UshortField |= 5; + c.UshortProp |= 5; + s.UshortField |= 5; + s.UshortProp |= 5; + customClassField.UshortField |= 5; + customClassField.UshortProp |= 5; + otherCustomStructField.UshortField |= 5; + otherCustomStructField.UshortProp |= 5; + CustomClassProp.UshortField |= 5; + CustomClassProp.UshortProp |= 5; + GetClass().UshortField |= 5; + GetClass().UshortProp |= 5; +#if CS70 + GetStruct().UshortField |= 5; + GetStruct().UshortProp |= 5; + GetRefUshort() |= 5; +#endif + } + + public static void UshortBitXorTest(ushort p, CustomClass c, CustomStruct2 s) + { + //ushort l = 0; + //p ^= 5; + //l ^= 5; + ushortField ^= 5; + UshortProp ^= 5; + c.UshortField ^= 5; + c.UshortProp ^= 5; + s.UshortField ^= 5; + s.UshortProp ^= 5; + customClassField.UshortField ^= 5; + customClassField.UshortProp ^= 5; + otherCustomStructField.UshortField ^= 5; + otherCustomStructField.UshortProp ^= 5; + CustomClassProp.UshortField ^= 5; + CustomClassProp.UshortProp ^= 5; + GetClass().UshortField ^= 5; + GetClass().UshortProp ^= 5; +#if CS70 + GetStruct().UshortField ^= 5; + GetStruct().UshortProp ^= 5; + GetRefUshort() ^= 5; +#endif + } + + public static void UshortPostIncTest(ushort p, CustomClass c, CustomStruct2 s) + { + //ushort l = 0; + //X(p++); + //X(l++); + X(ushortField++); + X(UshortProp++); + X(c.UshortField++); + X(c.UshortProp++); + X(s.UshortField++); + X(s.UshortProp++); + X(customClassField.UshortField++); + X(customClassField.UshortProp++); + X(otherCustomStructField.UshortField++); + X(otherCustomStructField.UshortProp++); + X(CustomClassProp.UshortField++); + X(CustomClassProp.UshortProp++); + X(GetClass().UshortField++); + X(GetClass().UshortProp++); +#if CS70 + X(GetStruct().UshortField++); + X(GetStruct().UshortProp++); + X(GetRefUshort()++); +#endif + } + + public static void UshortPreIncTest(ushort p, CustomClass c, CustomStruct2 s) + { + //ushort l = 0; + //X(++p); + //X(++l); + X(++ushortField); + X(++UshortProp); + X(++c.UshortField); + X(++c.UshortProp); + X(++s.UshortField); + X(++s.UshortProp); + X(++customClassField.UshortField); + X(++customClassField.UshortProp); + X(++otherCustomStructField.UshortField); + X(++otherCustomStructField.UshortProp); + X(++CustomClassProp.UshortField); + X(++CustomClassProp.UshortProp); + X(++GetClass().UshortField); + X(++GetClass().UshortProp); +#if CS70 + X(++GetStruct().UshortField); + X(++GetStruct().UshortProp); + X(++GetRefUshort()); +#endif + } + public static void UshortPostDecTest(ushort p, CustomClass c, CustomStruct2 s) + { + //ushort l = 0; + //X(p--); + //X(l--); + X(ushortField--); + X(UshortProp--); + X(c.UshortField--); + X(c.UshortProp--); + X(s.UshortField--); + X(s.UshortProp--); + X(customClassField.UshortField--); + X(customClassField.UshortProp--); + X(otherCustomStructField.UshortField--); + X(otherCustomStructField.UshortProp--); + X(CustomClassProp.UshortField--); + X(CustomClassProp.UshortProp--); + X(GetClass().UshortField--); + X(GetClass().UshortProp--); +#if CS70 + X(GetStruct().UshortField--); + X(GetStruct().UshortProp--); + X(GetRefUshort()--); +#endif + } + + public static void UshortPreDecTest(ushort p, CustomClass c, CustomStruct2 s) + { + //ushort l = 0; + //X(--p); + //X(--l); + X(--ushortField); + X(--UshortProp); + X(--c.UshortField); + X(--c.UshortProp); + X(--s.UshortField); + X(--s.UshortProp); + X(--customClassField.UshortField); + X(--customClassField.UshortProp); + X(--otherCustomStructField.UshortField); + X(--otherCustomStructField.UshortProp); + X(--CustomClassProp.UshortField); + X(--CustomClassProp.UshortProp); + X(--GetClass().UshortField); + X(--GetClass().UshortProp); +#if CS70 + X(--GetStruct().UshortField); + X(--GetStruct().UshortProp); + X(--GetRefUshort()); +#endif + } + public static void IntAddTest(int p, CustomClass c, CustomStruct2 s) + { + //int l = 0; + //p += 5; + //l += 5; + intField += 5; + IntProp += 5; + c.IntField += 5; + c.IntProp += 5; + s.IntField += 5; + s.IntProp += 5; + customClassField.IntField += 5; + customClassField.IntProp += 5; + otherCustomStructField.IntField += 5; + otherCustomStructField.IntProp += 5; + CustomClassProp.IntField += 5; + CustomClassProp.IntProp += 5; + GetClass().IntField += 5; + GetClass().IntProp += 5; +#if CS70 + GetStruct().IntField += 5; + GetStruct().IntProp += 5; + GetRefInt() += 5; +#endif + } + + public static void IntSubtractTest(int p, CustomClass c, CustomStruct2 s) + { + //int l = 0; + //p -= 5; + //l -= 5; + intField -= 5; + IntProp -= 5; + c.IntField -= 5; + c.IntProp -= 5; + s.IntField -= 5; + s.IntProp -= 5; + customClassField.IntField -= 5; + customClassField.IntProp -= 5; + otherCustomStructField.IntField -= 5; + otherCustomStructField.IntProp -= 5; + CustomClassProp.IntField -= 5; + CustomClassProp.IntProp -= 5; + GetClass().IntField -= 5; + GetClass().IntProp -= 5; +#if CS70 + GetStruct().IntField -= 5; + GetStruct().IntProp -= 5; + GetRefInt() -= 5; +#endif + } + + public static void IntMultiplyTest(int p, CustomClass c, CustomStruct2 s) + { + //int l = 0; + //p *= 5; + //l *= 5; + intField *= 5; + IntProp *= 5; + c.IntField *= 5; + c.IntProp *= 5; + s.IntField *= 5; + s.IntProp *= 5; + customClassField.IntField *= 5; + customClassField.IntProp *= 5; + otherCustomStructField.IntField *= 5; + otherCustomStructField.IntProp *= 5; + CustomClassProp.IntField *= 5; + CustomClassProp.IntProp *= 5; + GetClass().IntField *= 5; + GetClass().IntProp *= 5; +#if CS70 + GetStruct().IntField *= 5; + GetStruct().IntProp *= 5; + GetRefInt() *= 5; +#endif + } + + public static void IntDivideTest(int p, CustomClass c, CustomStruct2 s) + { + //int l = 0; + //p /= 5; + //l /= 5; + intField /= 5; + IntProp /= 5; + c.IntField /= 5; + c.IntProp /= 5; + s.IntField /= 5; + s.IntProp /= 5; + customClassField.IntField /= 5; + customClassField.IntProp /= 5; + otherCustomStructField.IntField /= 5; + otherCustomStructField.IntProp /= 5; + CustomClassProp.IntField /= 5; + CustomClassProp.IntProp /= 5; + GetClass().IntField /= 5; + GetClass().IntProp /= 5; +#if CS70 + GetStruct().IntField /= 5; + GetStruct().IntProp /= 5; + GetRefInt() /= 5; +#endif + } + + public static void IntModulusTest(int p, CustomClass c, CustomStruct2 s) + { + //int l = 0; + //p %= 5; + //l %= 5; + intField %= 5; + IntProp %= 5; + c.IntField %= 5; + c.IntProp %= 5; + s.IntField %= 5; + s.IntProp %= 5; + customClassField.IntField %= 5; + customClassField.IntProp %= 5; + otherCustomStructField.IntField %= 5; + otherCustomStructField.IntProp %= 5; + CustomClassProp.IntField %= 5; + CustomClassProp.IntProp %= 5; + GetClass().IntField %= 5; + GetClass().IntProp %= 5; +#if CS70 + GetStruct().IntField %= 5; + GetStruct().IntProp %= 5; + GetRefInt() %= 5; +#endif + } + + public static void IntLeftShiftTest(int p, CustomClass c, CustomStruct2 s) + { + //int l = 0; + //p <<= 5; + //l <<= 5; + intField <<= 5; + IntProp <<= 5; + c.IntField <<= 5; + c.IntProp <<= 5; + s.IntField <<= 5; + s.IntProp <<= 5; + customClassField.IntField <<= 5; + customClassField.IntProp <<= 5; + otherCustomStructField.IntField <<= 5; + otherCustomStructField.IntProp <<= 5; + CustomClassProp.IntField <<= 5; + CustomClassProp.IntProp <<= 5; + GetClass().IntField <<= 5; + GetClass().IntProp <<= 5; +#if CS70 + GetStruct().IntField <<= 5; + GetStruct().IntProp <<= 5; + GetRefInt() <<= 5; +#endif + } + + public static void IntRightShiftTest(int p, CustomClass c, CustomStruct2 s) + { + //int l = 0; + //p >>= 5; + //l >>= 5; + intField >>= 5; + IntProp >>= 5; + c.IntField >>= 5; + c.IntProp >>= 5; + s.IntField >>= 5; + s.IntProp >>= 5; + customClassField.IntField >>= 5; + customClassField.IntProp >>= 5; + otherCustomStructField.IntField >>= 5; + otherCustomStructField.IntProp >>= 5; + CustomClassProp.IntField >>= 5; + CustomClassProp.IntProp >>= 5; + GetClass().IntField >>= 5; + GetClass().IntProp >>= 5; +#if CS70 + GetStruct().IntField >>= 5; + GetStruct().IntProp >>= 5; + GetRefInt() >>= 5; +#endif + } + + public static void IntBitAndTest(int p, CustomClass c, CustomStruct2 s) + { + //int l = 0; + //p &= 5; + //l &= 5; + intField &= 5; + IntProp &= 5; + c.IntField &= 5; + c.IntProp &= 5; + s.IntField &= 5; + s.IntProp &= 5; + customClassField.IntField &= 5; + customClassField.IntProp &= 5; + otherCustomStructField.IntField &= 5; + otherCustomStructField.IntProp &= 5; + CustomClassProp.IntField &= 5; + CustomClassProp.IntProp &= 5; + GetClass().IntField &= 5; + GetClass().IntProp &= 5; +#if CS70 + GetStruct().IntField &= 5; + GetStruct().IntProp &= 5; + GetRefInt() &= 5; +#endif + } + + public static void IntBitOrTest(int p, CustomClass c, CustomStruct2 s) + { + //int l = 0; + //p |= 5; + //l |= 5; + intField |= 5; + IntProp |= 5; + c.IntField |= 5; + c.IntProp |= 5; + s.IntField |= 5; + s.IntProp |= 5; + customClassField.IntField |= 5; + customClassField.IntProp |= 5; + otherCustomStructField.IntField |= 5; + otherCustomStructField.IntProp |= 5; + CustomClassProp.IntField |= 5; + CustomClassProp.IntProp |= 5; + GetClass().IntField |= 5; + GetClass().IntProp |= 5; +#if CS70 + GetStruct().IntField |= 5; + GetStruct().IntProp |= 5; + GetRefInt() |= 5; +#endif + } + + public static void IntBitXorTest(int p, CustomClass c, CustomStruct2 s) + { + //int l = 0; + //p ^= 5; + //l ^= 5; + intField ^= 5; + IntProp ^= 5; + c.IntField ^= 5; + c.IntProp ^= 5; + s.IntField ^= 5; + s.IntProp ^= 5; + customClassField.IntField ^= 5; + customClassField.IntProp ^= 5; + otherCustomStructField.IntField ^= 5; + otherCustomStructField.IntProp ^= 5; + CustomClassProp.IntField ^= 5; + CustomClassProp.IntProp ^= 5; + GetClass().IntField ^= 5; + GetClass().IntProp ^= 5; +#if CS70 + GetStruct().IntField ^= 5; + GetStruct().IntProp ^= 5; + GetRefInt() ^= 5; +#endif + } + + public static void IntPostIncTest(int p, CustomClass c, CustomStruct2 s) + { + //int l = 0; + //X(p++); + //X(l++); + X(intField++); + X(IntProp++); + X(c.IntField++); + X(c.IntProp++); + X(s.IntField++); + X(s.IntProp++); + X(customClassField.IntField++); + X(customClassField.IntProp++); + X(otherCustomStructField.IntField++); + X(otherCustomStructField.IntProp++); + X(CustomClassProp.IntField++); + X(CustomClassProp.IntProp++); + X(GetClass().IntField++); + X(GetClass().IntProp++); +#if CS70 + X(GetStruct().IntField++); + X(GetStruct().IntProp++); + X(GetRefInt()++); +#endif + } + + public static void IntPreIncTest(int p, CustomClass c, CustomStruct2 s) + { + //int l = 0; + //X(++p); + //X(++l); + X(++intField); + X(++IntProp); + X(++c.IntField); + X(++c.IntProp); + X(++s.IntField); + X(++s.IntProp); + X(++customClassField.IntField); + X(++customClassField.IntProp); + X(++otherCustomStructField.IntField); + X(++otherCustomStructField.IntProp); + X(++CustomClassProp.IntField); + X(++CustomClassProp.IntProp); + X(++GetClass().IntField); + X(++GetClass().IntProp); +#if CS70 + X(++GetStruct().IntField); + X(++GetStruct().IntProp); + X(++GetRefInt()); +#endif + } + public static void IntPostDecTest(int p, CustomClass c, CustomStruct2 s) + { + //int l = 0; + //X(p--); + //X(l--); + X(intField--); + X(IntProp--); + X(c.IntField--); + X(c.IntProp--); + X(s.IntField--); + X(s.IntProp--); + X(customClassField.IntField--); + X(customClassField.IntProp--); + X(otherCustomStructField.IntField--); + X(otherCustomStructField.IntProp--); + X(CustomClassProp.IntField--); + X(CustomClassProp.IntProp--); + X(GetClass().IntField--); + X(GetClass().IntProp--); +#if CS70 + X(GetStruct().IntField--); + X(GetStruct().IntProp--); + X(GetRefInt()--); +#endif + } + + public static void IntPreDecTest(int p, CustomClass c, CustomStruct2 s) + { + //int l = 0; + //X(--p); + //X(--l); + X(--intField); + X(--IntProp); + X(--c.IntField); + X(--c.IntProp); + X(--s.IntField); + X(--s.IntProp); + X(--customClassField.IntField); + X(--customClassField.IntProp); + X(--otherCustomStructField.IntField); + X(--otherCustomStructField.IntProp); + X(--CustomClassProp.IntField); + X(--CustomClassProp.IntProp); + X(--GetClass().IntField); + X(--GetClass().IntProp); +#if CS70 + X(--GetStruct().IntField); + X(--GetStruct().IntProp); + X(--GetRefInt()); +#endif + } + public static void UintAddTest(uint p, CustomClass c, CustomStruct2 s) + { + //uint l = 0; + //p += 5u; + //l += 5u; + uintField += 5u; + UintProp += 5u; + c.UintField += 5u; + c.UintProp += 5u; + s.UintField += 5u; + s.UintProp += 5u; + customClassField.UintField += 5u; + customClassField.UintProp += 5u; + otherCustomStructField.UintField += 5u; + otherCustomStructField.UintProp += 5u; + CustomClassProp.UintField += 5u; + CustomClassProp.UintProp += 5u; + GetClass().UintField += 5u; + GetClass().UintProp += 5u; +#if CS70 + GetStruct().UintField += 5u; + GetStruct().UintProp += 5u; + GetRefUint() += 5u; +#endif + } + + public static void UintSubtractTest(uint p, CustomClass c, CustomStruct2 s) + { + //uint l = 0; + //p -= 5u; + //l -= 5u; + uintField -= 5u; + UintProp -= 5u; + c.UintField -= 5u; + c.UintProp -= 5u; + s.UintField -= 5u; + s.UintProp -= 5u; + customClassField.UintField -= 5u; + customClassField.UintProp -= 5u; + otherCustomStructField.UintField -= 5u; + otherCustomStructField.UintProp -= 5u; + CustomClassProp.UintField -= 5u; + CustomClassProp.UintProp -= 5u; + GetClass().UintField -= 5u; + GetClass().UintProp -= 5u; +#if CS70 + GetStruct().UintField -= 5u; + GetStruct().UintProp -= 5u; + GetRefUint() -= 5u; +#endif + } + + public static void UintMultiplyTest(uint p, CustomClass c, CustomStruct2 s) + { + //uint l = 0; + //p *= 5u; + //l *= 5u; + uintField *= 5u; + UintProp *= 5u; + c.UintField *= 5u; + c.UintProp *= 5u; + s.UintField *= 5u; + s.UintProp *= 5u; + customClassField.UintField *= 5u; + customClassField.UintProp *= 5u; + otherCustomStructField.UintField *= 5u; + otherCustomStructField.UintProp *= 5u; + CustomClassProp.UintField *= 5u; + CustomClassProp.UintProp *= 5u; + GetClass().UintField *= 5u; + GetClass().UintProp *= 5u; +#if CS70 + GetStruct().UintField *= 5u; + GetStruct().UintProp *= 5u; + GetRefUint() *= 5u; +#endif + } + + public static void UintDivideTest(uint p, CustomClass c, CustomStruct2 s) + { + //uint l = 0; + //p /= 5u; + //l /= 5u; + uintField /= 5u; + UintProp /= 5u; + c.UintField /= 5u; + c.UintProp /= 5u; + s.UintField /= 5u; + s.UintProp /= 5u; + customClassField.UintField /= 5u; + customClassField.UintProp /= 5u; + otherCustomStructField.UintField /= 5u; + otherCustomStructField.UintProp /= 5u; + CustomClassProp.UintField /= 5u; + CustomClassProp.UintProp /= 5u; + GetClass().UintField /= 5u; + GetClass().UintProp /= 5u; +#if CS70 + GetStruct().UintField /= 5u; + GetStruct().UintProp /= 5u; + GetRefUint() /= 5u; +#endif + } + + public static void UintModulusTest(uint p, CustomClass c, CustomStruct2 s) + { + //uint l = 0; + //p %= 5u; + //l %= 5u; + uintField %= 5u; + UintProp %= 5u; + c.UintField %= 5u; + c.UintProp %= 5u; + s.UintField %= 5u; + s.UintProp %= 5u; + customClassField.UintField %= 5u; + customClassField.UintProp %= 5u; + otherCustomStructField.UintField %= 5u; + otherCustomStructField.UintProp %= 5u; + CustomClassProp.UintField %= 5u; + CustomClassProp.UintProp %= 5u; + GetClass().UintField %= 5u; + GetClass().UintProp %= 5u; +#if CS70 + GetStruct().UintField %= 5u; + GetStruct().UintProp %= 5u; + GetRefUint() %= 5u; +#endif + } + + public static void UintLeftShiftTest(uint p, CustomClass c, CustomStruct2 s) + { + //uint l = 0; + //p <<= 5; + //l <<= 5; + uintField <<= 5; + UintProp <<= 5; + c.UintField <<= 5; + c.UintProp <<= 5; + s.UintField <<= 5; + s.UintProp <<= 5; + customClassField.UintField <<= 5; + customClassField.UintProp <<= 5; + otherCustomStructField.UintField <<= 5; + otherCustomStructField.UintProp <<= 5; + CustomClassProp.UintField <<= 5; + CustomClassProp.UintProp <<= 5; + GetClass().UintField <<= 5; + GetClass().UintProp <<= 5; +#if CS70 + GetStruct().UintField <<= 5; + GetStruct().UintProp <<= 5; + GetRefUint() <<= 5; +#endif + } + + public static void UintRightShiftTest(uint p, CustomClass c, CustomStruct2 s) + { + //uint l = 0; + //p >>= 5; + //l >>= 5; + uintField >>= 5; + UintProp >>= 5; + c.UintField >>= 5; + c.UintProp >>= 5; + s.UintField >>= 5; + s.UintProp >>= 5; + customClassField.UintField >>= 5; + customClassField.UintProp >>= 5; + otherCustomStructField.UintField >>= 5; + otherCustomStructField.UintProp >>= 5; + CustomClassProp.UintField >>= 5; + CustomClassProp.UintProp >>= 5; + GetClass().UintField >>= 5; + GetClass().UintProp >>= 5; +#if CS70 + GetStruct().UintField >>= 5; + GetStruct().UintProp >>= 5; + GetRefUint() >>= 5; +#endif + } + + public static void UintBitAndTest(uint p, CustomClass c, CustomStruct2 s) + { + //uint l = 0; + //p &= 5u; + //l &= 5u; + uintField &= 5u; + UintProp &= 5u; + c.UintField &= 5u; + c.UintProp &= 5u; + s.UintField &= 5u; + s.UintProp &= 5u; + customClassField.UintField &= 5u; + customClassField.UintProp &= 5u; + otherCustomStructField.UintField &= 5u; + otherCustomStructField.UintProp &= 5u; + CustomClassProp.UintField &= 5u; + CustomClassProp.UintProp &= 5u; + GetClass().UintField &= 5u; + GetClass().UintProp &= 5u; +#if CS70 + GetStruct().UintField &= 5u; + GetStruct().UintProp &= 5u; + GetRefUint() &= 5u; +#endif + } + + public static void UintBitOrTest(uint p, CustomClass c, CustomStruct2 s) + { + //uint l = 0; + //p |= 5u; + //l |= 5u; + uintField |= 5u; + UintProp |= 5u; + c.UintField |= 5u; + c.UintProp |= 5u; + s.UintField |= 5u; + s.UintProp |= 5u; + customClassField.UintField |= 5u; + customClassField.UintProp |= 5u; + otherCustomStructField.UintField |= 5u; + otherCustomStructField.UintProp |= 5u; + CustomClassProp.UintField |= 5u; + CustomClassProp.UintProp |= 5u; + GetClass().UintField |= 5u; + GetClass().UintProp |= 5u; +#if CS70 + GetStruct().UintField |= 5u; + GetStruct().UintProp |= 5u; + GetRefUint() |= 5u; +#endif + } + + public static void UintBitXorTest(uint p, CustomClass c, CustomStruct2 s) + { + //uint l = 0; + //p ^= 5u; + //l ^= 5u; + uintField ^= 5u; + UintProp ^= 5u; + c.UintField ^= 5u; + c.UintProp ^= 5u; + s.UintField ^= 5u; + s.UintProp ^= 5u; + customClassField.UintField ^= 5u; + customClassField.UintProp ^= 5u; + otherCustomStructField.UintField ^= 5u; + otherCustomStructField.UintProp ^= 5u; + CustomClassProp.UintField ^= 5u; + CustomClassProp.UintProp ^= 5u; + GetClass().UintField ^= 5u; + GetClass().UintProp ^= 5u; +#if CS70 + GetStruct().UintField ^= 5u; + GetStruct().UintProp ^= 5u; + GetRefUint() ^= 5u; +#endif + } + + public static void UintPostIncTest(uint p, CustomClass c, CustomStruct2 s) + { + //uint l = 0; + //X(p++); + //X(l++); + X(uintField++); + X(UintProp++); + X(c.UintField++); + X(c.UintProp++); + X(s.UintField++); + X(s.UintProp++); + X(customClassField.UintField++); + X(customClassField.UintProp++); + X(otherCustomStructField.UintField++); + X(otherCustomStructField.UintProp++); + X(CustomClassProp.UintField++); + X(CustomClassProp.UintProp++); + X(GetClass().UintField++); + X(GetClass().UintProp++); +#if CS70 + X(GetStruct().UintField++); + X(GetStruct().UintProp++); + X(GetRefUint()++); +#endif + } + + public static void UintPreIncTest(uint p, CustomClass c, CustomStruct2 s) + { + //uint l = 0; + //X(++p); + //X(++l); + X(++uintField); + X(++UintProp); + X(++c.UintField); + X(++c.UintProp); + X(++s.UintField); + X(++s.UintProp); + X(++customClassField.UintField); + X(++customClassField.UintProp); + X(++otherCustomStructField.UintField); + X(++otherCustomStructField.UintProp); + X(++CustomClassProp.UintField); + X(++CustomClassProp.UintProp); + X(++GetClass().UintField); + X(++GetClass().UintProp); +#if CS70 + X(++GetStruct().UintField); + X(++GetStruct().UintProp); + X(++GetRefUint()); +#endif + } + public static void UintPostDecTest(uint p, CustomClass c, CustomStruct2 s) + { + //uint l = 0; + //X(p--); + //X(l--); + X(uintField--); + X(UintProp--); + X(c.UintField--); + X(c.UintProp--); + X(s.UintField--); + X(s.UintProp--); + X(customClassField.UintField--); + X(customClassField.UintProp--); + X(otherCustomStructField.UintField--); + X(otherCustomStructField.UintProp--); + X(CustomClassProp.UintField--); + X(CustomClassProp.UintProp--); + X(GetClass().UintField--); + X(GetClass().UintProp--); +#if CS70 + X(GetStruct().UintField--); + X(GetStruct().UintProp--); + X(GetRefUint()--); +#endif + } + + public static void UintPreDecTest(uint p, CustomClass c, CustomStruct2 s) + { + //uint l = 0; + //X(--p); + //X(--l); + X(--uintField); + X(--UintProp); + X(--c.UintField); + X(--c.UintProp); + X(--s.UintField); + X(--s.UintProp); + X(--customClassField.UintField); + X(--customClassField.UintProp); + X(--otherCustomStructField.UintField); + X(--otherCustomStructField.UintProp); + X(--CustomClassProp.UintField); + X(--CustomClassProp.UintProp); + X(--GetClass().UintField); + X(--GetClass().UintProp); +#if CS70 + X(--GetStruct().UintField); + X(--GetStruct().UintProp); + X(--GetRefUint()); +#endif + } + public static void LongAddTest(long p, CustomClass c, CustomStruct2 s) + { + //long l = 0; + //p += 5L; + //l += 5L; + longField += 5L; + LongProp += 5L; + c.LongField += 5L; + c.LongProp += 5L; + s.LongField += 5L; + s.LongProp += 5L; + customClassField.LongField += 5L; + customClassField.LongProp += 5L; + otherCustomStructField.LongField += 5L; + otherCustomStructField.LongProp += 5L; + CustomClassProp.LongField += 5L; + CustomClassProp.LongProp += 5L; + GetClass().LongField += 5L; + GetClass().LongProp += 5L; +#if CS70 + GetStruct().LongField += 5L; + GetStruct().LongProp += 5L; + GetRefLong() += 5L; +#endif + } + + public static void LongSubtractTest(long p, CustomClass c, CustomStruct2 s) + { + //long l = 0; + //p -= 5L; + //l -= 5L; + longField -= 5L; + LongProp -= 5L; + c.LongField -= 5L; + c.LongProp -= 5L; + s.LongField -= 5L; + s.LongProp -= 5L; + customClassField.LongField -= 5L; + customClassField.LongProp -= 5L; + otherCustomStructField.LongField -= 5L; + otherCustomStructField.LongProp -= 5L; + CustomClassProp.LongField -= 5L; + CustomClassProp.LongProp -= 5L; + GetClass().LongField -= 5L; + GetClass().LongProp -= 5L; +#if CS70 + GetStruct().LongField -= 5L; + GetStruct().LongProp -= 5L; + GetRefLong() -= 5L; +#endif + } + + public static void LongMultiplyTest(long p, CustomClass c, CustomStruct2 s) + { + //long l = 0; + //p *= 5L; + //l *= 5L; + longField *= 5L; + LongProp *= 5L; + c.LongField *= 5L; + c.LongProp *= 5L; + s.LongField *= 5L; + s.LongProp *= 5L; + customClassField.LongField *= 5L; + customClassField.LongProp *= 5L; + otherCustomStructField.LongField *= 5L; + otherCustomStructField.LongProp *= 5L; + CustomClassProp.LongField *= 5L; + CustomClassProp.LongProp *= 5L; + GetClass().LongField *= 5L; + GetClass().LongProp *= 5L; +#if CS70 + GetStruct().LongField *= 5L; + GetStruct().LongProp *= 5L; + GetRefLong() *= 5L; +#endif + } + + public static void LongDivideTest(long p, CustomClass c, CustomStruct2 s) + { + //long l = 0; + //p /= 5L; + //l /= 5L; + longField /= 5L; + LongProp /= 5L; + c.LongField /= 5L; + c.LongProp /= 5L; + s.LongField /= 5L; + s.LongProp /= 5L; + customClassField.LongField /= 5L; + customClassField.LongProp /= 5L; + otherCustomStructField.LongField /= 5L; + otherCustomStructField.LongProp /= 5L; + CustomClassProp.LongField /= 5L; + CustomClassProp.LongProp /= 5L; + GetClass().LongField /= 5L; + GetClass().LongProp /= 5L; +#if CS70 + GetStruct().LongField /= 5L; + GetStruct().LongProp /= 5L; + GetRefLong() /= 5L; +#endif + } + + public static void LongModulusTest(long p, CustomClass c, CustomStruct2 s) + { + //long l = 0; + //p %= 5L; + //l %= 5L; + longField %= 5L; + LongProp %= 5L; + c.LongField %= 5L; + c.LongProp %= 5L; + s.LongField %= 5L; + s.LongProp %= 5L; + customClassField.LongField %= 5L; + customClassField.LongProp %= 5L; + otherCustomStructField.LongField %= 5L; + otherCustomStructField.LongProp %= 5L; + CustomClassProp.LongField %= 5L; + CustomClassProp.LongProp %= 5L; + GetClass().LongField %= 5L; + GetClass().LongProp %= 5L; +#if CS70 + GetStruct().LongField %= 5L; + GetStruct().LongProp %= 5L; + GetRefLong() %= 5L; +#endif + } + + public static void LongLeftShiftTest(long p, CustomClass c, CustomStruct2 s) + { + //long l = 0; + //p <<= 5; + //l <<= 5; + longField <<= 5; + LongProp <<= 5; + c.LongField <<= 5; + c.LongProp <<= 5; + s.LongField <<= 5; + s.LongProp <<= 5; + customClassField.LongField <<= 5; + customClassField.LongProp <<= 5; + otherCustomStructField.LongField <<= 5; + otherCustomStructField.LongProp <<= 5; + CustomClassProp.LongField <<= 5; + CustomClassProp.LongProp <<= 5; + GetClass().LongField <<= 5; + GetClass().LongProp <<= 5; +#if CS70 + GetStruct().LongField <<= 5; + GetStruct().LongProp <<= 5; + GetRefLong() <<= 5; +#endif + } + + public static void LongRightShiftTest(long p, CustomClass c, CustomStruct2 s) + { + //long l = 0; + //p >>= 5; + //l >>= 5; + longField >>= 5; + LongProp >>= 5; + c.LongField >>= 5; + c.LongProp >>= 5; + s.LongField >>= 5; + s.LongProp >>= 5; + customClassField.LongField >>= 5; + customClassField.LongProp >>= 5; + otherCustomStructField.LongField >>= 5; + otherCustomStructField.LongProp >>= 5; + CustomClassProp.LongField >>= 5; + CustomClassProp.LongProp >>= 5; + GetClass().LongField >>= 5; + GetClass().LongProp >>= 5; +#if CS70 + GetStruct().LongField >>= 5; + GetStruct().LongProp >>= 5; + GetRefLong() >>= 5; +#endif + } + + public static void LongBitAndTest(long p, CustomClass c, CustomStruct2 s) + { + //long l = 0; + //p &= 5L; + //l &= 5L; + longField &= 5L; + LongProp &= 5L; + c.LongField &= 5L; + c.LongProp &= 5L; + s.LongField &= 5L; + s.LongProp &= 5L; + customClassField.LongField &= 5L; + customClassField.LongProp &= 5L; + otherCustomStructField.LongField &= 5L; + otherCustomStructField.LongProp &= 5L; + CustomClassProp.LongField &= 5L; + CustomClassProp.LongProp &= 5L; + GetClass().LongField &= 5L; + GetClass().LongProp &= 5L; +#if CS70 + GetStruct().LongField &= 5L; + GetStruct().LongProp &= 5L; + GetRefLong() &= 5L; +#endif + } + + public static void LongBitOrTest(long p, CustomClass c, CustomStruct2 s) + { + //long l = 0; + //p |= 5L; + //l |= 5L; + longField |= 5L; + LongProp |= 5L; + c.LongField |= 5L; + c.LongProp |= 5L; + s.LongField |= 5L; + s.LongProp |= 5L; + customClassField.LongField |= 5L; + customClassField.LongProp |= 5L; + otherCustomStructField.LongField |= 5L; + otherCustomStructField.LongProp |= 5L; + CustomClassProp.LongField |= 5L; + CustomClassProp.LongProp |= 5L; + GetClass().LongField |= 5L; + GetClass().LongProp |= 5L; +#if CS70 + GetStruct().LongField |= 5L; + GetStruct().LongProp |= 5L; + GetRefLong() |= 5L; +#endif + } + + public static void LongBitXorTest(long p, CustomClass c, CustomStruct2 s) + { + //long l = 0; + //p ^= 5L; + //l ^= 5L; + longField ^= 5L; + LongProp ^= 5L; + c.LongField ^= 5L; + c.LongProp ^= 5L; + s.LongField ^= 5L; + s.LongProp ^= 5L; + customClassField.LongField ^= 5L; + customClassField.LongProp ^= 5L; + otherCustomStructField.LongField ^= 5L; + otherCustomStructField.LongProp ^= 5L; + CustomClassProp.LongField ^= 5L; + CustomClassProp.LongProp ^= 5L; + GetClass().LongField ^= 5L; + GetClass().LongProp ^= 5L; +#if CS70 + GetStruct().LongField ^= 5L; + GetStruct().LongProp ^= 5L; + GetRefLong() ^= 5L; +#endif + } + + public static void LongPostIncTest(long p, CustomClass c, CustomStruct2 s) + { + //long l = 0; + //X(p++); + //X(l++); + X(longField++); + X(LongProp++); + X(c.LongField++); + X(c.LongProp++); + X(s.LongField++); + X(s.LongProp++); + X(customClassField.LongField++); + X(customClassField.LongProp++); + X(otherCustomStructField.LongField++); + X(otherCustomStructField.LongProp++); + X(CustomClassProp.LongField++); + X(CustomClassProp.LongProp++); + X(GetClass().LongField++); + X(GetClass().LongProp++); +#if CS70 + X(GetStruct().LongField++); + X(GetStruct().LongProp++); + X(GetRefLong()++); +#endif + } + + public static void LongPreIncTest(long p, CustomClass c, CustomStruct2 s) + { + //long l = 0; + //X(++p); + //X(++l); + X(++longField); + X(++LongProp); + X(++c.LongField); + X(++c.LongProp); + X(++s.LongField); + X(++s.LongProp); + X(++customClassField.LongField); + X(++customClassField.LongProp); + X(++otherCustomStructField.LongField); + X(++otherCustomStructField.LongProp); + X(++CustomClassProp.LongField); + X(++CustomClassProp.LongProp); + X(++GetClass().LongField); + X(++GetClass().LongProp); +#if CS70 + X(++GetStruct().LongField); + X(++GetStruct().LongProp); + X(++GetRefLong()); +#endif + } + public static void LongPostDecTest(long p, CustomClass c, CustomStruct2 s) + { + //long l = 0; + //X(p--); + //X(l--); + X(longField--); + X(LongProp--); + X(c.LongField--); + X(c.LongProp--); + X(s.LongField--); + X(s.LongProp--); + X(customClassField.LongField--); + X(customClassField.LongProp--); + X(otherCustomStructField.LongField--); + X(otherCustomStructField.LongProp--); + X(CustomClassProp.LongField--); + X(CustomClassProp.LongProp--); + X(GetClass().LongField--); + X(GetClass().LongProp--); +#if CS70 + X(GetStruct().LongField--); + X(GetStruct().LongProp--); + X(GetRefLong()--); +#endif + } + + public static void LongPreDecTest(long p, CustomClass c, CustomStruct2 s) + { + //long l = 0; + //X(--p); + //X(--l); + X(--longField); + X(--LongProp); + X(--c.LongField); + X(--c.LongProp); + X(--s.LongField); + X(--s.LongProp); + X(--customClassField.LongField); + X(--customClassField.LongProp); + X(--otherCustomStructField.LongField); + X(--otherCustomStructField.LongProp); + X(--CustomClassProp.LongField); + X(--CustomClassProp.LongProp); + X(--GetClass().LongField); + X(--GetClass().LongProp); +#if CS70 + X(--GetStruct().LongField); + X(--GetStruct().LongProp); + X(--GetRefLong()); +#endif + } + public static void UlongAddTest(ulong p, CustomClass c, CustomStruct2 s) + { + //ulong l = 0; + //p += 5uL; + //l += 5uL; + ulongField += 5uL; + UlongProp += 5uL; + c.UlongField += 5uL; + c.UlongProp += 5uL; + s.UlongField += 5uL; + s.UlongProp += 5uL; + customClassField.UlongField += 5uL; + customClassField.UlongProp += 5uL; + otherCustomStructField.UlongField += 5uL; + otherCustomStructField.UlongProp += 5uL; + CustomClassProp.UlongField += 5uL; + CustomClassProp.UlongProp += 5uL; + GetClass().UlongField += 5uL; + GetClass().UlongProp += 5uL; +#if CS70 + GetStruct().UlongField += 5uL; + GetStruct().UlongProp += 5uL; + GetRefUlong() += 5uL; +#endif + } + + public static void UlongSubtractTest(ulong p, CustomClass c, CustomStruct2 s) + { + //ulong l = 0; + //p -= 5uL; + //l -= 5uL; + ulongField -= 5uL; + UlongProp -= 5uL; + c.UlongField -= 5uL; + c.UlongProp -= 5uL; + s.UlongField -= 5uL; + s.UlongProp -= 5uL; + customClassField.UlongField -= 5uL; + customClassField.UlongProp -= 5uL; + otherCustomStructField.UlongField -= 5uL; + otherCustomStructField.UlongProp -= 5uL; + CustomClassProp.UlongField -= 5uL; + CustomClassProp.UlongProp -= 5uL; + GetClass().UlongField -= 5uL; + GetClass().UlongProp -= 5uL; +#if CS70 + GetStruct().UlongField -= 5uL; + GetStruct().UlongProp -= 5uL; + GetRefUlong() -= 5uL; +#endif + } + + public static void UlongMultiplyTest(ulong p, CustomClass c, CustomStruct2 s) + { + //ulong l = 0; + //p *= 5uL; + //l *= 5uL; + ulongField *= 5uL; + UlongProp *= 5uL; + c.UlongField *= 5uL; + c.UlongProp *= 5uL; + s.UlongField *= 5uL; + s.UlongProp *= 5uL; + customClassField.UlongField *= 5uL; + customClassField.UlongProp *= 5uL; + otherCustomStructField.UlongField *= 5uL; + otherCustomStructField.UlongProp *= 5uL; + CustomClassProp.UlongField *= 5uL; + CustomClassProp.UlongProp *= 5uL; + GetClass().UlongField *= 5uL; + GetClass().UlongProp *= 5uL; +#if CS70 + GetStruct().UlongField *= 5uL; + GetStruct().UlongProp *= 5uL; + GetRefUlong() *= 5uL; +#endif + } + + public static void UlongDivideTest(ulong p, CustomClass c, CustomStruct2 s) + { + //ulong l = 0; + //p /= 5uL; + //l /= 5uL; + ulongField /= 5uL; + UlongProp /= 5uL; + c.UlongField /= 5uL; + c.UlongProp /= 5uL; + s.UlongField /= 5uL; + s.UlongProp /= 5uL; + customClassField.UlongField /= 5uL; + customClassField.UlongProp /= 5uL; + otherCustomStructField.UlongField /= 5uL; + otherCustomStructField.UlongProp /= 5uL; + CustomClassProp.UlongField /= 5uL; + CustomClassProp.UlongProp /= 5uL; + GetClass().UlongField /= 5uL; + GetClass().UlongProp /= 5uL; +#if CS70 + GetStruct().UlongField /= 5uL; + GetStruct().UlongProp /= 5uL; + GetRefUlong() /= 5uL; +#endif + } + + public static void UlongModulusTest(ulong p, CustomClass c, CustomStruct2 s) + { + //ulong l = 0; + //p %= 5uL; + //l %= 5uL; + ulongField %= 5uL; + UlongProp %= 5uL; + c.UlongField %= 5uL; + c.UlongProp %= 5uL; + s.UlongField %= 5uL; + s.UlongProp %= 5uL; + customClassField.UlongField %= 5uL; + customClassField.UlongProp %= 5uL; + otherCustomStructField.UlongField %= 5uL; + otherCustomStructField.UlongProp %= 5uL; + CustomClassProp.UlongField %= 5uL; + CustomClassProp.UlongProp %= 5uL; + GetClass().UlongField %= 5uL; + GetClass().UlongProp %= 5uL; +#if CS70 + GetStruct().UlongField %= 5uL; + GetStruct().UlongProp %= 5uL; + GetRefUlong() %= 5uL; +#endif + } + + public static void UlongLeftShiftTest(ulong p, CustomClass c, CustomStruct2 s) + { + //ulong l = 0; + //p <<= 5; + //l <<= 5; + ulongField <<= 5; + UlongProp <<= 5; + c.UlongField <<= 5; + c.UlongProp <<= 5; + s.UlongField <<= 5; + s.UlongProp <<= 5; + customClassField.UlongField <<= 5; + customClassField.UlongProp <<= 5; + otherCustomStructField.UlongField <<= 5; + otherCustomStructField.UlongProp <<= 5; + CustomClassProp.UlongField <<= 5; + CustomClassProp.UlongProp <<= 5; + GetClass().UlongField <<= 5; + GetClass().UlongProp <<= 5; +#if CS70 + GetStruct().UlongField <<= 5; + GetStruct().UlongProp <<= 5; + GetRefUlong() <<= 5; +#endif + } + + public static void UlongRightShiftTest(ulong p, CustomClass c, CustomStruct2 s) + { + //ulong l = 0; + //p >>= 5; + //l >>= 5; + ulongField >>= 5; + UlongProp >>= 5; + c.UlongField >>= 5; + c.UlongProp >>= 5; + s.UlongField >>= 5; + s.UlongProp >>= 5; + customClassField.UlongField >>= 5; + customClassField.UlongProp >>= 5; + otherCustomStructField.UlongField >>= 5; + otherCustomStructField.UlongProp >>= 5; + CustomClassProp.UlongField >>= 5; + CustomClassProp.UlongProp >>= 5; + GetClass().UlongField >>= 5; + GetClass().UlongProp >>= 5; +#if CS70 + GetStruct().UlongField >>= 5; + GetStruct().UlongProp >>= 5; + GetRefUlong() >>= 5; +#endif + } + + public static void UlongBitAndTest(ulong p, CustomClass c, CustomStruct2 s) + { + //ulong l = 0; + //p &= 5uL; + //l &= 5uL; + ulongField &= 5uL; + UlongProp &= 5uL; + c.UlongField &= 5uL; + c.UlongProp &= 5uL; + s.UlongField &= 5uL; + s.UlongProp &= 5uL; + customClassField.UlongField &= 5uL; + customClassField.UlongProp &= 5uL; + otherCustomStructField.UlongField &= 5uL; + otherCustomStructField.UlongProp &= 5uL; + CustomClassProp.UlongField &= 5uL; + CustomClassProp.UlongProp &= 5uL; + GetClass().UlongField &= 5uL; + GetClass().UlongProp &= 5uL; +#if CS70 + GetStruct().UlongField &= 5uL; + GetStruct().UlongProp &= 5uL; + GetRefUlong() &= 5uL; +#endif + } + + public static void UlongBitOrTest(ulong p, CustomClass c, CustomStruct2 s) + { + //ulong l = 0; + //p |= 5uL; + //l |= 5uL; + ulongField |= 5uL; + UlongProp |= 5uL; + c.UlongField |= 5uL; + c.UlongProp |= 5uL; + s.UlongField |= 5uL; + s.UlongProp |= 5uL; + customClassField.UlongField |= 5uL; + customClassField.UlongProp |= 5uL; + otherCustomStructField.UlongField |= 5uL; + otherCustomStructField.UlongProp |= 5uL; + CustomClassProp.UlongField |= 5uL; + CustomClassProp.UlongProp |= 5uL; + GetClass().UlongField |= 5uL; + GetClass().UlongProp |= 5uL; +#if CS70 + GetStruct().UlongField |= 5uL; + GetStruct().UlongProp |= 5uL; + GetRefUlong() |= 5uL; +#endif + } + + public static void UlongBitXorTest(ulong p, CustomClass c, CustomStruct2 s) + { + //ulong l = 0; + //p ^= 5uL; + //l ^= 5uL; + ulongField ^= 5uL; + UlongProp ^= 5uL; + c.UlongField ^= 5uL; + c.UlongProp ^= 5uL; + s.UlongField ^= 5uL; + s.UlongProp ^= 5uL; + customClassField.UlongField ^= 5uL; + customClassField.UlongProp ^= 5uL; + otherCustomStructField.UlongField ^= 5uL; + otherCustomStructField.UlongProp ^= 5uL; + CustomClassProp.UlongField ^= 5uL; + CustomClassProp.UlongProp ^= 5uL; + GetClass().UlongField ^= 5uL; + GetClass().UlongProp ^= 5uL; +#if CS70 + GetStruct().UlongField ^= 5uL; + GetStruct().UlongProp ^= 5uL; + GetRefUlong() ^= 5uL; +#endif + } + + public static void UlongPostIncTest(ulong p, CustomClass c, CustomStruct2 s) + { + //ulong l = 0; + //X(p++); + //X(l++); + X(ulongField++); + X(UlongProp++); + X(c.UlongField++); + X(c.UlongProp++); + X(s.UlongField++); + X(s.UlongProp++); + X(customClassField.UlongField++); + X(customClassField.UlongProp++); + X(otherCustomStructField.UlongField++); + X(otherCustomStructField.UlongProp++); + X(CustomClassProp.UlongField++); + X(CustomClassProp.UlongProp++); + X(GetClass().UlongField++); + X(GetClass().UlongProp++); +#if CS70 + X(GetStruct().UlongField++); + X(GetStruct().UlongProp++); + X(GetRefUlong()++); +#endif + } + + public static void UlongPreIncTest(ulong p, CustomClass c, CustomStruct2 s) + { + //ulong l = 0; + //X(++p); + //X(++l); + X(++ulongField); + X(++UlongProp); + X(++c.UlongField); + X(++c.UlongProp); + X(++s.UlongField); + X(++s.UlongProp); + X(++customClassField.UlongField); + X(++customClassField.UlongProp); + X(++otherCustomStructField.UlongField); + X(++otherCustomStructField.UlongProp); + X(++CustomClassProp.UlongField); + X(++CustomClassProp.UlongProp); + X(++GetClass().UlongField); + X(++GetClass().UlongProp); +#if CS70 + X(++GetStruct().UlongField); + X(++GetStruct().UlongProp); + X(++GetRefUlong()); +#endif + } + public static void UlongPostDecTest(ulong p, CustomClass c, CustomStruct2 s) + { + //ulong l = 0; + //X(p--); + //X(l--); + X(ulongField--); + X(UlongProp--); + X(c.UlongField--); + X(c.UlongProp--); + X(s.UlongField--); + X(s.UlongProp--); + X(customClassField.UlongField--); + X(customClassField.UlongProp--); + X(otherCustomStructField.UlongField--); + X(otherCustomStructField.UlongProp--); + X(CustomClassProp.UlongField--); + X(CustomClassProp.UlongProp--); + X(GetClass().UlongField--); + X(GetClass().UlongProp--); +#if CS70 + X(GetStruct().UlongField--); + X(GetStruct().UlongProp--); + X(GetRefUlong()--); +#endif + } + + public static void UlongPreDecTest(ulong p, CustomClass c, CustomStruct2 s) + { + //ulong l = 0; + //X(--p); + //X(--l); + X(--ulongField); + X(--UlongProp); + X(--c.UlongField); + X(--c.UlongProp); + X(--s.UlongField); + X(--s.UlongProp); + X(--customClassField.UlongField); + X(--customClassField.UlongProp); + X(--otherCustomStructField.UlongField); + X(--otherCustomStructField.UlongProp); + X(--CustomClassProp.UlongField); + X(--CustomClassProp.UlongProp); + X(--GetClass().UlongField); + X(--GetClass().UlongProp); +#if CS70 + X(--GetStruct().UlongField); + X(--GetStruct().UlongProp); + X(--GetRefUlong()); +#endif + } + public static void CustomClassAddTest(CustomClass p, CustomClass c, CustomStruct2 s) + { + //CustomClass l = null; + //p += (CustomClass)null; + //l += (CustomClass)null; + customClassField += (CustomClass)null; + CustomClassProp += (CustomClass)null; + c.CustomClassField += (CustomClass)null; + c.CustomClassProp += (CustomClass)null; + s.CustomClassField += (CustomClass)null; + s.CustomClassProp += (CustomClass)null; + customClassField.CustomClassField += (CustomClass)null; + customClassField.CustomClassProp += (CustomClass)null; + otherCustomStructField.CustomClassField += (CustomClass)null; + otherCustomStructField.CustomClassProp += (CustomClass)null; + CustomClassProp.CustomClassField += (CustomClass)null; + CustomClassProp.CustomClassProp += (CustomClass)null; + GetClass().CustomClassField += (CustomClass)null; + GetClass().CustomClassProp += (CustomClass)null; +#if CS70 + GetStruct().CustomClassField += (CustomClass)null; + GetStruct().CustomClassProp += (CustomClass)null; + GetRefCustomClass() += (CustomClass)null; +#endif + } + + public static void CustomClassSubtractTest(CustomClass p, CustomClass c, CustomStruct2 s) + { + //CustomClass l = null; + //p -= (CustomClass)null; + //l -= (CustomClass)null; + customClassField -= (CustomClass)null; + CustomClassProp -= (CustomClass)null; + c.CustomClassField -= (CustomClass)null; + c.CustomClassProp -= (CustomClass)null; + s.CustomClassField -= (CustomClass)null; + s.CustomClassProp -= (CustomClass)null; + customClassField.CustomClassField -= (CustomClass)null; + customClassField.CustomClassProp -= (CustomClass)null; + otherCustomStructField.CustomClassField -= (CustomClass)null; + otherCustomStructField.CustomClassProp -= (CustomClass)null; + CustomClassProp.CustomClassField -= (CustomClass)null; + CustomClassProp.CustomClassProp -= (CustomClass)null; + GetClass().CustomClassField -= (CustomClass)null; + GetClass().CustomClassProp -= (CustomClass)null; +#if CS70 + GetStruct().CustomClassField -= (CustomClass)null; + GetStruct().CustomClassProp -= (CustomClass)null; + GetRefCustomClass() -= (CustomClass)null; +#endif + } + + public static void CustomClassMultiplyTest(CustomClass p, CustomClass c, CustomStruct2 s) + { + //CustomClass l = null; + //p *= (CustomClass)null; + //l *= (CustomClass)null; + customClassField *= (CustomClass)null; + CustomClassProp *= (CustomClass)null; + c.CustomClassField *= (CustomClass)null; + c.CustomClassProp *= (CustomClass)null; + s.CustomClassField *= (CustomClass)null; + s.CustomClassProp *= (CustomClass)null; + customClassField.CustomClassField *= (CustomClass)null; + customClassField.CustomClassProp *= (CustomClass)null; + otherCustomStructField.CustomClassField *= (CustomClass)null; + otherCustomStructField.CustomClassProp *= (CustomClass)null; + CustomClassProp.CustomClassField *= (CustomClass)null; + CustomClassProp.CustomClassProp *= (CustomClass)null; + GetClass().CustomClassField *= (CustomClass)null; + GetClass().CustomClassProp *= (CustomClass)null; +#if CS70 + GetStruct().CustomClassField *= (CustomClass)null; + GetStruct().CustomClassProp *= (CustomClass)null; + GetRefCustomClass() *= (CustomClass)null; +#endif + } + + public static void CustomClassDivideTest(CustomClass p, CustomClass c, CustomStruct2 s) + { + //CustomClass l = null; + //p /= (CustomClass)null; + //l /= (CustomClass)null; + customClassField /= (CustomClass)null; + CustomClassProp /= (CustomClass)null; + c.CustomClassField /= (CustomClass)null; + c.CustomClassProp /= (CustomClass)null; + s.CustomClassField /= (CustomClass)null; + s.CustomClassProp /= (CustomClass)null; + customClassField.CustomClassField /= (CustomClass)null; + customClassField.CustomClassProp /= (CustomClass)null; + otherCustomStructField.CustomClassField /= (CustomClass)null; + otherCustomStructField.CustomClassProp /= (CustomClass)null; + CustomClassProp.CustomClassField /= (CustomClass)null; + CustomClassProp.CustomClassProp /= (CustomClass)null; + GetClass().CustomClassField /= (CustomClass)null; + GetClass().CustomClassProp /= (CustomClass)null; +#if CS70 + GetStruct().CustomClassField /= (CustomClass)null; + GetStruct().CustomClassProp /= (CustomClass)null; + GetRefCustomClass() /= (CustomClass)null; +#endif + } + + public static void CustomClassModulusTest(CustomClass p, CustomClass c, CustomStruct2 s) + { + //CustomClass l = null; + //p %= (CustomClass)null; + //l %= (CustomClass)null; + customClassField %= (CustomClass)null; + CustomClassProp %= (CustomClass)null; + c.CustomClassField %= (CustomClass)null; + c.CustomClassProp %= (CustomClass)null; + s.CustomClassField %= (CustomClass)null; + s.CustomClassProp %= (CustomClass)null; + customClassField.CustomClassField %= (CustomClass)null; + customClassField.CustomClassProp %= (CustomClass)null; + otherCustomStructField.CustomClassField %= (CustomClass)null; + otherCustomStructField.CustomClassProp %= (CustomClass)null; + CustomClassProp.CustomClassField %= (CustomClass)null; + CustomClassProp.CustomClassProp %= (CustomClass)null; + GetClass().CustomClassField %= (CustomClass)null; + GetClass().CustomClassProp %= (CustomClass)null; +#if CS70 + GetStruct().CustomClassField %= (CustomClass)null; + GetStruct().CustomClassProp %= (CustomClass)null; + GetRefCustomClass() %= (CustomClass)null; +#endif + } + + public static void CustomClassLeftShiftTest(CustomClass p, CustomClass c, CustomStruct2 s) + { + //CustomClass l = null; + //p <<= 5; + //l <<= 5; + customClassField <<= 5; + CustomClassProp <<= 5; + c.CustomClassField <<= 5; + c.CustomClassProp <<= 5; + s.CustomClassField <<= 5; + s.CustomClassProp <<= 5; + customClassField.CustomClassField <<= 5; + customClassField.CustomClassProp <<= 5; + otherCustomStructField.CustomClassField <<= 5; + otherCustomStructField.CustomClassProp <<= 5; + CustomClassProp.CustomClassField <<= 5; + CustomClassProp.CustomClassProp <<= 5; + GetClass().CustomClassField <<= 5; + GetClass().CustomClassProp <<= 5; +#if CS70 + GetStruct().CustomClassField <<= 5; + GetStruct().CustomClassProp <<= 5; + GetRefCustomClass() <<= 5; +#endif + } + + public static void CustomClassRightShiftTest(CustomClass p, CustomClass c, CustomStruct2 s) + { + //CustomClass l = null; + //p >>= 5; + //l >>= 5; + customClassField >>= 5; + CustomClassProp >>= 5; + c.CustomClassField >>= 5; + c.CustomClassProp >>= 5; + s.CustomClassField >>= 5; + s.CustomClassProp >>= 5; + customClassField.CustomClassField >>= 5; + customClassField.CustomClassProp >>= 5; + otherCustomStructField.CustomClassField >>= 5; + otherCustomStructField.CustomClassProp >>= 5; + CustomClassProp.CustomClassField >>= 5; + CustomClassProp.CustomClassProp >>= 5; + GetClass().CustomClassField >>= 5; + GetClass().CustomClassProp >>= 5; +#if CS70 + GetStruct().CustomClassField >>= 5; + GetStruct().CustomClassProp >>= 5; + GetRefCustomClass() >>= 5; +#endif + } + + public static void CustomClassBitAndTest(CustomClass p, CustomClass c, CustomStruct2 s) + { + //CustomClass l = null; + //p &= (CustomClass)null; + //l &= (CustomClass)null; + customClassField &= (CustomClass)null; + CustomClassProp &= (CustomClass)null; + c.CustomClassField &= (CustomClass)null; + c.CustomClassProp &= (CustomClass)null; + s.CustomClassField &= (CustomClass)null; + s.CustomClassProp &= (CustomClass)null; + customClassField.CustomClassField &= (CustomClass)null; + customClassField.CustomClassProp &= (CustomClass)null; + otherCustomStructField.CustomClassField &= (CustomClass)null; + otherCustomStructField.CustomClassProp &= (CustomClass)null; + CustomClassProp.CustomClassField &= (CustomClass)null; + CustomClassProp.CustomClassProp &= (CustomClass)null; + GetClass().CustomClassField &= (CustomClass)null; + GetClass().CustomClassProp &= (CustomClass)null; +#if CS70 + GetStruct().CustomClassField &= (CustomClass)null; + GetStruct().CustomClassProp &= (CustomClass)null; + GetRefCustomClass() &= (CustomClass)null; +#endif + } + + public static void CustomClassBitOrTest(CustomClass p, CustomClass c, CustomStruct2 s) + { + //CustomClass l = null; + //p |= (CustomClass)null; + //l |= (CustomClass)null; + customClassField |= (CustomClass)null; + CustomClassProp |= (CustomClass)null; + c.CustomClassField |= (CustomClass)null; + c.CustomClassProp |= (CustomClass)null; + s.CustomClassField |= (CustomClass)null; + s.CustomClassProp |= (CustomClass)null; + customClassField.CustomClassField |= (CustomClass)null; + customClassField.CustomClassProp |= (CustomClass)null; + otherCustomStructField.CustomClassField |= (CustomClass)null; + otherCustomStructField.CustomClassProp |= (CustomClass)null; + CustomClassProp.CustomClassField |= (CustomClass)null; + CustomClassProp.CustomClassProp |= (CustomClass)null; + GetClass().CustomClassField |= (CustomClass)null; + GetClass().CustomClassProp |= (CustomClass)null; +#if CS70 + GetStruct().CustomClassField |= (CustomClass)null; + GetStruct().CustomClassProp |= (CustomClass)null; + GetRefCustomClass() |= (CustomClass)null; +#endif + } + + public static void CustomClassBitXorTest(CustomClass p, CustomClass c, CustomStruct2 s) + { + //CustomClass l = null; + //p ^= (CustomClass)null; + //l ^= (CustomClass)null; + customClassField ^= (CustomClass)null; + CustomClassProp ^= (CustomClass)null; + c.CustomClassField ^= (CustomClass)null; + c.CustomClassProp ^= (CustomClass)null; + s.CustomClassField ^= (CustomClass)null; + s.CustomClassProp ^= (CustomClass)null; + customClassField.CustomClassField ^= (CustomClass)null; + customClassField.CustomClassProp ^= (CustomClass)null; + otherCustomStructField.CustomClassField ^= (CustomClass)null; + otherCustomStructField.CustomClassProp ^= (CustomClass)null; + CustomClassProp.CustomClassField ^= (CustomClass)null; + CustomClassProp.CustomClassProp ^= (CustomClass)null; + GetClass().CustomClassField ^= (CustomClass)null; + GetClass().CustomClassProp ^= (CustomClass)null; +#if CS70 + GetStruct().CustomClassField ^= (CustomClass)null; + GetStruct().CustomClassProp ^= (CustomClass)null; + GetRefCustomClass() ^= (CustomClass)null; +#endif + } + + public static void CustomClassPostIncTest(CustomClass p, CustomClass c, CustomStruct2 s) + { + //CustomClass l = null; + //X(p++); + //X(l++); + X(customClassField++); + X(CustomClassProp++); + X(c.CustomClassField++); + X(c.CustomClassProp++); + X(s.CustomClassField++); + X(s.CustomClassProp++); + X(customClassField.CustomClassField++); + X(customClassField.CustomClassProp++); + X(otherCustomStructField.CustomClassField++); + X(otherCustomStructField.CustomClassProp++); + X(CustomClassProp.CustomClassField++); + X(CustomClassProp.CustomClassProp++); + X(GetClass().CustomClassField++); + X(GetClass().CustomClassProp++); +#if CS70 + X(GetStruct().CustomClassField++); + X(GetStruct().CustomClassProp++); + X(GetRefCustomClass()++); +#endif + } + + public static void CustomClassPreIncTest(CustomClass p, CustomClass c, CustomStruct2 s) + { + //CustomClass l = null; + //X(++p); + //X(++l); + X(++customClassField); + X(++CustomClassProp); + X(++c.CustomClassField); + X(++c.CustomClassProp); + X(++s.CustomClassField); + X(++s.CustomClassProp); + X(++customClassField.CustomClassField); + X(++customClassField.CustomClassProp); + X(++otherCustomStructField.CustomClassField); + X(++otherCustomStructField.CustomClassProp); + X(++CustomClassProp.CustomClassField); + X(++CustomClassProp.CustomClassProp); + X(++GetClass().CustomClassField); + X(++GetClass().CustomClassProp); +#if CS70 + X(++GetStruct().CustomClassField); + X(++GetStruct().CustomClassProp); + X(++GetRefCustomClass()); +#endif + } + public static void CustomClassPostDecTest(CustomClass p, CustomClass c, CustomStruct2 s) + { + //CustomClass l = null; + //X(p--); + //X(l--); + X(customClassField--); + X(CustomClassProp--); + X(c.CustomClassField--); + X(c.CustomClassProp--); + X(s.CustomClassField--); + X(s.CustomClassProp--); + X(customClassField.CustomClassField--); + X(customClassField.CustomClassProp--); + X(otherCustomStructField.CustomClassField--); + X(otherCustomStructField.CustomClassProp--); + X(CustomClassProp.CustomClassField--); + X(CustomClassProp.CustomClassProp--); + X(GetClass().CustomClassField--); + X(GetClass().CustomClassProp--); +#if CS70 + X(GetStruct().CustomClassField--); + X(GetStruct().CustomClassProp--); + X(GetRefCustomClass()--); +#endif + } + + public static void CustomClassPreDecTest(CustomClass p, CustomClass c, CustomStruct2 s) + { + //CustomClass l = null; + //X(--p); + //X(--l); + X(--customClassField); + X(--CustomClassProp); + X(--c.CustomClassField); + X(--c.CustomClassProp); + X(--s.CustomClassField); + X(--s.CustomClassProp); + X(--customClassField.CustomClassField); + X(--customClassField.CustomClassProp); + X(--otherCustomStructField.CustomClassField); + X(--otherCustomStructField.CustomClassProp); + X(--CustomClassProp.CustomClassField); + X(--CustomClassProp.CustomClassProp); + X(--GetClass().CustomClassField); + X(--GetClass().CustomClassProp); +#if CS70 + X(--GetStruct().CustomClassField); + X(--GetStruct().CustomClassProp); + X(--GetRefCustomClass()); +#endif + } + public static void CustomStructAddTest(CustomStruct p, CustomClass c, CustomStruct2 s) + { + //CustomStruct l = default(CustomStruct); + //p += default(CustomStruct); + //l += default(CustomStruct); + customStructField += default(CustomStruct); + CustomStructProp += default(CustomStruct); + c.CustomStructField += default(CustomStruct); + c.CustomStructProp += default(CustomStruct); + s.CustomStructField += default(CustomStruct); + s.CustomStructProp += default(CustomStruct); + customClassField.CustomStructField += default(CustomStruct); + customClassField.CustomStructProp += default(CustomStruct); + otherCustomStructField.CustomStructField += default(CustomStruct); + otherCustomStructField.CustomStructProp += default(CustomStruct); + CustomClassProp.CustomStructField += default(CustomStruct); + CustomClassProp.CustomStructProp += default(CustomStruct); + GetClass().CustomStructField += default(CustomStruct); + GetClass().CustomStructProp += default(CustomStruct); +#if CS70 + GetStruct().CustomStructField += default(CustomStruct); + GetStruct().CustomStructProp += default(CustomStruct); + GetRefCustomStruct() += default(CustomStruct); +#endif + } + + public static void CustomStructSubtractTest(CustomStruct p, CustomClass c, CustomStruct2 s) + { + //CustomStruct l = default(CustomStruct); + //p -= default(CustomStruct); + //l -= default(CustomStruct); + customStructField -= default(CustomStruct); + CustomStructProp -= default(CustomStruct); + c.CustomStructField -= default(CustomStruct); + c.CustomStructProp -= default(CustomStruct); + s.CustomStructField -= default(CustomStruct); + s.CustomStructProp -= default(CustomStruct); + customClassField.CustomStructField -= default(CustomStruct); + customClassField.CustomStructProp -= default(CustomStruct); + otherCustomStructField.CustomStructField -= default(CustomStruct); + otherCustomStructField.CustomStructProp -= default(CustomStruct); + CustomClassProp.CustomStructField -= default(CustomStruct); + CustomClassProp.CustomStructProp -= default(CustomStruct); + GetClass().CustomStructField -= default(CustomStruct); + GetClass().CustomStructProp -= default(CustomStruct); +#if CS70 + GetStruct().CustomStructField -= default(CustomStruct); + GetStruct().CustomStructProp -= default(CustomStruct); + GetRefCustomStruct() -= default(CustomStruct); +#endif + } + + public static void CustomStructMultiplyTest(CustomStruct p, CustomClass c, CustomStruct2 s) + { + //CustomStruct l = default(CustomStruct); + //p *= default(CustomStruct); + //l *= default(CustomStruct); + customStructField *= default(CustomStruct); + CustomStructProp *= default(CustomStruct); + c.CustomStructField *= default(CustomStruct); + c.CustomStructProp *= default(CustomStruct); + s.CustomStructField *= default(CustomStruct); + s.CustomStructProp *= default(CustomStruct); + customClassField.CustomStructField *= default(CustomStruct); + customClassField.CustomStructProp *= default(CustomStruct); + otherCustomStructField.CustomStructField *= default(CustomStruct); + otherCustomStructField.CustomStructProp *= default(CustomStruct); + CustomClassProp.CustomStructField *= default(CustomStruct); + CustomClassProp.CustomStructProp *= default(CustomStruct); + GetClass().CustomStructField *= default(CustomStruct); + GetClass().CustomStructProp *= default(CustomStruct); +#if CS70 + GetStruct().CustomStructField *= default(CustomStruct); + GetStruct().CustomStructProp *= default(CustomStruct); + GetRefCustomStruct() *= default(CustomStruct); +#endif + } + + public static void CustomStructDivideTest(CustomStruct p, CustomClass c, CustomStruct2 s) + { + //CustomStruct l = default(CustomStruct); + //p /= default(CustomStruct); + //l /= default(CustomStruct); + customStructField /= default(CustomStruct); + CustomStructProp /= default(CustomStruct); + c.CustomStructField /= default(CustomStruct); + c.CustomStructProp /= default(CustomStruct); + s.CustomStructField /= default(CustomStruct); + s.CustomStructProp /= default(CustomStruct); + customClassField.CustomStructField /= default(CustomStruct); + customClassField.CustomStructProp /= default(CustomStruct); + otherCustomStructField.CustomStructField /= default(CustomStruct); + otherCustomStructField.CustomStructProp /= default(CustomStruct); + CustomClassProp.CustomStructField /= default(CustomStruct); + CustomClassProp.CustomStructProp /= default(CustomStruct); + GetClass().CustomStructField /= default(CustomStruct); + GetClass().CustomStructProp /= default(CustomStruct); +#if CS70 + GetStruct().CustomStructField /= default(CustomStruct); + GetStruct().CustomStructProp /= default(CustomStruct); + GetRefCustomStruct() /= default(CustomStruct); +#endif + } + + public static void CustomStructModulusTest(CustomStruct p, CustomClass c, CustomStruct2 s) + { + //CustomStruct l = default(CustomStruct); + //p %= default(CustomStruct); + //l %= default(CustomStruct); + customStructField %= default(CustomStruct); + CustomStructProp %= default(CustomStruct); + c.CustomStructField %= default(CustomStruct); + c.CustomStructProp %= default(CustomStruct); + s.CustomStructField %= default(CustomStruct); + s.CustomStructProp %= default(CustomStruct); + customClassField.CustomStructField %= default(CustomStruct); + customClassField.CustomStructProp %= default(CustomStruct); + otherCustomStructField.CustomStructField %= default(CustomStruct); + otherCustomStructField.CustomStructProp %= default(CustomStruct); + CustomClassProp.CustomStructField %= default(CustomStruct); + CustomClassProp.CustomStructProp %= default(CustomStruct); + GetClass().CustomStructField %= default(CustomStruct); + GetClass().CustomStructProp %= default(CustomStruct); +#if CS70 + GetStruct().CustomStructField %= default(CustomStruct); + GetStruct().CustomStructProp %= default(CustomStruct); + GetRefCustomStruct() %= default(CustomStruct); +#endif + } + + public static void CustomStructLeftShiftTest(CustomStruct p, CustomClass c, CustomStruct2 s) + { + //CustomStruct l = default(CustomStruct); + //p <<= 5; + //l <<= 5; + customStructField <<= 5; + CustomStructProp <<= 5; + c.CustomStructField <<= 5; + c.CustomStructProp <<= 5; + s.CustomStructField <<= 5; + s.CustomStructProp <<= 5; + customClassField.CustomStructField <<= 5; + customClassField.CustomStructProp <<= 5; + otherCustomStructField.CustomStructField <<= 5; + otherCustomStructField.CustomStructProp <<= 5; + CustomClassProp.CustomStructField <<= 5; + CustomClassProp.CustomStructProp <<= 5; + GetClass().CustomStructField <<= 5; + GetClass().CustomStructProp <<= 5; +#if CS70 + GetStruct().CustomStructField <<= 5; + GetStruct().CustomStructProp <<= 5; + GetRefCustomStruct() <<= 5; +#endif + } + + public static void CustomStructRightShiftTest(CustomStruct p, CustomClass c, CustomStruct2 s) + { + //CustomStruct l = default(CustomStruct); + //p >>= 5; + //l >>= 5; + customStructField >>= 5; + CustomStructProp >>= 5; + c.CustomStructField >>= 5; + c.CustomStructProp >>= 5; + s.CustomStructField >>= 5; + s.CustomStructProp >>= 5; + customClassField.CustomStructField >>= 5; + customClassField.CustomStructProp >>= 5; + otherCustomStructField.CustomStructField >>= 5; + otherCustomStructField.CustomStructProp >>= 5; + CustomClassProp.CustomStructField >>= 5; + CustomClassProp.CustomStructProp >>= 5; + GetClass().CustomStructField >>= 5; + GetClass().CustomStructProp >>= 5; +#if CS70 + GetStruct().CustomStructField >>= 5; + GetStruct().CustomStructProp >>= 5; + GetRefCustomStruct() >>= 5; +#endif + } + + public static void CustomStructBitAndTest(CustomStruct p, CustomClass c, CustomStruct2 s) + { + //CustomStruct l = default(CustomStruct); + //p &= default(CustomStruct); + //l &= default(CustomStruct); + customStructField &= default(CustomStruct); + CustomStructProp &= default(CustomStruct); + c.CustomStructField &= default(CustomStruct); + c.CustomStructProp &= default(CustomStruct); + s.CustomStructField &= default(CustomStruct); + s.CustomStructProp &= default(CustomStruct); + customClassField.CustomStructField &= default(CustomStruct); + customClassField.CustomStructProp &= default(CustomStruct); + otherCustomStructField.CustomStructField &= default(CustomStruct); + otherCustomStructField.CustomStructProp &= default(CustomStruct); + CustomClassProp.CustomStructField &= default(CustomStruct); + CustomClassProp.CustomStructProp &= default(CustomStruct); + GetClass().CustomStructField &= default(CustomStruct); + GetClass().CustomStructProp &= default(CustomStruct); +#if CS70 + GetStruct().CustomStructField &= default(CustomStruct); + GetStruct().CustomStructProp &= default(CustomStruct); + GetRefCustomStruct() &= default(CustomStruct); +#endif + } + + public static void CustomStructBitOrTest(CustomStruct p, CustomClass c, CustomStruct2 s) + { + //CustomStruct l = default(CustomStruct); + //p |= default(CustomStruct); + //l |= default(CustomStruct); + customStructField |= default(CustomStruct); + CustomStructProp |= default(CustomStruct); + c.CustomStructField |= default(CustomStruct); + c.CustomStructProp |= default(CustomStruct); + s.CustomStructField |= default(CustomStruct); + s.CustomStructProp |= default(CustomStruct); + customClassField.CustomStructField |= default(CustomStruct); + customClassField.CustomStructProp |= default(CustomStruct); + otherCustomStructField.CustomStructField |= default(CustomStruct); + otherCustomStructField.CustomStructProp |= default(CustomStruct); + CustomClassProp.CustomStructField |= default(CustomStruct); + CustomClassProp.CustomStructProp |= default(CustomStruct); + GetClass().CustomStructField |= default(CustomStruct); + GetClass().CustomStructProp |= default(CustomStruct); +#if CS70 + GetStruct().CustomStructField |= default(CustomStruct); + GetStruct().CustomStructProp |= default(CustomStruct); + GetRefCustomStruct() |= default(CustomStruct); +#endif + } + + public static void CustomStructBitXorTest(CustomStruct p, CustomClass c, CustomStruct2 s) + { + //CustomStruct l = default(CustomStruct); + //p ^= default(CustomStruct); + //l ^= default(CustomStruct); + customStructField ^= default(CustomStruct); + CustomStructProp ^= default(CustomStruct); + c.CustomStructField ^= default(CustomStruct); + c.CustomStructProp ^= default(CustomStruct); + s.CustomStructField ^= default(CustomStruct); + s.CustomStructProp ^= default(CustomStruct); + customClassField.CustomStructField ^= default(CustomStruct); + customClassField.CustomStructProp ^= default(CustomStruct); + otherCustomStructField.CustomStructField ^= default(CustomStruct); + otherCustomStructField.CustomStructProp ^= default(CustomStruct); + CustomClassProp.CustomStructField ^= default(CustomStruct); + CustomClassProp.CustomStructProp ^= default(CustomStruct); + GetClass().CustomStructField ^= default(CustomStruct); + GetClass().CustomStructProp ^= default(CustomStruct); +#if CS70 + GetStruct().CustomStructField ^= default(CustomStruct); + GetStruct().CustomStructProp ^= default(CustomStruct); + GetRefCustomStruct() ^= default(CustomStruct); +#endif + } + + public static void CustomStructPostIncTest(CustomStruct p, CustomClass c, CustomStruct2 s) + { + //CustomStruct l = default(CustomStruct); + //X(p++); + //X(l++); + X(customStructField++); + X(CustomStructProp++); + X(c.CustomStructField++); + X(c.CustomStructProp++); + X(s.CustomStructField++); + X(s.CustomStructProp++); + X(customClassField.CustomStructField++); + X(customClassField.CustomStructProp++); + X(otherCustomStructField.CustomStructField++); + X(otherCustomStructField.CustomStructProp++); + X(CustomClassProp.CustomStructField++); + X(CustomClassProp.CustomStructProp++); + X(GetClass().CustomStructField++); + X(GetClass().CustomStructProp++); +#if CS70 + X(GetStruct().CustomStructField++); + X(GetStruct().CustomStructProp++); + X(GetRefCustomStruct()++); +#endif + } + + public static void CustomStructPreIncTest(CustomStruct p, CustomClass c, CustomStruct2 s) + { + //CustomStruct l = default(CustomStruct); + //X(++p); + //X(++l); + X(++customStructField); + X(++CustomStructProp); + X(++c.CustomStructField); + X(++c.CustomStructProp); + X(++s.CustomStructField); + X(++s.CustomStructProp); + X(++customClassField.CustomStructField); + X(++customClassField.CustomStructProp); + X(++otherCustomStructField.CustomStructField); + X(++otherCustomStructField.CustomStructProp); + X(++CustomClassProp.CustomStructField); + X(++CustomClassProp.CustomStructProp); + X(++GetClass().CustomStructField); + X(++GetClass().CustomStructProp); +#if CS70 + X(++GetStruct().CustomStructField); + X(++GetStruct().CustomStructProp); + X(++GetRefCustomStruct()); +#endif + } + public static void CustomStructPostDecTest(CustomStruct p, CustomClass c, CustomStruct2 s) + { + //CustomStruct l = default(CustomStruct); + //X(p--); + //X(l--); + X(customStructField--); + X(CustomStructProp--); + X(c.CustomStructField--); + X(c.CustomStructProp--); + X(s.CustomStructField--); + X(s.CustomStructProp--); + X(customClassField.CustomStructField--); + X(customClassField.CustomStructProp--); + X(otherCustomStructField.CustomStructField--); + X(otherCustomStructField.CustomStructProp--); + X(CustomClassProp.CustomStructField--); + X(CustomClassProp.CustomStructProp--); + X(GetClass().CustomStructField--); + X(GetClass().CustomStructProp--); +#if CS70 + X(GetStruct().CustomStructField--); + X(GetStruct().CustomStructProp--); + X(GetRefCustomStruct()--); +#endif + } + + public static void CustomStructPreDecTest(CustomStruct p, CustomClass c, CustomStruct2 s) + { + //CustomStruct l = default(CustomStruct); + //X(--p); + //X(--l); + X(--customStructField); + X(--CustomStructProp); + X(--c.CustomStructField); + X(--c.CustomStructProp); + X(--s.CustomStructField); + X(--s.CustomStructProp); + X(--customClassField.CustomStructField); + X(--customClassField.CustomStructProp); + X(--otherCustomStructField.CustomStructField); + X(--otherCustomStructField.CustomStructProp); + X(--CustomClassProp.CustomStructField); + X(--CustomClassProp.CustomStructProp); + X(--GetClass().CustomStructField); + X(--GetClass().CustomStructProp); +#if CS70 + X(--GetStruct().CustomStructField); + X(--GetStruct().CustomStructProp); + X(--GetRefCustomStruct()); +#endif + } + #endregion + private static Item GetItem(object obj) { return null; diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.il b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.il index 6e827fea2..f7c07eeb7 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.il +++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.il @@ -163,8 +163,8 @@ .property instance int32 Property() { - .get instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) + .get instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() } // end of property MutableClass::Property .property instance uint8 ByteProperty() { @@ -195,1711 +195,21164 @@ } // end of class Item - .field private int32 test1 - .field private int32[] array1 - .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer field1 - .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum enumField - .field private class [mscorlib]System.Collections.Generic.Dictionary`2 ushortDict - .field private uint16 ushortField - .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum shortEnumField - .field public static int32 StaticField - .field public static int16 StaticShortField - .field private static int32 'k__BackingField' - .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - .field private static valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum 'k__BackingField' - .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - .method public hidebysig specialname static - int32 get_StaticProperty() cil managed + .class auto ansi nested public beforefieldinit CustomClass + extends [mscorlib]System.Object { + .field public uint8 ByteField + .field public int8 SbyteField + .field public int16 ShortField + .field public uint16 UshortField + .field public int32 IntField + .field public uint32 UintField + .field public int64 LongField + .field public uint64 UlongField + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass CustomClassField + .field public valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct CustomStructField + .field private uint8 'k__BackingField' .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - // Code size 10 (0xa) - .maxstack 1 - .locals init (int32 V_0) - IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' - IL_0005: stloc.0 - IL_0006: br.s IL_0008 - - IL_0008: ldloc.0 - IL_0009: ret - } // end of method CompoundAssignmentTest::get_StaticProperty - - .method public hidebysig specialname static - void set_StaticProperty(int32 'value') cil managed - { + .field private int8 'k__BackingField' .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' - IL_0006: ret - } // end of method CompoundAssignmentTest::set_StaticProperty - - .method public hidebysig specialname static - valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum - get_StaticShortProperty() cil managed - { + .field private int16 'k__BackingField' .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - // Code size 10 (0xa) - .maxstack 1 - .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum V_0) - IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' - IL_0005: stloc.0 - IL_0006: br.s IL_0008 - - IL_0008: ldloc.0 - IL_0009: ret - } // end of method CompoundAssignmentTest::get_StaticShortProperty - - .method public hidebysig specialname static - void set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum 'value') cil managed - { + .field private uint16 'k__BackingField' .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' - IL_0006: ret - } // end of method CompoundAssignmentTest::set_StaticShortProperty + .field private int32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .method public hidebysig specialname + instance uint8 get_ByteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (uint8 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 - .method private hidebysig instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass - M() cil managed - { - // Code size 11 (0xb) - .maxstack 1 - .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass V_0) - IL_0000: nop - IL_0001: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::.ctor() - IL_0006: stloc.0 - IL_0007: br.s IL_0009 + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomClass::get_ByteProp - IL_0009: ldloc.0 - IL_000a: ret - } // end of method CompoundAssignmentTest::M + .method public hidebysig specialname + instance void set_ByteProp(uint8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_ByteProp - .method private hidebysig instance int32[0...,0...] - Array() cil managed - { - // Code size 7 (0x7) - .maxstack 1 - .locals init (int32[0...,0...] V_0) - IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: br.s IL_0005 + .method public hidebysig specialname + instance int8 get_SbyteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (int8 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 - IL_0005: ldloc.0 - IL_0006: ret - } // end of method CompoundAssignmentTest::Array + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomClass::get_SbyteProp - .method private hidebysig instance int32* - GetPointer() cil managed - { - // Code size 8 (0x8) - .maxstack 1 - .locals init (int32* V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: conv.u - IL_0003: stloc.0 - IL_0004: br.s IL_0006 + .method public hidebysig specialname + instance void set_SbyteProp(int8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_SbyteProp - IL_0006: ldloc.0 - IL_0007: ret - } // end of method CompoundAssignmentTest::GetPointer + .method public hidebysig specialname + instance int16 get_ShortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (int16 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 - .method public hidebysig instance int32 - GetIndex() cil managed - { - // Code size 19 (0x13) - .maxstack 3 - .locals init (int32 V_0) - IL_0000: nop - IL_0001: newobj instance void [mscorlib]System.Random::.ctor() - IL_0006: ldc.i4.0 - IL_0007: ldc.i4.s 100 - IL_0009: callvirt instance int32 [mscorlib]System.Random::Next(int32, - int32) - IL_000e: stloc.0 - IL_000f: br.s IL_0011 + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomClass::get_ShortProp - IL_0011: ldloc.0 - IL_0012: ret - } // end of method CompoundAssignmentTest::GetIndex + .method public hidebysig specialname + instance void set_ShortProp(int16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_ShortProp - .method public hidebysig instance int32[] - GetArray() cil managed - { - // Code size 7 (0x7) - .maxstack 8 - IL_0000: nop - IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() - IL_0006: throw - } // end of method CompoundAssignmentTest::GetArray + .method public hidebysig specialname + instance uint16 get_UshortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (uint16 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 - .method public hidebysig instance int32 - GetValue(int32 'value') cil managed - { - // Code size 7 (0x7) - .maxstack 1 - .locals init (int32 V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: stloc.0 - IL_0003: br.s IL_0005 + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomClass::get_UshortProp - IL_0005: ldloc.0 - IL_0006: ret - } // end of method CompoundAssignmentTest::GetValue + .method public hidebysig specialname + instance void set_UshortProp(uint16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_UshortProp - .method public hidebysig instance bool - IsUpperCaseA(char a) cil managed - { - // Code size 11 (0xb) - .maxstack 2 - .locals init (bool V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.s 65 - IL_0004: ceq - IL_0006: stloc.0 - IL_0007: br.s IL_0009 + .method public hidebysig specialname + instance int32 get_IntProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (int32 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 - IL_0009: ldloc.0 - IL_000a: ret - } // end of method CompoundAssignmentTest::IsUpperCaseA + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomClass::get_IntProp - .method public hidebysig instance void - Int32_Local_Add(int32 i) cil managed - { - // Code size 48 (0x30) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.1 - IL_0003: add + .method public hidebysig specialname + instance void set_IntProp(int32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_IntProp + + .method public hidebysig specialname + instance uint32 get_UintProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (uint32 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomClass::get_UintProp + + .method public hidebysig specialname + instance void set_UintProp(uint32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_UintProp + + .method public hidebysig specialname + instance int64 get_LongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (int64 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomClass::get_LongProp + + .method public hidebysig specialname + instance void set_LongProp(int64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_LongProp + + .method public hidebysig specialname + instance uint64 get_UlongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (uint64 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomClass::get_UlongProp + + .method public hidebysig specialname + instance void set_UlongProp(uint64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_UlongProp + + .method public hidebysig specialname + instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + get_CustomClassProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_0) + IL_0000: ldarg.0 + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomClass::get_CustomClassProp + + .method public hidebysig specialname + instance void set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_CustomClassProp + + .method public hidebysig specialname + instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + get_CustomStructProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) + IL_0000: ldarg.0 + IL_0001: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomClass::get_CustomStructProp + + .method public hidebysig specialname + instance void set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_CustomStructProp + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomClass::op_Addition + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomClass::op_Subtraction + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomClass::op_Multiply + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomClass::op_Division + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomClass::op_Modulus + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + int32 rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomClass::op_LeftShift + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + int32 rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomClass::op_RightShift + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomClass::op_BitwiseAnd + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomClass::op_BitwiseOr + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomClass::op_ExclusiveOr + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomClass::op_Increment + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomClass::op_Decrement + + .method public hidebysig specialname rtspecialname + instance void .ctor() cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void [mscorlib]System.Object::.ctor() + IL_0006: ret + } // end of method CustomClass::.ctor + + .property instance uint8 ByteProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + .get instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + } // end of property CustomClass::ByteProp + .property instance int8 SbyteProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + .get instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + } // end of property CustomClass::SbyteProp + .property instance int16 ShortProp() + { + .get instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + } // end of property CustomClass::ShortProp + .property instance uint16 UshortProp() + { + .get instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + } // end of property CustomClass::UshortProp + .property instance int32 IntProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + .get instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + } // end of property CustomClass::IntProp + .property instance uint32 UintProp() + { + .get instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + } // end of property CustomClass::UintProp + .property instance int64 LongProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + .get instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + } // end of property CustomClass::LongProp + .property instance uint64 UlongProp() + { + .get instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + } // end of property CustomClass::UlongProp + .property instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + CustomClassProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + .get instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + } // end of property CustomClass::CustomClassProp + .property instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + CustomStructProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + .get instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + } // end of property CustomClass::CustomStructProp + } // end of class CustomClass + + .class sequential ansi sealed nested public beforefieldinit CustomStruct + extends [mscorlib]System.ValueType + { + .field public uint8 ByteField + .field public int8 SbyteField + .field public int16 ShortField + .field public uint16 UshortField + .field public int32 IntField + .field public uint32 UintField + .field public int64 LongField + .field public uint64 UlongField + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass CustomClassField + .field private class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .method public hidebysig specialname + instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + get_CustomClassProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_0) + IL_0000: ldarg.0 + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomStruct::get_CustomClassProp + + .method public hidebysig specialname + instance void set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_CustomClassProp + + .method public hidebysig specialname + instance uint8 get_ByteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (uint8 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomStruct::get_ByteProp + + .method public hidebysig specialname + instance void set_ByteProp(uint8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_ByteProp + + .method public hidebysig specialname + instance int8 get_SbyteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (int8 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomStruct::get_SbyteProp + + .method public hidebysig specialname + instance void set_SbyteProp(int8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_SbyteProp + + .method public hidebysig specialname + instance int16 get_ShortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (int16 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomStruct::get_ShortProp + + .method public hidebysig specialname + instance void set_ShortProp(int16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_ShortProp + + .method public hidebysig specialname + instance uint16 get_UshortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (uint16 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomStruct::get_UshortProp + + .method public hidebysig specialname + instance void set_UshortProp(uint16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_UshortProp + + .method public hidebysig specialname + instance int32 get_IntProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (int32 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomStruct::get_IntProp + + .method public hidebysig specialname + instance void set_IntProp(int32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_IntProp + + .method public hidebysig specialname + instance uint32 get_UintProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (uint32 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomStruct::get_UintProp + + .method public hidebysig specialname + instance void set_UintProp(uint32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_UintProp + + .method public hidebysig specialname + instance int64 get_LongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (int64 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomStruct::get_LongProp + + .method public hidebysig specialname + instance void set_LongProp(int64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_LongProp + + .method public hidebysig specialname + instance uint64 get_UlongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (uint64 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomStruct::get_UlongProp + + .method public hidebysig specialname + instance void set_UlongProp(uint64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_UlongProp + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomStruct::op_Addition + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomStruct::op_Subtraction + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomStruct::op_Multiply + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomStruct::op_Division + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomStruct::op_Modulus + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + int32 rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomStruct::op_LeftShift + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + int32 rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomStruct::op_RightShift + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomStruct::op_BitwiseAnd + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomStruct::op_BitwiseOr + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomStruct::op_ExclusiveOr + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomStruct::op_Increment + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomStruct::op_Decrement + + .property instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + CustomClassProp() + { + .get instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_CustomClassProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + } // end of property CustomStruct::CustomClassProp + .property instance uint8 ByteProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_ByteProp(uint8) + .get instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_ByteProp() + } // end of property CustomStruct::ByteProp + .property instance int8 SbyteProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_SbyteProp(int8) + .get instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_SbyteProp() + } // end of property CustomStruct::SbyteProp + .property instance int16 ShortProp() + { + .get instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_ShortProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_ShortProp(int16) + } // end of property CustomStruct::ShortProp + .property instance uint16 UshortProp() + { + .get instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_UshortProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_UshortProp(uint16) + } // end of property CustomStruct::UshortProp + .property instance int32 IntProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_IntProp(int32) + .get instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_IntProp() + } // end of property CustomStruct::IntProp + .property instance uint32 UintProp() + { + .get instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_UintProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_UintProp(uint32) + } // end of property CustomStruct::UintProp + .property instance int64 LongProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_LongProp(int64) + .get instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_LongProp() + } // end of property CustomStruct::LongProp + .property instance uint64 UlongProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_UlongProp(uint64) + .get instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_UlongProp() + } // end of property CustomStruct::UlongProp + } // end of class CustomStruct + + .class sequential ansi sealed nested public beforefieldinit CustomStruct2 + extends [mscorlib]System.ValueType + { + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass CustomClassField + .field public valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct CustomStructField + .field public uint8 ByteField + .field public int8 SbyteField + .field public int16 ShortField + .field public uint16 UshortField + .field public int32 IntField + .field public uint32 UintField + .field public int64 LongField + .field public uint64 UlongField + .field private class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .method public hidebysig specialname + instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + get_CustomClassProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_0) + IL_0000: ldarg.0 + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomStruct2::get_CustomClassProp + + .method public hidebysig specialname + instance void set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_CustomClassProp + + .method public hidebysig specialname + instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + get_CustomStructProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) + IL_0000: ldarg.0 + IL_0001: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomStruct2::get_CustomStructProp + + .method public hidebysig specialname + instance void set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_CustomStructProp + + .method public hidebysig specialname + instance uint8 get_ByteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (uint8 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomStruct2::get_ByteProp + + .method public hidebysig specialname + instance void set_ByteProp(uint8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_ByteProp + + .method public hidebysig specialname + instance int8 get_SbyteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (int8 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomStruct2::get_SbyteProp + + .method public hidebysig specialname + instance void set_SbyteProp(int8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_SbyteProp + + .method public hidebysig specialname + instance int16 get_ShortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (int16 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomStruct2::get_ShortProp + + .method public hidebysig specialname + instance void set_ShortProp(int16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_ShortProp + + .method public hidebysig specialname + instance uint16 get_UshortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (uint16 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomStruct2::get_UshortProp + + .method public hidebysig specialname + instance void set_UshortProp(uint16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_UshortProp + + .method public hidebysig specialname + instance int32 get_IntProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (int32 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomStruct2::get_IntProp + + .method public hidebysig specialname + instance void set_IntProp(int32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_IntProp + + .method public hidebysig specialname + instance uint32 get_UintProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (uint32 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomStruct2::get_UintProp + + .method public hidebysig specialname + instance void set_UintProp(uint32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_UintProp + + .method public hidebysig specialname + instance int64 get_LongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (int64 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomStruct2::get_LongProp + + .method public hidebysig specialname + instance void set_LongProp(int64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_LongProp + + .method public hidebysig specialname + instance uint64 get_UlongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 11 (0xb) + .maxstack 1 + .locals init (uint64 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CustomStruct2::get_UlongProp + + .method public hidebysig specialname + instance void set_UlongProp(uint64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_UlongProp + + .property instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + CustomClassProp() + { + .get instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + } // end of property CustomStruct2::CustomClassProp + .property instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + CustomStructProp() + { + .get instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + } // end of property CustomStruct2::CustomStructProp + .property instance uint8 ByteProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + .get instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + } // end of property CustomStruct2::ByteProp + .property instance int8 SbyteProp() + { + .get instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + } // end of property CustomStruct2::SbyteProp + .property instance int16 ShortProp() + { + .get instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + } // end of property CustomStruct2::ShortProp + .property instance uint16 UshortProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + .get instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + } // end of property CustomStruct2::UshortProp + .property instance int32 IntProp() + { + .get instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + } // end of property CustomStruct2::IntProp + .property instance uint32 UintProp() + { + .get instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + } // end of property CustomStruct2::UintProp + .property instance int64 LongProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + .get instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + } // end of property CustomStruct2::LongProp + .property instance uint64 UlongProp() + { + .get instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + } // end of property CustomStruct2::UlongProp + } // end of class CustomStruct2 + + .field private int32 test1 + .field private int32[] array1 + .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer field1 + .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum enumField + .field private class [mscorlib]System.Collections.Generic.Dictionary`2 ushortDict + .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum shortEnumField + .field public static int32 StaticField + .field public static int16 StaticShortField + .field private static class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass customClassField + .field private static valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct customStructField + .field private static valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 otherCustomStructField + .field private static uint8 byteField + .field private static int8 sbyteField + .field private static int16 shortField + .field private static uint16 ushortField + .field private static int32 intField + .field private static uint32 uintField + .field private static int64 longField + .field private static uint64 ulongField + .field private static class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static uint8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static int8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static int16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static uint16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static int32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static uint32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static int64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static uint64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static int32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .method private hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + get_CustomClassProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 10 (0xa) + .maxstack 1 + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_0) + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: stloc.0 + IL_0006: br.s IL_0008 + + IL_0008: ldloc.0 + IL_0009: ret + } // end of method CompoundAssignmentTest::get_CustomClassProp + + .method private hidebysig specialname static + void set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_CustomClassProp + + .method private hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + get_CustomStructProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 10 (0xa) + .maxstack 1 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: stloc.0 + IL_0006: br.s IL_0008 + + IL_0008: ldloc.0 + IL_0009: ret + } // end of method CompoundAssignmentTest::get_CustomStructProp + + .method private hidebysig specialname static + void set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_CustomStructProp + + .method private hidebysig specialname static + uint8 get_ByteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 10 (0xa) + .maxstack 1 + .locals init (uint8 V_0) + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: stloc.0 + IL_0006: br.s IL_0008 + + IL_0008: ldloc.0 + IL_0009: ret + } // end of method CompoundAssignmentTest::get_ByteProp + + .method private hidebysig specialname static + void set_ByteProp(uint8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_ByteProp + + .method private hidebysig specialname static + int8 get_SbyteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 10 (0xa) + .maxstack 1 + .locals init (int8 V_0) + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: stloc.0 + IL_0006: br.s IL_0008 + + IL_0008: ldloc.0 + IL_0009: ret + } // end of method CompoundAssignmentTest::get_SbyteProp + + .method private hidebysig specialname static + void set_SbyteProp(int8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_SbyteProp + + .method private hidebysig specialname static + int16 get_ShortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 10 (0xa) + .maxstack 1 + .locals init (int16 V_0) + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: stloc.0 + IL_0006: br.s IL_0008 + + IL_0008: ldloc.0 + IL_0009: ret + } // end of method CompoundAssignmentTest::get_ShortProp + + .method private hidebysig specialname static + void set_ShortProp(int16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_ShortProp + + .method private hidebysig specialname static + uint16 get_UshortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 10 (0xa) + .maxstack 1 + .locals init (uint16 V_0) + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: stloc.0 + IL_0006: br.s IL_0008 + + IL_0008: ldloc.0 + IL_0009: ret + } // end of method CompoundAssignmentTest::get_UshortProp + + .method private hidebysig specialname static + void set_UshortProp(uint16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_UshortProp + + .method private hidebysig specialname static + int32 get_IntProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 10 (0xa) + .maxstack 1 + .locals init (int32 V_0) + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: stloc.0 + IL_0006: br.s IL_0008 + + IL_0008: ldloc.0 + IL_0009: ret + } // end of method CompoundAssignmentTest::get_IntProp + + .method private hidebysig specialname static + void set_IntProp(int32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_IntProp + + .method private hidebysig specialname static + uint32 get_UintProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 10 (0xa) + .maxstack 1 + .locals init (uint32 V_0) + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: stloc.0 + IL_0006: br.s IL_0008 + + IL_0008: ldloc.0 + IL_0009: ret + } // end of method CompoundAssignmentTest::get_UintProp + + .method private hidebysig specialname static + void set_UintProp(uint32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_UintProp + + .method private hidebysig specialname static + int64 get_LongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 10 (0xa) + .maxstack 1 + .locals init (int64 V_0) + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: stloc.0 + IL_0006: br.s IL_0008 + + IL_0008: ldloc.0 + IL_0009: ret + } // end of method CompoundAssignmentTest::get_LongProp + + .method private hidebysig specialname static + void set_LongProp(int64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_LongProp + + .method private hidebysig specialname static + uint64 get_UlongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 10 (0xa) + .maxstack 1 + .locals init (uint64 V_0) + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: stloc.0 + IL_0006: br.s IL_0008 + + IL_0008: ldloc.0 + IL_0009: ret + } // end of method CompoundAssignmentTest::get_UlongProp + + .method private hidebysig specialname static + void set_UlongProp(uint64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_UlongProp + + .method public hidebysig specialname static + int32 get_StaticProperty() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 10 (0xa) + .maxstack 1 + .locals init (int32 V_0) + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: stloc.0 + IL_0006: br.s IL_0008 + + IL_0008: ldloc.0 + IL_0009: ret + } // end of method CompoundAssignmentTest::get_StaticProperty + + .method public hidebysig specialname static + void set_StaticProperty(int32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_StaticProperty + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum + get_StaticShortProperty() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 10 (0xa) + .maxstack 1 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum V_0) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: stloc.0 + IL_0006: br.s IL_0008 + + IL_0008: ldloc.0 + IL_0009: ret + } // end of method CompoundAssignmentTest::get_StaticShortProperty + + .method public hidebysig specialname static + void set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_StaticShortProperty + + .method private hidebysig static class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + GetClass() cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CompoundAssignmentTest::GetClass + + .method private hidebysig static void X(!!T result) cil managed + { + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method CompoundAssignmentTest::X + + .method private hidebysig instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass + M() cil managed + { + // Code size 11 (0xb) + .maxstack 1 + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass V_0) + IL_0000: nop + IL_0001: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::.ctor() + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CompoundAssignmentTest::M + + .method private hidebysig instance int32[0...,0...] + Array() cil managed + { + // Code size 7 (0x7) + .maxstack 1 + .locals init (int32[0...,0...] V_0) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: br.s IL_0005 + + IL_0005: ldloc.0 + IL_0006: ret + } // end of method CompoundAssignmentTest::Array + + .method private hidebysig instance int32* + GetPointer() cil managed + { + // Code size 8 (0x8) + .maxstack 1 + .locals init (int32* V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: conv.u + IL_0003: stloc.0 + IL_0004: br.s IL_0006 + + IL_0006: ldloc.0 + IL_0007: ret + } // end of method CompoundAssignmentTest::GetPointer + + .method public hidebysig instance int32 + GetIndex() cil managed + { + // Code size 19 (0x13) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.Random::.ctor() + IL_0006: ldc.i4.0 + IL_0007: ldc.i4.s 100 + IL_0009: callvirt instance int32 [mscorlib]System.Random::Next(int32, + int32) + IL_000e: stloc.0 + IL_000f: br.s IL_0011 + + IL_0011: ldloc.0 + IL_0012: ret + } // end of method CompoundAssignmentTest::GetIndex + + .method public hidebysig instance int32[] + GetArray() cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CompoundAssignmentTest::GetArray + + .method public hidebysig instance int32 + GetValue(int32 'value') cil managed + { + // Code size 7 (0x7) + .maxstack 1 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: stloc.0 + IL_0003: br.s IL_0005 + + IL_0005: ldloc.0 + IL_0006: ret + } // end of method CompoundAssignmentTest::GetValue + + .method public hidebysig instance bool + IsUpperCaseA(char a) cil managed + { + // Code size 11 (0xb) + .maxstack 2 + .locals init (bool V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.s 65 + IL_0004: ceq + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CompoundAssignmentTest::IsUpperCaseA + + .method public hidebysig instance void + Int32_Local_Add(int32 i) cil managed + { + // Code size 48 (0x30) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.1 + IL_0003: add + IL_0004: starg.s i + IL_0006: ldarg.1 + IL_0007: dup + IL_0008: ldc.i4.1 + IL_0009: add + IL_000a: starg.s i + IL_000c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0011: nop + IL_0012: ldarg.1 + IL_0013: ldc.i4.1 + IL_0014: add + IL_0015: dup + IL_0016: starg.s i + IL_0018: call void [mscorlib]System.Console::WriteLine(int32) + IL_001d: nop + IL_001e: ldarg.1 + IL_001f: ldc.i4.5 + IL_0020: add + IL_0021: starg.s i + IL_0023: ldarg.1 + IL_0024: ldc.i4.5 + IL_0025: add + IL_0026: dup + IL_0027: starg.s i + IL_0029: call void [mscorlib]System.Console::WriteLine(int32) + IL_002e: nop + IL_002f: ret + } // end of method CompoundAssignmentTest::Int32_Local_Add + + .method public hidebysig instance void + Int32_Local_Sub(int32 i) cil managed + { + // Code size 48 (0x30) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.1 + IL_0003: sub + IL_0004: starg.s i + IL_0006: ldarg.1 + IL_0007: dup + IL_0008: ldc.i4.1 + IL_0009: sub + IL_000a: starg.s i + IL_000c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0011: nop + IL_0012: ldarg.1 + IL_0013: ldc.i4.1 + IL_0014: sub + IL_0015: dup + IL_0016: starg.s i + IL_0018: call void [mscorlib]System.Console::WriteLine(int32) + IL_001d: nop + IL_001e: ldarg.1 + IL_001f: ldc.i4.5 + IL_0020: sub + IL_0021: starg.s i + IL_0023: ldarg.1 + IL_0024: ldc.i4.5 + IL_0025: sub + IL_0026: dup + IL_0027: starg.s i + IL_0029: call void [mscorlib]System.Console::WriteLine(int32) + IL_002e: nop + IL_002f: ret + } // end of method CompoundAssignmentTest::Int32_Local_Sub + + .method public hidebysig instance void + Int32_Local_Mul(int32 i) cil managed + { + // Code size 19 (0x13) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.5 + IL_0003: mul + IL_0004: starg.s i + IL_0006: ldarg.1 + IL_0007: ldc.i4.5 + IL_0008: mul + IL_0009: dup + IL_000a: starg.s i + IL_000c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0011: nop + IL_0012: ret + } // end of method CompoundAssignmentTest::Int32_Local_Mul + + .method public hidebysig instance void + Int32_Local_Div(int32 i) cil managed + { + // Code size 19 (0x13) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.5 + IL_0003: div + IL_0004: starg.s i + IL_0006: ldarg.1 + IL_0007: ldc.i4.5 + IL_0008: div + IL_0009: dup + IL_000a: starg.s i + IL_000c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0011: nop + IL_0012: ret + } // end of method CompoundAssignmentTest::Int32_Local_Div + + .method public hidebysig instance void + Int32_Local_Rem(int32 i) cil managed + { + // Code size 19 (0x13) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.5 + IL_0003: rem + IL_0004: starg.s i + IL_0006: ldarg.1 + IL_0007: ldc.i4.5 + IL_0008: rem + IL_0009: dup + IL_000a: starg.s i + IL_000c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0011: nop + IL_0012: ret + } // end of method CompoundAssignmentTest::Int32_Local_Rem + + .method public hidebysig instance void + Int32_Local_BitAnd(int32 i) cil managed + { + // Code size 19 (0x13) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.5 + IL_0003: and + IL_0004: starg.s i + IL_0006: ldarg.1 + IL_0007: ldc.i4.5 + IL_0008: and + IL_0009: dup + IL_000a: starg.s i + IL_000c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0011: nop + IL_0012: ret + } // end of method CompoundAssignmentTest::Int32_Local_BitAnd + + .method public hidebysig instance void + Int32_Local_BitOr(int32 i) cil managed + { + // Code size 19 (0x13) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.5 + IL_0003: or + IL_0004: starg.s i + IL_0006: ldarg.1 + IL_0007: ldc.i4.5 + IL_0008: or + IL_0009: dup + IL_000a: starg.s i + IL_000c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0011: nop + IL_0012: ret + } // end of method CompoundAssignmentTest::Int32_Local_BitOr + + .method public hidebysig instance void + Int32_Local_BitXor(int32 i) cil managed + { + // Code size 19 (0x13) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.5 + IL_0003: xor + IL_0004: starg.s i + IL_0006: ldarg.1 + IL_0007: ldc.i4.5 + IL_0008: xor + IL_0009: dup + IL_000a: starg.s i + IL_000c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0011: nop + IL_0012: ret + } // end of method CompoundAssignmentTest::Int32_Local_BitXor + + .method public hidebysig instance void + Int32_Local_ShiftLeft(int32 i) cil managed + { + // Code size 19 (0x13) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.5 + IL_0003: shl + IL_0004: starg.s i + IL_0006: ldarg.1 + IL_0007: ldc.i4.5 + IL_0008: shl + IL_0009: dup + IL_000a: starg.s i + IL_000c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0011: nop + IL_0012: ret + } // end of method CompoundAssignmentTest::Int32_Local_ShiftLeft + + .method public hidebysig instance void + Int32_Local_ShiftRight(int32 i) cil managed + { + // Code size 19 (0x13) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.5 + IL_0003: shr IL_0004: starg.s i IL_0006: ldarg.1 + IL_0007: ldc.i4.5 + IL_0008: shr + IL_0009: dup + IL_000a: starg.s i + IL_000c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0011: nop + IL_0012: ret + } // end of method CompoundAssignmentTest::Int32_Local_ShiftRight + + .method public hidebysig instance void + IntegerWithInline(int32 i) cil managed + { + // Code size 21 (0x15) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.5 + IL_0003: add + IL_0004: dup + IL_0005: starg.s i + IL_0007: call void [mscorlib]System.Console::WriteLine(int32) + IL_000c: nop + IL_000d: ldarg.1 + IL_000e: call void [mscorlib]System.Console::WriteLine(int32) + IL_0013: nop + IL_0014: ret + } // end of method CompoundAssignmentTest::IntegerWithInline + + .method public hidebysig instance void + IntegerField(int32 i) cil managed + { + // Code size 72 (0x48) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: dup + IL_0003: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_0008: ldarg.1 + IL_0009: add + IL_000a: dup + IL_000b: stloc.0 + IL_000c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_0011: ldloc.0 + IL_0012: call void [mscorlib]System.Console::WriteLine(int32) + IL_0017: nop + IL_0018: ldarg.0 + IL_0019: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_001e: call void [mscorlib]System.Console::WriteLine(int32) + IL_0023: nop + IL_0024: ldarg.0 + IL_0025: dup + IL_0026: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_002b: ldarg.1 + IL_002c: sub + IL_002d: dup + IL_002e: stloc.0 + IL_002f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_0034: ldloc.0 + IL_0035: call void [mscorlib]System.Console::WriteLine(int32) + IL_003a: nop + IL_003b: ldarg.0 + IL_003c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_0041: call void [mscorlib]System.Console::WriteLine(int32) + IL_0046: nop + IL_0047: ret + } // end of method CompoundAssignmentTest::IntegerField + + .method public hidebysig instance void + Array(int32 i) cil managed + { + // Code size 74 (0x4a) + .maxstack 4 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::array1 + IL_0007: ldarg.1 + IL_0008: ldelema [mscorlib]System.Int32 + IL_000d: dup + IL_000e: ldobj [mscorlib]System.Int32 + IL_0013: ldarg.1 + IL_0014: add + IL_0015: dup + IL_0016: stloc.0 + IL_0017: stobj [mscorlib]System.Int32 + IL_001c: ldloc.0 + IL_001d: call void [mscorlib]System.Console::WriteLine(int32) + IL_0022: nop + IL_0023: ldarg.0 + IL_0024: ldfld int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::array1 + IL_0029: ldarg.1 + IL_002a: ldc.i4.2 + IL_002b: mul + IL_002c: ldelema [mscorlib]System.Int32 + IL_0031: dup + IL_0032: ldobj [mscorlib]System.Int32 + IL_0037: ldarg.1 + IL_0038: ldc.i4.2 + IL_0039: mul + IL_003a: add + IL_003b: dup + IL_003c: stloc.0 + IL_003d: stobj [mscorlib]System.Int32 + IL_0042: ldloc.0 + IL_0043: call void [mscorlib]System.Console::WriteLine(int32) + IL_0048: nop + IL_0049: ret + } // end of method CompoundAssignmentTest::Array + + .method public hidebysig instance int32 + ArrayUsageWithMethods() cil managed + { + // Code size 39 (0x27) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetArray() + IL_0007: ldarg.0 + IL_0008: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetIndex() + IL_000d: ldelema [mscorlib]System.Int32 + IL_0012: dup + IL_0013: ldobj [mscorlib]System.Int32 + IL_0018: dup + IL_0019: stloc.1 + IL_001a: ldc.i4.1 + IL_001b: add + IL_001c: stobj [mscorlib]System.Int32 + IL_0021: ldloc.1 + IL_0022: stloc.0 + IL_0023: br.s IL_0025 + + IL_0025: ldloc.0 + IL_0026: ret + } // end of method CompoundAssignmentTest::ArrayUsageWithMethods + + .method public hidebysig instance void + NestedField() cil managed + { + // Code size 97 (0x61) + .maxstack 3 + .locals init (bool V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 + IL_0007: ldfld bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::HasIndex + IL_000c: ldc.i4.0 + IL_000d: ceq + IL_000f: stloc.0 + IL_0010: ldloc.0 + IL_0011: brtrue.s IL_0060 + + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 + IL_001a: dup + IL_001b: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field + IL_0020: ldc.i4.2 + IL_0021: mul + IL_0022: dup + IL_0023: stloc.1 + IL_0024: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field + IL_0029: ldloc.1 + IL_002a: call void [mscorlib]System.Console::WriteLine(int32) + IL_002f: nop + IL_0030: ldarg.0 + IL_0031: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 + IL_0036: dup + IL_0037: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field + IL_003c: ldc.i4.1 + IL_003d: add + IL_003e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field + IL_0043: ldarg.0 + IL_0044: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 + IL_0049: dup + IL_004a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field + IL_004f: dup + IL_0050: stloc.1 + IL_0051: ldc.i4.1 + IL_0052: add + IL_0053: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field + IL_0058: ldloc.1 + IL_0059: call void [mscorlib]System.Console::WriteLine(int32) + IL_005e: nop + IL_005f: nop + IL_0060: ret + } // end of method CompoundAssignmentTest::NestedField + + .method public hidebysig instance void + Enum() cil managed + { + // Code size 59 (0x3b) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: dup + IL_0003: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_0008: ldc.i4.2 + IL_0009: or + IL_000a: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_000f: ldarg.0 + IL_0010: dup + IL_0011: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_0016: ldc.i4.s -5 + IL_0018: and + IL_0019: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_001e: ldarg.0 + IL_001f: dup + IL_0020: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_0025: ldc.i4.2 + IL_0026: add + IL_0027: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_002c: ldarg.0 + IL_002d: dup + IL_002e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_0033: ldc.i4.3 + IL_0034: sub + IL_0035: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_003a: ret + } // end of method CompoundAssignmentTest::Enum + + .method public hidebysig instance void + ShortEnumTest() cil managed + { + // Code size 62 (0x3e) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: dup + IL_0003: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_0008: ldc.i4.2 + IL_0009: or + IL_000a: conv.i2 + IL_000b: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_0010: ldarg.0 + IL_0011: dup + IL_0012: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_0017: ldc.i4.4 + IL_0018: and + IL_0019: conv.i2 + IL_001a: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_001f: ldarg.0 + IL_0020: dup + IL_0021: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_0026: ldc.i4.2 + IL_0027: add + IL_0028: conv.i2 + IL_0029: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_002e: ldarg.0 + IL_002f: dup + IL_0030: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_0035: ldc.i4.3 + IL_0036: sub + IL_0037: conv.i2 + IL_0038: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_003d: ret + } // end of method CompoundAssignmentTest::ShortEnumTest + + .method public hidebysig instance int32 + PreIncrementInAddition(int32 i, + int32 j) cil managed + { + // Code size 14 (0xe) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldc.i4.1 + IL_0004: add + IL_0005: dup + IL_0006: starg.s j + IL_0008: add + IL_0009: stloc.0 + IL_000a: br.s IL_000c + + IL_000c: ldloc.0 + IL_000d: ret + } // end of method CompoundAssignmentTest::PreIncrementInAddition + + .method public hidebysig instance int32 + PreIncrementArrayElement(int32[] 'array', + int32 pos) cil managed + { + // Code size 29 (0x1d) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldelema [mscorlib]System.Int32 + IL_0008: dup + IL_0009: ldobj [mscorlib]System.Int32 + IL_000e: ldc.i4.1 + IL_000f: sub + IL_0010: dup + IL_0011: stloc.1 + IL_0012: stobj [mscorlib]System.Int32 + IL_0017: ldloc.1 + IL_0018: stloc.0 + IL_0019: br.s IL_001b + + IL_001b: ldloc.0 + IL_001c: ret + } // end of method CompoundAssignmentTest::PreIncrementArrayElement + + .method public hidebysig instance int32 + PostIncrementArrayElement(int32[] 'array', + int32 pos) cil managed + { + // Code size 29 (0x1d) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldelema [mscorlib]System.Int32 + IL_0008: dup + IL_0009: ldobj [mscorlib]System.Int32 + IL_000e: dup + IL_000f: stloc.1 + IL_0010: ldc.i4.1 + IL_0011: add + IL_0012: stobj [mscorlib]System.Int32 + IL_0017: ldloc.1 + IL_0018: stloc.0 + IL_0019: br.s IL_001b + + IL_001b: ldloc.0 + IL_001c: ret + } // end of method CompoundAssignmentTest::PostIncrementArrayElement + + .method public hidebysig instance void + IncrementArrayElement(int32[] 'array', + int32 pos) cil managed + { + // Code size 22 (0x16) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldelema [mscorlib]System.Int32 + IL_0008: dup + IL_0009: ldobj [mscorlib]System.Int32 + IL_000e: ldc.i4.1 + IL_000f: add + IL_0010: stobj [mscorlib]System.Int32 + IL_0015: ret + } // end of method CompoundAssignmentTest::IncrementArrayElement + + .method public hidebysig instance void + DoubleArrayElement(int32[] 'array', + int32 pos) cil managed + { + // Code size 22 (0x16) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldelema [mscorlib]System.Int32 + IL_0008: dup + IL_0009: ldobj [mscorlib]System.Int32 + IL_000e: ldc.i4.2 + IL_000f: mul + IL_0010: stobj [mscorlib]System.Int32 + IL_0015: ret + } // end of method CompoundAssignmentTest::DoubleArrayElement + + .method public hidebysig instance int32 + DoubleArrayElementAndReturn(int32[] 'array', + int32 pos) cil managed + { + // Code size 29 (0x1d) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldelema [mscorlib]System.Int32 + IL_0008: dup + IL_0009: ldobj [mscorlib]System.Int32 + IL_000e: ldc.i4.2 + IL_000f: mul + IL_0010: dup + IL_0011: stloc.1 + IL_0012: stobj [mscorlib]System.Int32 + IL_0017: ldloc.1 + IL_0018: stloc.0 + IL_0019: br.s IL_001b + + IL_001b: ldloc.0 + IL_001c: ret + } // end of method CompoundAssignmentTest::DoubleArrayElementAndReturn + + .method public hidebysig instance int32 + PreIncrementArrayElementShort(int16[] 'array', + int32 pos) cil managed + { + // Code size 30 (0x1e) + .maxstack 3 + .locals init (int32 V_0, + int16 V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldelema [mscorlib]System.Int16 + IL_0008: dup + IL_0009: ldobj [mscorlib]System.Int16 + IL_000e: ldc.i4.1 + IL_000f: sub + IL_0010: conv.i2 + IL_0011: dup + IL_0012: stloc.1 + IL_0013: stobj [mscorlib]System.Int16 + IL_0018: ldloc.1 + IL_0019: stloc.0 + IL_001a: br.s IL_001c + + IL_001c: ldloc.0 + IL_001d: ret + } // end of method CompoundAssignmentTest::PreIncrementArrayElementShort + + .method public hidebysig instance int32 + PostIncrementArrayElementShort(int16[] 'array', + int32 pos) cil managed + { + // Code size 30 (0x1e) + .maxstack 3 + .locals init (int32 V_0, + int16 V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldelema [mscorlib]System.Int16 + IL_0008: dup + IL_0009: ldobj [mscorlib]System.Int16 + IL_000e: dup + IL_000f: stloc.1 + IL_0010: ldc.i4.1 + IL_0011: add + IL_0012: conv.i2 + IL_0013: stobj [mscorlib]System.Int16 + IL_0018: ldloc.1 + IL_0019: stloc.0 + IL_001a: br.s IL_001c + + IL_001c: ldloc.0 + IL_001d: ret + } // end of method CompoundAssignmentTest::PostIncrementArrayElementShort + + .method public hidebysig instance void + IncrementArrayElementShort(int16[] 'array', + int32 pos) cil managed + { + // Code size 23 (0x17) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldelema [mscorlib]System.Int16 + IL_0008: dup + IL_0009: ldobj [mscorlib]System.Int16 + IL_000e: ldc.i4.1 + IL_000f: add + IL_0010: conv.i2 + IL_0011: stobj [mscorlib]System.Int16 + IL_0016: ret + } // end of method CompoundAssignmentTest::IncrementArrayElementShort + + .method public hidebysig instance void + DoubleArrayElementShort(int16[] 'array', + int32 pos) cil managed + { + // Code size 23 (0x17) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldelema [mscorlib]System.Int16 + IL_0008: dup + IL_0009: ldobj [mscorlib]System.Int16 + IL_000e: ldc.i4.2 + IL_000f: mul + IL_0010: conv.i2 + IL_0011: stobj [mscorlib]System.Int16 + IL_0016: ret + } // end of method CompoundAssignmentTest::DoubleArrayElementShort + + .method public hidebysig instance int16 + DoubleArrayElementShortAndReturn(int16[] 'array', + int32 pos) cil managed + { + // Code size 30 (0x1e) + .maxstack 3 + .locals init (int16 V_0, + int16 V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldelema [mscorlib]System.Int16 + IL_0008: dup + IL_0009: ldobj [mscorlib]System.Int16 + IL_000e: ldc.i4.2 + IL_000f: mul + IL_0010: conv.i2 + IL_0011: dup + IL_0012: stloc.1 + IL_0013: stobj [mscorlib]System.Int16 + IL_0018: ldloc.1 + IL_0019: stloc.0 + IL_001a: br.s IL_001c + + IL_001c: ldloc.0 + IL_001d: ret + } // end of method CompoundAssignmentTest::DoubleArrayElementShortAndReturn + + .method public hidebysig instance int32 + PreIncrementInstanceField() cil managed + { + // Code size 28 (0x1c) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_000d: ldc.i4.1 + IL_000e: add + IL_000f: dup + IL_0010: stloc.1 + IL_0011: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0016: ldloc.1 + IL_0017: stloc.0 + IL_0018: br.s IL_001a + + IL_001a: ldloc.0 + IL_001b: ret + } // end of method CompoundAssignmentTest::PreIncrementInstanceField + + .method public hidebysig instance int32 + PostIncrementInstanceField() cil managed + { + // Code size 28 (0x1c) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_000d: dup + IL_000e: stloc.1 + IL_000f: ldc.i4.1 + IL_0010: add + IL_0011: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0016: ldloc.1 + IL_0017: stloc.0 + IL_0018: br.s IL_001a + + IL_001a: ldloc.0 + IL_001b: ret + } // end of method CompoundAssignmentTest::PostIncrementInstanceField + + .method public hidebysig instance void + IncrementInstanceField() cil managed + { + // Code size 21 (0x15) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_000d: ldc.i4.1 + IL_000e: add + IL_000f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0014: ret + } // end of method CompoundAssignmentTest::IncrementInstanceField + + .method public hidebysig instance void + DoubleInstanceField() cil managed + { + // Code size 21 (0x15) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_000d: ldc.i4.2 + IL_000e: mul + IL_000f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0014: ret + } // end of method CompoundAssignmentTest::DoubleInstanceField + + .method public hidebysig instance int32 + DoubleInstanceFieldAndReturn() cil managed + { + // Code size 28 (0x1c) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_000d: ldc.i4.2 + IL_000e: mul + IL_000f: dup + IL_0010: stloc.1 + IL_0011: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0016: ldloc.1 + IL_0017: stloc.0 + IL_0018: br.s IL_001a + + IL_001a: ldloc.0 + IL_001b: ret + } // end of method CompoundAssignmentTest::DoubleInstanceFieldAndReturn + + .method public hidebysig instance int32 + PreIncrementInstanceField2(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass m) cil managed + { + // Code size 23 (0x17) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: dup + IL_0003: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0008: ldc.i4.1 + IL_0009: add + IL_000a: dup + IL_000b: stloc.1 + IL_000c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0011: ldloc.1 + IL_0012: stloc.0 + IL_0013: br.s IL_0015 + + IL_0015: ldloc.0 + IL_0016: ret + } // end of method CompoundAssignmentTest::PreIncrementInstanceField2 + + .method public hidebysig instance int32 + PostIncrementInstanceField2(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass m) cil managed + { + // Code size 23 (0x17) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: dup + IL_0003: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0008: dup + IL_0009: stloc.1 + IL_000a: ldc.i4.1 + IL_000b: add + IL_000c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0011: ldloc.1 + IL_0012: stloc.0 + IL_0013: br.s IL_0015 + + IL_0015: ldloc.0 + IL_0016: ret + } // end of method CompoundAssignmentTest::PostIncrementInstanceField2 + + .method public hidebysig instance void + IncrementInstanceField2(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass m) cil managed + { + // Code size 16 (0x10) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: dup + IL_0003: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0008: ldc.i4.1 + IL_0009: add + IL_000a: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_000f: ret + } // end of method CompoundAssignmentTest::IncrementInstanceField2 + + .method public hidebysig instance int32 + PreIncrementInstanceFieldShort() cil managed + { + // Code size 29 (0x1d) + .maxstack 3 + .locals init (int32 V_0, + int16 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField + IL_000d: ldc.i4.1 + IL_000e: add + IL_000f: conv.i2 + IL_0010: dup + IL_0011: stloc.1 + IL_0012: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField + IL_0017: ldloc.1 + IL_0018: stloc.0 + IL_0019: br.s IL_001b + + IL_001b: ldloc.0 + IL_001c: ret + } // end of method CompoundAssignmentTest::PreIncrementInstanceFieldShort + + .method public hidebysig instance int32 + PostIncrementInstanceFieldShort() cil managed + { + // Code size 29 (0x1d) + .maxstack 3 + .locals init (int32 V_0, + int16 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField + IL_000d: dup + IL_000e: stloc.1 + IL_000f: ldc.i4.1 + IL_0010: add + IL_0011: conv.i2 + IL_0012: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField + IL_0017: ldloc.1 + IL_0018: stloc.0 + IL_0019: br.s IL_001b + + IL_001b: ldloc.0 + IL_001c: ret + } // end of method CompoundAssignmentTest::PostIncrementInstanceFieldShort + + .method public hidebysig instance void + IncrementInstanceFieldShort() cil managed + { + // Code size 22 (0x16) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() IL_0007: dup - IL_0008: ldc.i4.1 - IL_0009: add - IL_000a: starg.s i - IL_000c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0011: nop - IL_0012: ldarg.1 - IL_0013: ldc.i4.1 + IL_0008: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField + IL_000d: ldc.i4.1 + IL_000e: add + IL_000f: conv.i2 + IL_0010: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField + IL_0015: ret + } // end of method CompoundAssignmentTest::IncrementInstanceFieldShort + + .method public hidebysig instance int32 + PreIncrementInstanceProperty() cil managed + { + // Code size 29 (0x1d) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() + IL_000d: ldc.i4.1 + IL_000e: add + IL_000f: dup + IL_0010: stloc.1 + IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) + IL_0016: nop + IL_0017: ldloc.1 + IL_0018: stloc.0 + IL_0019: br.s IL_001b + + IL_001b: ldloc.0 + IL_001c: ret + } // end of method CompoundAssignmentTest::PreIncrementInstanceProperty + + .method public hidebysig instance int32 + PostIncrementInstanceProperty() cil managed + { + // Code size 29 (0x1d) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() + IL_000d: dup + IL_000e: stloc.1 + IL_000f: ldc.i4.1 + IL_0010: add + IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) + IL_0016: nop + IL_0017: ldloc.1 + IL_0018: stloc.0 + IL_0019: br.s IL_001b + + IL_001b: ldloc.0 + IL_001c: ret + } // end of method CompoundAssignmentTest::PostIncrementInstanceProperty + + .method public hidebysig instance void + IncrementInstanceProperty() cil managed + { + // Code size 22 (0x16) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() + IL_000d: ldc.i4.1 + IL_000e: add + IL_000f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) + IL_0014: nop + IL_0015: ret + } // end of method CompoundAssignmentTest::IncrementInstanceProperty + + .method public hidebysig instance void + DoubleInstanceProperty() cil managed + { + // Code size 22 (0x16) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() + IL_000d: ldc.i4.2 + IL_000e: mul + IL_000f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) + IL_0014: nop + IL_0015: ret + } // end of method CompoundAssignmentTest::DoubleInstanceProperty + + .method public hidebysig instance int32 + DoubleInstancePropertyAndReturn() cil managed + { + // Code size 29 (0x1d) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() + IL_000d: ldc.i4.2 + IL_000e: mul + IL_000f: dup + IL_0010: stloc.1 + IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) + IL_0016: nop + IL_0017: ldloc.1 + IL_0018: stloc.0 + IL_0019: br.s IL_001b + + IL_001b: ldloc.0 + IL_001c: ret + } // end of method CompoundAssignmentTest::DoubleInstancePropertyAndReturn + + .method public hidebysig instance int32 + PreIncrementInstancePropertyByte() cil managed + { + // Code size 30 (0x1e) + .maxstack 3 + .locals init (int32 V_0, + uint8 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() + IL_000d: ldc.i4.1 + IL_000e: add + IL_000f: conv.u1 + IL_0010: dup + IL_0011: stloc.1 + IL_0012: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) + IL_0017: nop + IL_0018: ldloc.1 + IL_0019: stloc.0 + IL_001a: br.s IL_001c + + IL_001c: ldloc.0 + IL_001d: ret + } // end of method CompoundAssignmentTest::PreIncrementInstancePropertyByte + + .method public hidebysig instance int32 + PostIncrementInstancePropertyByte() cil managed + { + // Code size 30 (0x1e) + .maxstack 3 + .locals init (int32 V_0, + uint8 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() + IL_000d: dup + IL_000e: stloc.1 + IL_000f: ldc.i4.1 + IL_0010: add + IL_0011: conv.u1 + IL_0012: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) + IL_0017: nop + IL_0018: ldloc.1 + IL_0019: stloc.0 + IL_001a: br.s IL_001c + + IL_001c: ldloc.0 + IL_001d: ret + } // end of method CompoundAssignmentTest::PostIncrementInstancePropertyByte + + .method public hidebysig instance void + IncrementInstancePropertyByte() cil managed + { + // Code size 23 (0x17) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() + IL_000d: ldc.i4.1 + IL_000e: add + IL_000f: conv.u1 + IL_0010: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) + IL_0015: nop + IL_0016: ret + } // end of method CompoundAssignmentTest::IncrementInstancePropertyByte + + .method public hidebysig instance void + DoubleInstancePropertyByte() cil managed + { + // Code size 23 (0x17) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() + IL_000d: ldc.i4.2 + IL_000e: mul + IL_000f: conv.u1 + IL_0010: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) + IL_0015: nop + IL_0016: ret + } // end of method CompoundAssignmentTest::DoubleInstancePropertyByte + + .method public hidebysig instance int32 + DoubleInstancePropertyByteAndReturn() cil managed + { + // Code size 30 (0x1e) + .maxstack 3 + .locals init (int32 V_0, + uint8 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() + IL_000d: ldc.i4.2 + IL_000e: mul + IL_000f: conv.u1 + IL_0010: dup + IL_0011: stloc.1 + IL_0012: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) + IL_0017: nop + IL_0018: ldloc.1 + IL_0019: stloc.0 + IL_001a: br.s IL_001c + + IL_001c: ldloc.0 + IL_001d: ret + } // end of method CompoundAssignmentTest::DoubleInstancePropertyByteAndReturn + + .method public hidebysig instance int32 + PreIncrementStaticField() cil managed + { + // Code size 19 (0x13) + .maxstack 2 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: dup + IL_0009: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_000e: stloc.0 + IL_000f: br.s IL_0011 + + IL_0011: ldloc.0 + IL_0012: ret + } // end of method CompoundAssignmentTest::PreIncrementStaticField + + .method public hidebysig instance int32 + PostIncrementStaticField() cil managed + { + // Code size 19 (0x13) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_000e: stloc.0 + IL_000f: br.s IL_0011 + + IL_0011: ldloc.0 + IL_0012: ret + } // end of method CompoundAssignmentTest::PostIncrementStaticField + + .method public hidebysig instance void + IncrementStaticField() cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_000d: ret + } // end of method CompoundAssignmentTest::IncrementStaticField + + .method public hidebysig instance void + DoubleStaticField() cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_0006: ldc.i4.2 + IL_0007: mul + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_000d: ret + } // end of method CompoundAssignmentTest::DoubleStaticField + + .method public hidebysig instance int32 + DoubleStaticFieldAndReturn() cil managed + { + // Code size 19 (0x13) + .maxstack 2 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_0006: ldc.i4.2 + IL_0007: mul + IL_0008: dup + IL_0009: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_000e: stloc.0 + IL_000f: br.s IL_0011 + + IL_0011: ldloc.0 + IL_0012: ret + } // end of method CompoundAssignmentTest::DoubleStaticFieldAndReturn + + .method public hidebysig instance int32 + PreIncrementStaticFieldShort() cil managed + { + // Code size 20 (0x14) + .maxstack 2 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.i2 + IL_0009: dup + IL_000a: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_000f: stloc.0 + IL_0010: br.s IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method CompoundAssignmentTest::PreIncrementStaticFieldShort + + .method public hidebysig instance int32 + PostIncrementStaticFieldShort() cil managed + { + // Code size 20 (0x14) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: conv.i2 + IL_000a: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_000f: stloc.0 + IL_0010: br.s IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method CompoundAssignmentTest::PostIncrementStaticFieldShort + + .method public hidebysig instance void + IncrementStaticFieldShort() cil managed + { + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_000e: ret + } // end of method CompoundAssignmentTest::IncrementStaticFieldShort + + .method public hidebysig instance void + DoubleStaticFieldShort() cil managed + { + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_0006: ldc.i4.2 + IL_0007: mul + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_000e: ret + } // end of method CompoundAssignmentTest::DoubleStaticFieldShort + + .method public hidebysig instance int16 + DoubleStaticFieldAndReturnShort() cil managed + { + // Code size 20 (0x14) + .maxstack 2 + .locals init (int16 V_0) + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_0006: ldc.i4.2 + IL_0007: mul + IL_0008: conv.i2 + IL_0009: dup + IL_000a: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_000f: stloc.0 + IL_0010: br.s IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method CompoundAssignmentTest::DoubleStaticFieldAndReturnShort + + .method public hidebysig instance int32 + PreIncrementStaticProperty() cil managed + { + // Code size 20 (0x14) + .maxstack 2 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: dup + IL_0009: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) + IL_000e: nop + IL_000f: stloc.0 + IL_0010: br.s IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method CompoundAssignmentTest::PreIncrementStaticProperty + + .method public hidebysig instance int32 + PostIncrementStaticProperty() cil managed + { + // Code size 20 (0x14) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) + IL_000e: nop + IL_000f: stloc.0 + IL_0010: br.s IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method CompoundAssignmentTest::PostIncrementStaticProperty + + .method public hidebysig instance void + IncrementStaticProperty() cil managed + { + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) + IL_000d: nop + IL_000e: ret + } // end of method CompoundAssignmentTest::IncrementStaticProperty + + .method public hidebysig instance void + DoubleStaticProperty() cil managed + { + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() + IL_0006: ldc.i4.2 + IL_0007: mul + IL_0008: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) + IL_000d: nop + IL_000e: ret + } // end of method CompoundAssignmentTest::DoubleStaticProperty + + .method public hidebysig instance int32 + DoubleStaticPropertyAndReturn() cil managed + { + // Code size 20 (0x14) + .maxstack 2 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() + IL_0006: ldc.i4.2 + IL_0007: mul + IL_0008: dup + IL_0009: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) + IL_000e: nop + IL_000f: stloc.0 + IL_0010: br.s IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method CompoundAssignmentTest::DoubleStaticPropertyAndReturn + + .method public hidebysig instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum + PreIncrementStaticPropertyShort() cil managed + { + // Code size 21 (0x15) + .maxstack 2 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum V_0) + IL_0000: nop + IL_0001: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticShortProperty() + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.i2 + IL_0009: dup + IL_000a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum) + IL_000f: nop + IL_0010: stloc.0 + IL_0011: br.s IL_0013 + + IL_0013: ldloc.0 + IL_0014: ret + } // end of method CompoundAssignmentTest::PreIncrementStaticPropertyShort + + .method public hidebysig instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum + PostIncrementStaticPropertyShort() cil managed + { + // Code size 21 (0x15) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum V_0) + IL_0000: nop + IL_0001: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticShortProperty() + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: conv.i2 + IL_000a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum) + IL_000f: nop + IL_0010: stloc.0 + IL_0011: br.s IL_0013 + + IL_0013: ldloc.0 + IL_0014: ret + } // end of method CompoundAssignmentTest::PostIncrementStaticPropertyShort + + .method public hidebysig instance void + IncrementStaticPropertyShort() cil managed + { + // Code size 16 (0x10) + .maxstack 8 + IL_0000: nop + IL_0001: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticShortProperty() + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.i2 + IL_0009: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum) + IL_000e: nop + IL_000f: ret + } // end of method CompoundAssignmentTest::IncrementStaticPropertyShort + + .method public hidebysig static void ByteAddTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: ldc.i4.5 + IL_0007: add + IL_0008: conv.u1 + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0013: ldc.i4.5 + IL_0014: add + IL_0015: conv.u1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0023: ldc.i4.5 + IL_0024: add + IL_0025: conv.u1 + IL_0026: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0032: ldc.i4.5 + IL_0033: add + IL_0034: conv.u1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0043: ldc.i4.5 + IL_0044: add + IL_0045: conv.u1 + IL_0046: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0053: ldc.i4.5 + IL_0054: add + IL_0055: conv.u1 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0067: ldc.i4.5 + IL_0068: add + IL_0069: conv.u1 + IL_006a: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_007a: ldc.i4.5 + IL_007b: add + IL_007c: conv.u1 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_008e: ldc.i4.5 + IL_008f: add + IL_0090: conv.u1 + IL_0091: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00a1: ldc.i4.5 + IL_00a2: add + IL_00a3: conv.u1 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b5: ldc.i4.5 + IL_00b6: add + IL_00b7: conv.u1 + IL_00b8: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c8: ldc.i4.5 + IL_00c9: add + IL_00ca: conv.u1 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00dc: ldc.i4.5 + IL_00dd: add + IL_00de: conv.u1 + IL_00df: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00ef: ldc.i4.5 + IL_00f0: add + IL_00f1: conv.u1 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::ByteAddTest + + .method public hidebysig static void ByteSubtractTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: ldc.i4.5 + IL_0007: sub + IL_0008: conv.u1 + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0013: ldc.i4.5 + IL_0014: sub + IL_0015: conv.u1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0023: ldc.i4.5 + IL_0024: sub + IL_0025: conv.u1 + IL_0026: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0032: ldc.i4.5 + IL_0033: sub + IL_0034: conv.u1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0043: ldc.i4.5 + IL_0044: sub + IL_0045: conv.u1 + IL_0046: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0053: ldc.i4.5 + IL_0054: sub + IL_0055: conv.u1 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0067: ldc.i4.5 + IL_0068: sub + IL_0069: conv.u1 + IL_006a: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_007a: ldc.i4.5 + IL_007b: sub + IL_007c: conv.u1 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_008e: ldc.i4.5 + IL_008f: sub + IL_0090: conv.u1 + IL_0091: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00a1: ldc.i4.5 + IL_00a2: sub + IL_00a3: conv.u1 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b5: ldc.i4.5 + IL_00b6: sub + IL_00b7: conv.u1 + IL_00b8: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c8: ldc.i4.5 + IL_00c9: sub + IL_00ca: conv.u1 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00dc: ldc.i4.5 + IL_00dd: sub + IL_00de: conv.u1 + IL_00df: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00ef: ldc.i4.5 + IL_00f0: sub + IL_00f1: conv.u1 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::ByteSubtractTest + + .method public hidebysig static void ByteMultiplyTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: ldc.i4.5 + IL_0007: mul + IL_0008: conv.u1 + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0013: ldc.i4.5 + IL_0014: mul + IL_0015: conv.u1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0023: ldc.i4.5 + IL_0024: mul + IL_0025: conv.u1 + IL_0026: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0032: ldc.i4.5 + IL_0033: mul + IL_0034: conv.u1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0043: ldc.i4.5 + IL_0044: mul + IL_0045: conv.u1 + IL_0046: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0053: ldc.i4.5 + IL_0054: mul + IL_0055: conv.u1 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0067: ldc.i4.5 + IL_0068: mul + IL_0069: conv.u1 + IL_006a: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_007a: ldc.i4.5 + IL_007b: mul + IL_007c: conv.u1 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_008e: ldc.i4.5 + IL_008f: mul + IL_0090: conv.u1 + IL_0091: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00a1: ldc.i4.5 + IL_00a2: mul + IL_00a3: conv.u1 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b5: ldc.i4.5 + IL_00b6: mul + IL_00b7: conv.u1 + IL_00b8: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c8: ldc.i4.5 + IL_00c9: mul + IL_00ca: conv.u1 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00dc: ldc.i4.5 + IL_00dd: mul + IL_00de: conv.u1 + IL_00df: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00ef: ldc.i4.5 + IL_00f0: mul + IL_00f1: conv.u1 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::ByteMultiplyTest + + .method public hidebysig static void ByteDivideTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: ldc.i4.5 + IL_0007: div + IL_0008: conv.u1 + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0013: ldc.i4.5 + IL_0014: div + IL_0015: conv.u1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0023: ldc.i4.5 + IL_0024: div + IL_0025: conv.u1 + IL_0026: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0032: ldc.i4.5 + IL_0033: div + IL_0034: conv.u1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0043: ldc.i4.5 + IL_0044: div + IL_0045: conv.u1 + IL_0046: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0053: ldc.i4.5 + IL_0054: div + IL_0055: conv.u1 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0067: ldc.i4.5 + IL_0068: div + IL_0069: conv.u1 + IL_006a: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_007a: ldc.i4.5 + IL_007b: div + IL_007c: conv.u1 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_008e: ldc.i4.5 + IL_008f: div + IL_0090: conv.u1 + IL_0091: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00a1: ldc.i4.5 + IL_00a2: div + IL_00a3: conv.u1 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b5: ldc.i4.5 + IL_00b6: div + IL_00b7: conv.u1 + IL_00b8: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c8: ldc.i4.5 + IL_00c9: div + IL_00ca: conv.u1 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00dc: ldc.i4.5 + IL_00dd: div + IL_00de: conv.u1 + IL_00df: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00ef: ldc.i4.5 + IL_00f0: div + IL_00f1: conv.u1 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::ByteDivideTest + + .method public hidebysig static void ByteModulusTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: ldc.i4.5 + IL_0007: rem + IL_0008: conv.u1 + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0013: ldc.i4.5 + IL_0014: rem + IL_0015: conv.u1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0023: ldc.i4.5 + IL_0024: rem + IL_0025: conv.u1 + IL_0026: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0032: ldc.i4.5 + IL_0033: rem + IL_0034: conv.u1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0043: ldc.i4.5 + IL_0044: rem + IL_0045: conv.u1 + IL_0046: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0053: ldc.i4.5 + IL_0054: rem + IL_0055: conv.u1 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0067: ldc.i4.5 + IL_0068: rem + IL_0069: conv.u1 + IL_006a: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_007a: ldc.i4.5 + IL_007b: rem + IL_007c: conv.u1 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_008e: ldc.i4.5 + IL_008f: rem + IL_0090: conv.u1 + IL_0091: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00a1: ldc.i4.5 + IL_00a2: rem + IL_00a3: conv.u1 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b5: ldc.i4.5 + IL_00b6: rem + IL_00b7: conv.u1 + IL_00b8: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c8: ldc.i4.5 + IL_00c9: rem + IL_00ca: conv.u1 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00dc: ldc.i4.5 + IL_00dd: rem + IL_00de: conv.u1 + IL_00df: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00ef: ldc.i4.5 + IL_00f0: rem + IL_00f1: conv.u1 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::ByteModulusTest + + .method public hidebysig static void ByteLeftShiftTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: ldc.i4.5 + IL_0007: shl + IL_0008: conv.u1 + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0013: ldc.i4.5 + IL_0014: shl + IL_0015: conv.u1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0023: ldc.i4.5 + IL_0024: shl + IL_0025: conv.u1 + IL_0026: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0032: ldc.i4.5 + IL_0033: shl + IL_0034: conv.u1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0043: ldc.i4.5 + IL_0044: shl + IL_0045: conv.u1 + IL_0046: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0053: ldc.i4.5 + IL_0054: shl + IL_0055: conv.u1 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0067: ldc.i4.5 + IL_0068: shl + IL_0069: conv.u1 + IL_006a: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_007a: ldc.i4.5 + IL_007b: shl + IL_007c: conv.u1 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_008e: ldc.i4.5 + IL_008f: shl + IL_0090: conv.u1 + IL_0091: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00a1: ldc.i4.5 + IL_00a2: shl + IL_00a3: conv.u1 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b5: ldc.i4.5 + IL_00b6: shl + IL_00b7: conv.u1 + IL_00b8: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c8: ldc.i4.5 + IL_00c9: shl + IL_00ca: conv.u1 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00dc: ldc.i4.5 + IL_00dd: shl + IL_00de: conv.u1 + IL_00df: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00ef: ldc.i4.5 + IL_00f0: shl + IL_00f1: conv.u1 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::ByteLeftShiftTest + + .method public hidebysig static void ByteRightShiftTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: ldc.i4.5 + IL_0007: shr + IL_0008: conv.u1 + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0013: ldc.i4.5 + IL_0014: shr + IL_0015: conv.u1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0023: ldc.i4.5 + IL_0024: shr + IL_0025: conv.u1 + IL_0026: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0032: ldc.i4.5 + IL_0033: shr + IL_0034: conv.u1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0043: ldc.i4.5 + IL_0044: shr + IL_0045: conv.u1 + IL_0046: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0053: ldc.i4.5 + IL_0054: shr + IL_0055: conv.u1 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0067: ldc.i4.5 + IL_0068: shr + IL_0069: conv.u1 + IL_006a: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_007a: ldc.i4.5 + IL_007b: shr + IL_007c: conv.u1 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_008e: ldc.i4.5 + IL_008f: shr + IL_0090: conv.u1 + IL_0091: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00a1: ldc.i4.5 + IL_00a2: shr + IL_00a3: conv.u1 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b5: ldc.i4.5 + IL_00b6: shr + IL_00b7: conv.u1 + IL_00b8: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c8: ldc.i4.5 + IL_00c9: shr + IL_00ca: conv.u1 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00dc: ldc.i4.5 + IL_00dd: shr + IL_00de: conv.u1 + IL_00df: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00ef: ldc.i4.5 + IL_00f0: shr + IL_00f1: conv.u1 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::ByteRightShiftTest + + .method public hidebysig static void ByteBitAndTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: ldc.i4.5 + IL_0007: and + IL_0008: conv.u1 + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0013: ldc.i4.5 + IL_0014: and + IL_0015: conv.u1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0023: ldc.i4.5 + IL_0024: and + IL_0025: conv.u1 + IL_0026: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0032: ldc.i4.5 + IL_0033: and + IL_0034: conv.u1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0043: ldc.i4.5 + IL_0044: and + IL_0045: conv.u1 + IL_0046: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0053: ldc.i4.5 + IL_0054: and + IL_0055: conv.u1 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0067: ldc.i4.5 + IL_0068: and + IL_0069: conv.u1 + IL_006a: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_007a: ldc.i4.5 + IL_007b: and + IL_007c: conv.u1 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_008e: ldc.i4.5 + IL_008f: and + IL_0090: conv.u1 + IL_0091: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00a1: ldc.i4.5 + IL_00a2: and + IL_00a3: conv.u1 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b5: ldc.i4.5 + IL_00b6: and + IL_00b7: conv.u1 + IL_00b8: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c8: ldc.i4.5 + IL_00c9: and + IL_00ca: conv.u1 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00dc: ldc.i4.5 + IL_00dd: and + IL_00de: conv.u1 + IL_00df: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00ef: ldc.i4.5 + IL_00f0: and + IL_00f1: conv.u1 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::ByteBitAndTest + + .method public hidebysig static void ByteBitOrTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: ldc.i4.5 + IL_0007: or + IL_0008: conv.u1 + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0013: ldc.i4.5 + IL_0014: or + IL_0015: conv.u1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0023: ldc.i4.5 + IL_0024: or + IL_0025: conv.u1 + IL_0026: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0032: ldc.i4.5 + IL_0033: or + IL_0034: conv.u1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0043: ldc.i4.5 + IL_0044: or + IL_0045: conv.u1 + IL_0046: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0053: ldc.i4.5 + IL_0054: or + IL_0055: conv.u1 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0067: ldc.i4.5 + IL_0068: or + IL_0069: conv.u1 + IL_006a: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_007a: ldc.i4.5 + IL_007b: or + IL_007c: conv.u1 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_008e: ldc.i4.5 + IL_008f: or + IL_0090: conv.u1 + IL_0091: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00a1: ldc.i4.5 + IL_00a2: or + IL_00a3: conv.u1 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b5: ldc.i4.5 + IL_00b6: or + IL_00b7: conv.u1 + IL_00b8: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c8: ldc.i4.5 + IL_00c9: or + IL_00ca: conv.u1 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00dc: ldc.i4.5 + IL_00dd: or + IL_00de: conv.u1 + IL_00df: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00ef: ldc.i4.5 + IL_00f0: or + IL_00f1: conv.u1 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::ByteBitOrTest + + .method public hidebysig static void ByteBitXorTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: ldc.i4.5 + IL_0007: xor + IL_0008: conv.u1 + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0013: ldc.i4.5 + IL_0014: xor + IL_0015: conv.u1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0023: ldc.i4.5 + IL_0024: xor + IL_0025: conv.u1 + IL_0026: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0032: ldc.i4.5 + IL_0033: xor + IL_0034: conv.u1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0043: ldc.i4.5 + IL_0044: xor + IL_0045: conv.u1 + IL_0046: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0053: ldc.i4.5 + IL_0054: xor + IL_0055: conv.u1 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0067: ldc.i4.5 + IL_0068: xor + IL_0069: conv.u1 + IL_006a: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_007a: ldc.i4.5 + IL_007b: xor + IL_007c: conv.u1 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_008e: ldc.i4.5 + IL_008f: xor + IL_0090: conv.u1 + IL_0091: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00a1: ldc.i4.5 + IL_00a2: xor + IL_00a3: conv.u1 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b5: ldc.i4.5 + IL_00b6: xor + IL_00b7: conv.u1 + IL_00b8: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c8: ldc.i4.5 + IL_00c9: xor + IL_00ca: conv.u1 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00dc: ldc.i4.5 + IL_00dd: xor + IL_00de: conv.u1 + IL_00df: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00ef: ldc.i4.5 + IL_00f0: xor + IL_00f1: conv.u1 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::ByteBitXorTest + + .method public hidebysig static void BytePostIncTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 371 (0x173) + .maxstack 3 + .locals init (uint8 V_0) + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: conv.u1 + IL_000a: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_001a: dup + IL_001b: ldc.i4.1 + IL_001c: add + IL_001d: conv.u1 + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0031: dup + IL_0032: stloc.0 + IL_0033: ldc.i4.1 + IL_0034: add + IL_0035: conv.u1 + IL_0036: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0049: dup + IL_004a: stloc.0 + IL_004b: ldc.i4.1 + IL_004c: add + IL_004d: conv.u1 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: dup + IL_005e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0063: dup + IL_0064: stloc.0 + IL_0065: ldc.i4.1 + IL_0066: add + IL_0067: conv.u1 + IL_0068: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: nop + IL_0074: ldarga.s s + IL_0076: dup + IL_0077: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_007c: dup + IL_007d: stloc.0 + IL_007e: ldc.i4.1 + IL_007f: add + IL_0080: conv.u1 + IL_0081: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: nop + IL_008e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0093: dup + IL_0094: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0099: dup + IL_009a: stloc.0 + IL_009b: ldc.i4.1 + IL_009c: add + IL_009d: conv.u1 + IL_009e: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00a3: ldloc.0 + IL_00a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a9: nop + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00b5: dup + IL_00b6: stloc.0 + IL_00b7: ldc.i4.1 + IL_00b8: add + IL_00b9: conv.u1 + IL_00ba: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: nop + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: dup + IL_00cd: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00d2: dup + IL_00d3: stloc.0 + IL_00d4: ldc.i4.1 + IL_00d5: add + IL_00d6: conv.u1 + IL_00d7: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00dc: ldloc.0 + IL_00dd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e2: nop + IL_00e3: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e8: dup + IL_00e9: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00ee: dup + IL_00ef: stloc.0 + IL_00f0: ldc.i4.1 + IL_00f1: add + IL_00f2: conv.u1 + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ff: nop + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0105: dup + IL_0106: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_010b: dup + IL_010c: stloc.0 + IL_010d: ldc.i4.1 + IL_010e: add + IL_010f: conv.u1 + IL_0110: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: nop + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0127: dup + IL_0128: stloc.0 + IL_0129: ldc.i4.1 + IL_012a: add + IL_012b: conv.u1 + IL_012c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: nop + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013e: dup + IL_013f: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0144: dup + IL_0145: stloc.0 + IL_0146: ldc.i4.1 + IL_0147: add + IL_0148: conv.u1 + IL_0149: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_014e: ldloc.0 + IL_014f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0160: dup + IL_0161: stloc.0 + IL_0162: ldc.i4.1 + IL_0163: add + IL_0164: conv.u1 + IL_0165: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_016a: nop + IL_016b: ldloc.0 + IL_016c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0171: nop + IL_0172: ret + } // end of method CompoundAssignmentTest::BytePostIncTest + + .method public hidebysig static void BytePreIncTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 371 (0x173) + .maxstack 3 + .locals init (uint8 V_0) + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.u1 + IL_0009: dup + IL_000a: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_001a: ldc.i4.1 + IL_001b: add + IL_001c: conv.u1 + IL_001d: dup + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0031: ldc.i4.1 + IL_0032: add + IL_0033: conv.u1 + IL_0034: dup + IL_0035: stloc.0 + IL_0036: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0049: ldc.i4.1 + IL_004a: add + IL_004b: conv.u1 + IL_004c: dup + IL_004d: stloc.0 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: dup + IL_005e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0063: ldc.i4.1 + IL_0064: add + IL_0065: conv.u1 + IL_0066: dup + IL_0067: stloc.0 + IL_0068: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: nop + IL_0074: ldarga.s s + IL_0076: dup + IL_0077: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_007c: ldc.i4.1 + IL_007d: add + IL_007e: conv.u1 + IL_007f: dup + IL_0080: stloc.0 + IL_0081: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: nop + IL_008e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0093: dup + IL_0094: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0099: ldc.i4.1 + IL_009a: add + IL_009b: conv.u1 + IL_009c: dup + IL_009d: stloc.0 + IL_009e: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00a3: ldloc.0 + IL_00a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a9: nop + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00b5: ldc.i4.1 + IL_00b6: add + IL_00b7: conv.u1 + IL_00b8: dup + IL_00b9: stloc.0 + IL_00ba: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: nop + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: dup + IL_00cd: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00d2: ldc.i4.1 + IL_00d3: add + IL_00d4: conv.u1 + IL_00d5: dup + IL_00d6: stloc.0 + IL_00d7: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00dc: ldloc.0 + IL_00dd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e2: nop + IL_00e3: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e8: dup + IL_00e9: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00ee: ldc.i4.1 + IL_00ef: add + IL_00f0: conv.u1 + IL_00f1: dup + IL_00f2: stloc.0 + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ff: nop + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0105: dup + IL_0106: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_010b: ldc.i4.1 + IL_010c: add + IL_010d: conv.u1 + IL_010e: dup + IL_010f: stloc.0 + IL_0110: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: nop + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0127: ldc.i4.1 + IL_0128: add + IL_0129: conv.u1 + IL_012a: dup + IL_012b: stloc.0 + IL_012c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: nop + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013e: dup + IL_013f: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0144: ldc.i4.1 + IL_0145: add + IL_0146: conv.u1 + IL_0147: dup + IL_0148: stloc.0 + IL_0149: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_014e: ldloc.0 + IL_014f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0160: ldc.i4.1 + IL_0161: add + IL_0162: conv.u1 + IL_0163: dup + IL_0164: stloc.0 + IL_0165: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_016a: nop + IL_016b: ldloc.0 + IL_016c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0171: nop + IL_0172: ret + } // end of method CompoundAssignmentTest::BytePreIncTest + + .method public hidebysig static void BytePostDecTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 371 (0x173) + .maxstack 3 + .locals init (uint8 V_0) + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: sub + IL_0009: conv.u1 + IL_000a: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_001a: dup + IL_001b: ldc.i4.1 + IL_001c: sub + IL_001d: conv.u1 + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0031: dup + IL_0032: stloc.0 + IL_0033: ldc.i4.1 + IL_0034: sub + IL_0035: conv.u1 + IL_0036: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0049: dup + IL_004a: stloc.0 + IL_004b: ldc.i4.1 + IL_004c: sub + IL_004d: conv.u1 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: dup + IL_005e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0063: dup + IL_0064: stloc.0 + IL_0065: ldc.i4.1 + IL_0066: sub + IL_0067: conv.u1 + IL_0068: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: nop + IL_0074: ldarga.s s + IL_0076: dup + IL_0077: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_007c: dup + IL_007d: stloc.0 + IL_007e: ldc.i4.1 + IL_007f: sub + IL_0080: conv.u1 + IL_0081: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: nop + IL_008e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0093: dup + IL_0094: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0099: dup + IL_009a: stloc.0 + IL_009b: ldc.i4.1 + IL_009c: sub + IL_009d: conv.u1 + IL_009e: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00a3: ldloc.0 + IL_00a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a9: nop + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00b5: dup + IL_00b6: stloc.0 + IL_00b7: ldc.i4.1 + IL_00b8: sub + IL_00b9: conv.u1 + IL_00ba: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: nop + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: dup + IL_00cd: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00d2: dup + IL_00d3: stloc.0 + IL_00d4: ldc.i4.1 + IL_00d5: sub + IL_00d6: conv.u1 + IL_00d7: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00dc: ldloc.0 + IL_00dd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e2: nop + IL_00e3: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e8: dup + IL_00e9: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00ee: dup + IL_00ef: stloc.0 + IL_00f0: ldc.i4.1 + IL_00f1: sub + IL_00f2: conv.u1 + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ff: nop + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0105: dup + IL_0106: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_010b: dup + IL_010c: stloc.0 + IL_010d: ldc.i4.1 + IL_010e: sub + IL_010f: conv.u1 + IL_0110: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: nop + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0127: dup + IL_0128: stloc.0 + IL_0129: ldc.i4.1 + IL_012a: sub + IL_012b: conv.u1 + IL_012c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: nop + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013e: dup + IL_013f: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0144: dup + IL_0145: stloc.0 + IL_0146: ldc.i4.1 + IL_0147: sub + IL_0148: conv.u1 + IL_0149: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_014e: ldloc.0 + IL_014f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0160: dup + IL_0161: stloc.0 + IL_0162: ldc.i4.1 + IL_0163: sub + IL_0164: conv.u1 + IL_0165: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_016a: nop + IL_016b: ldloc.0 + IL_016c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0171: nop + IL_0172: ret + } // end of method CompoundAssignmentTest::BytePostDecTest + + .method public hidebysig static void BytePreDecTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 371 (0x173) + .maxstack 3 + .locals init (uint8 V_0) + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: ldc.i4.1 + IL_0007: sub + IL_0008: conv.u1 + IL_0009: dup + IL_000a: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_001a: ldc.i4.1 + IL_001b: sub + IL_001c: conv.u1 + IL_001d: dup + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0031: ldc.i4.1 + IL_0032: sub + IL_0033: conv.u1 + IL_0034: dup + IL_0035: stloc.0 + IL_0036: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0049: ldc.i4.1 + IL_004a: sub + IL_004b: conv.u1 + IL_004c: dup + IL_004d: stloc.0 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: dup + IL_005e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0063: ldc.i4.1 + IL_0064: sub + IL_0065: conv.u1 + IL_0066: dup + IL_0067: stloc.0 + IL_0068: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: nop + IL_0074: ldarga.s s + IL_0076: dup + IL_0077: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_007c: ldc.i4.1 + IL_007d: sub + IL_007e: conv.u1 + IL_007f: dup + IL_0080: stloc.0 + IL_0081: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: nop + IL_008e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0093: dup + IL_0094: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0099: ldc.i4.1 + IL_009a: sub + IL_009b: conv.u1 + IL_009c: dup + IL_009d: stloc.0 + IL_009e: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00a3: ldloc.0 + IL_00a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a9: nop + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00b5: ldc.i4.1 + IL_00b6: sub + IL_00b7: conv.u1 + IL_00b8: dup + IL_00b9: stloc.0 + IL_00ba: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: nop + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: dup + IL_00cd: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00d2: ldc.i4.1 + IL_00d3: sub + IL_00d4: conv.u1 + IL_00d5: dup + IL_00d6: stloc.0 + IL_00d7: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00dc: ldloc.0 + IL_00dd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e2: nop + IL_00e3: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e8: dup + IL_00e9: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00ee: ldc.i4.1 + IL_00ef: sub + IL_00f0: conv.u1 + IL_00f1: dup + IL_00f2: stloc.0 + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ff: nop + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0105: dup + IL_0106: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_010b: ldc.i4.1 + IL_010c: sub + IL_010d: conv.u1 + IL_010e: dup + IL_010f: stloc.0 + IL_0110: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: nop + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0127: ldc.i4.1 + IL_0128: sub + IL_0129: conv.u1 + IL_012a: dup + IL_012b: stloc.0 + IL_012c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: nop + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013e: dup + IL_013f: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0144: ldc.i4.1 + IL_0145: sub + IL_0146: conv.u1 + IL_0147: dup + IL_0148: stloc.0 + IL_0149: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_014e: ldloc.0 + IL_014f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0160: ldc.i4.1 + IL_0161: sub + IL_0162: conv.u1 + IL_0163: dup + IL_0164: stloc.0 + IL_0165: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_016a: nop + IL_016b: ldloc.0 + IL_016c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0171: nop + IL_0172: ret + } // end of method CompoundAssignmentTest::BytePreDecTest + + .method public hidebysig static void SbyteAddTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: ldc.i4.5 + IL_0007: add + IL_0008: conv.i1 + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0013: ldc.i4.5 + IL_0014: add + IL_0015: conv.i1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0023: ldc.i4.5 + IL_0024: add + IL_0025: conv.i1 + IL_0026: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0032: ldc.i4.5 + IL_0033: add + IL_0034: conv.i1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0043: ldc.i4.5 + IL_0044: add + IL_0045: conv.i1 + IL_0046: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0053: ldc.i4.5 + IL_0054: add + IL_0055: conv.i1 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0067: ldc.i4.5 + IL_0068: add + IL_0069: conv.i1 + IL_006a: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_007a: ldc.i4.5 + IL_007b: add + IL_007c: conv.i1 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_008e: ldc.i4.5 + IL_008f: add + IL_0090: conv.i1 + IL_0091: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00a1: ldc.i4.5 + IL_00a2: add + IL_00a3: conv.i1 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b5: ldc.i4.5 + IL_00b6: add + IL_00b7: conv.i1 + IL_00b8: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c8: ldc.i4.5 + IL_00c9: add + IL_00ca: conv.i1 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00dc: ldc.i4.5 + IL_00dd: add + IL_00de: conv.i1 + IL_00df: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00ef: ldc.i4.5 + IL_00f0: add + IL_00f1: conv.i1 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::SbyteAddTest + + .method public hidebysig static void SbyteSubtractTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: ldc.i4.5 + IL_0007: sub + IL_0008: conv.i1 + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0013: ldc.i4.5 + IL_0014: sub + IL_0015: conv.i1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0023: ldc.i4.5 + IL_0024: sub + IL_0025: conv.i1 + IL_0026: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0032: ldc.i4.5 + IL_0033: sub + IL_0034: conv.i1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0043: ldc.i4.5 + IL_0044: sub + IL_0045: conv.i1 + IL_0046: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0053: ldc.i4.5 + IL_0054: sub + IL_0055: conv.i1 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0067: ldc.i4.5 + IL_0068: sub + IL_0069: conv.i1 + IL_006a: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_007a: ldc.i4.5 + IL_007b: sub + IL_007c: conv.i1 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_008e: ldc.i4.5 + IL_008f: sub + IL_0090: conv.i1 + IL_0091: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00a1: ldc.i4.5 + IL_00a2: sub + IL_00a3: conv.i1 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b5: ldc.i4.5 + IL_00b6: sub + IL_00b7: conv.i1 + IL_00b8: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c8: ldc.i4.5 + IL_00c9: sub + IL_00ca: conv.i1 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00dc: ldc.i4.5 + IL_00dd: sub + IL_00de: conv.i1 + IL_00df: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00ef: ldc.i4.5 + IL_00f0: sub + IL_00f1: conv.i1 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::SbyteSubtractTest + + .method public hidebysig static void SbyteMultiplyTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: ldc.i4.5 + IL_0007: mul + IL_0008: conv.i1 + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0013: ldc.i4.5 + IL_0014: mul + IL_0015: conv.i1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0023: ldc.i4.5 + IL_0024: mul + IL_0025: conv.i1 + IL_0026: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0032: ldc.i4.5 + IL_0033: mul + IL_0034: conv.i1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0043: ldc.i4.5 + IL_0044: mul + IL_0045: conv.i1 + IL_0046: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0053: ldc.i4.5 + IL_0054: mul + IL_0055: conv.i1 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0067: ldc.i4.5 + IL_0068: mul + IL_0069: conv.i1 + IL_006a: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_007a: ldc.i4.5 + IL_007b: mul + IL_007c: conv.i1 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_008e: ldc.i4.5 + IL_008f: mul + IL_0090: conv.i1 + IL_0091: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00a1: ldc.i4.5 + IL_00a2: mul + IL_00a3: conv.i1 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b5: ldc.i4.5 + IL_00b6: mul + IL_00b7: conv.i1 + IL_00b8: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c8: ldc.i4.5 + IL_00c9: mul + IL_00ca: conv.i1 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00dc: ldc.i4.5 + IL_00dd: mul + IL_00de: conv.i1 + IL_00df: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00ef: ldc.i4.5 + IL_00f0: mul + IL_00f1: conv.i1 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::SbyteMultiplyTest + + .method public hidebysig static void SbyteDivideTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: ldc.i4.5 + IL_0007: div + IL_0008: conv.i1 + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0013: ldc.i4.5 + IL_0014: div + IL_0015: conv.i1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0023: ldc.i4.5 + IL_0024: div + IL_0025: conv.i1 + IL_0026: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0032: ldc.i4.5 + IL_0033: div + IL_0034: conv.i1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0043: ldc.i4.5 + IL_0044: div + IL_0045: conv.i1 + IL_0046: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0053: ldc.i4.5 + IL_0054: div + IL_0055: conv.i1 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0067: ldc.i4.5 + IL_0068: div + IL_0069: conv.i1 + IL_006a: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_007a: ldc.i4.5 + IL_007b: div + IL_007c: conv.i1 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_008e: ldc.i4.5 + IL_008f: div + IL_0090: conv.i1 + IL_0091: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00a1: ldc.i4.5 + IL_00a2: div + IL_00a3: conv.i1 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b5: ldc.i4.5 + IL_00b6: div + IL_00b7: conv.i1 + IL_00b8: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c8: ldc.i4.5 + IL_00c9: div + IL_00ca: conv.i1 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00dc: ldc.i4.5 + IL_00dd: div + IL_00de: conv.i1 + IL_00df: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00ef: ldc.i4.5 + IL_00f0: div + IL_00f1: conv.i1 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::SbyteDivideTest + + .method public hidebysig static void SbyteModulusTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: ldc.i4.5 + IL_0007: rem + IL_0008: conv.i1 + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0013: ldc.i4.5 + IL_0014: rem + IL_0015: conv.i1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0023: ldc.i4.5 + IL_0024: rem + IL_0025: conv.i1 + IL_0026: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0032: ldc.i4.5 + IL_0033: rem + IL_0034: conv.i1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0043: ldc.i4.5 + IL_0044: rem + IL_0045: conv.i1 + IL_0046: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0053: ldc.i4.5 + IL_0054: rem + IL_0055: conv.i1 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0067: ldc.i4.5 + IL_0068: rem + IL_0069: conv.i1 + IL_006a: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_007a: ldc.i4.5 + IL_007b: rem + IL_007c: conv.i1 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_008e: ldc.i4.5 + IL_008f: rem + IL_0090: conv.i1 + IL_0091: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00a1: ldc.i4.5 + IL_00a2: rem + IL_00a3: conv.i1 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b5: ldc.i4.5 + IL_00b6: rem + IL_00b7: conv.i1 + IL_00b8: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c8: ldc.i4.5 + IL_00c9: rem + IL_00ca: conv.i1 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00dc: ldc.i4.5 + IL_00dd: rem + IL_00de: conv.i1 + IL_00df: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00ef: ldc.i4.5 + IL_00f0: rem + IL_00f1: conv.i1 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::SbyteModulusTest + + .method public hidebysig static void SbyteLeftShiftTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: ldc.i4.5 + IL_0007: shl + IL_0008: conv.i1 + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0013: ldc.i4.5 + IL_0014: shl + IL_0015: conv.i1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0023: ldc.i4.5 + IL_0024: shl + IL_0025: conv.i1 + IL_0026: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0032: ldc.i4.5 + IL_0033: shl + IL_0034: conv.i1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0043: ldc.i4.5 + IL_0044: shl + IL_0045: conv.i1 + IL_0046: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0053: ldc.i4.5 + IL_0054: shl + IL_0055: conv.i1 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0067: ldc.i4.5 + IL_0068: shl + IL_0069: conv.i1 + IL_006a: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_007a: ldc.i4.5 + IL_007b: shl + IL_007c: conv.i1 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_008e: ldc.i4.5 + IL_008f: shl + IL_0090: conv.i1 + IL_0091: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00a1: ldc.i4.5 + IL_00a2: shl + IL_00a3: conv.i1 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b5: ldc.i4.5 + IL_00b6: shl + IL_00b7: conv.i1 + IL_00b8: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c8: ldc.i4.5 + IL_00c9: shl + IL_00ca: conv.i1 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00dc: ldc.i4.5 + IL_00dd: shl + IL_00de: conv.i1 + IL_00df: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00ef: ldc.i4.5 + IL_00f0: shl + IL_00f1: conv.i1 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::SbyteLeftShiftTest + + .method public hidebysig static void SbyteRightShiftTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: ldc.i4.5 + IL_0007: shr + IL_0008: conv.i1 + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0013: ldc.i4.5 + IL_0014: shr + IL_0015: conv.i1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0023: ldc.i4.5 + IL_0024: shr + IL_0025: conv.i1 + IL_0026: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0032: ldc.i4.5 + IL_0033: shr + IL_0034: conv.i1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0043: ldc.i4.5 + IL_0044: shr + IL_0045: conv.i1 + IL_0046: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0053: ldc.i4.5 + IL_0054: shr + IL_0055: conv.i1 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0067: ldc.i4.5 + IL_0068: shr + IL_0069: conv.i1 + IL_006a: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_007a: ldc.i4.5 + IL_007b: shr + IL_007c: conv.i1 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_008e: ldc.i4.5 + IL_008f: shr + IL_0090: conv.i1 + IL_0091: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00a1: ldc.i4.5 + IL_00a2: shr + IL_00a3: conv.i1 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b5: ldc.i4.5 + IL_00b6: shr + IL_00b7: conv.i1 + IL_00b8: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c8: ldc.i4.5 + IL_00c9: shr + IL_00ca: conv.i1 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00dc: ldc.i4.5 + IL_00dd: shr + IL_00de: conv.i1 + IL_00df: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00ef: ldc.i4.5 + IL_00f0: shr + IL_00f1: conv.i1 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::SbyteRightShiftTest + + .method public hidebysig static void SbyteBitAndTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: ldc.i4.5 + IL_0007: and + IL_0008: conv.i1 + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0013: ldc.i4.5 + IL_0014: and + IL_0015: conv.i1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0023: ldc.i4.5 + IL_0024: and + IL_0025: conv.i1 + IL_0026: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0032: ldc.i4.5 + IL_0033: and + IL_0034: conv.i1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0043: ldc.i4.5 + IL_0044: and + IL_0045: conv.i1 + IL_0046: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0053: ldc.i4.5 + IL_0054: and + IL_0055: conv.i1 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0067: ldc.i4.5 + IL_0068: and + IL_0069: conv.i1 + IL_006a: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_007a: ldc.i4.5 + IL_007b: and + IL_007c: conv.i1 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_008e: ldc.i4.5 + IL_008f: and + IL_0090: conv.i1 + IL_0091: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00a1: ldc.i4.5 + IL_00a2: and + IL_00a3: conv.i1 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b5: ldc.i4.5 + IL_00b6: and + IL_00b7: conv.i1 + IL_00b8: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c8: ldc.i4.5 + IL_00c9: and + IL_00ca: conv.i1 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00dc: ldc.i4.5 + IL_00dd: and + IL_00de: conv.i1 + IL_00df: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00ef: ldc.i4.5 + IL_00f0: and + IL_00f1: conv.i1 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::SbyteBitAndTest + + .method public hidebysig static void SbyteBitOrTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: ldc.i4.5 + IL_0007: or + IL_0008: conv.i1 + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0013: ldc.i4.5 + IL_0014: or + IL_0015: conv.i1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0023: ldc.i4.5 + IL_0024: or + IL_0025: conv.i1 + IL_0026: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0032: ldc.i4.5 + IL_0033: or + IL_0034: conv.i1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0043: ldc.i4.5 + IL_0044: or + IL_0045: conv.i1 + IL_0046: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0053: ldc.i4.5 + IL_0054: or + IL_0055: conv.i1 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0067: ldc.i4.5 + IL_0068: or + IL_0069: conv.i1 + IL_006a: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_007a: ldc.i4.5 + IL_007b: or + IL_007c: conv.i1 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_008e: ldc.i4.5 + IL_008f: or + IL_0090: conv.i1 + IL_0091: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00a1: ldc.i4.5 + IL_00a2: or + IL_00a3: conv.i1 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b5: ldc.i4.5 + IL_00b6: or + IL_00b7: conv.i1 + IL_00b8: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c8: ldc.i4.5 + IL_00c9: or + IL_00ca: conv.i1 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00dc: ldc.i4.5 + IL_00dd: or + IL_00de: conv.i1 + IL_00df: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00ef: ldc.i4.5 + IL_00f0: or + IL_00f1: conv.i1 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::SbyteBitOrTest + + .method public hidebysig static void SbyteBitXorTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: ldc.i4.5 + IL_0007: xor + IL_0008: conv.i1 + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0013: ldc.i4.5 + IL_0014: xor + IL_0015: conv.i1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0023: ldc.i4.5 + IL_0024: xor + IL_0025: conv.i1 + IL_0026: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0032: ldc.i4.5 + IL_0033: xor + IL_0034: conv.i1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0043: ldc.i4.5 + IL_0044: xor + IL_0045: conv.i1 + IL_0046: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0053: ldc.i4.5 + IL_0054: xor + IL_0055: conv.i1 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0067: ldc.i4.5 + IL_0068: xor + IL_0069: conv.i1 + IL_006a: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_007a: ldc.i4.5 + IL_007b: xor + IL_007c: conv.i1 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_008e: ldc.i4.5 + IL_008f: xor + IL_0090: conv.i1 + IL_0091: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00a1: ldc.i4.5 + IL_00a2: xor + IL_00a3: conv.i1 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b5: ldc.i4.5 + IL_00b6: xor + IL_00b7: conv.i1 + IL_00b8: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c8: ldc.i4.5 + IL_00c9: xor + IL_00ca: conv.i1 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00dc: ldc.i4.5 + IL_00dd: xor + IL_00de: conv.i1 + IL_00df: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00ef: ldc.i4.5 + IL_00f0: xor + IL_00f1: conv.i1 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::SbyteBitXorTest + + .method public hidebysig static void SbytePostIncTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 371 (0x173) + .maxstack 3 + .locals init (int8 V_0) + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: conv.i1 + IL_000a: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_001a: dup + IL_001b: ldc.i4.1 + IL_001c: add + IL_001d: conv.i1 + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0031: dup + IL_0032: stloc.0 + IL_0033: ldc.i4.1 + IL_0034: add + IL_0035: conv.i1 + IL_0036: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0049: dup + IL_004a: stloc.0 + IL_004b: ldc.i4.1 + IL_004c: add + IL_004d: conv.i1 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: dup + IL_005e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0063: dup + IL_0064: stloc.0 + IL_0065: ldc.i4.1 + IL_0066: add + IL_0067: conv.i1 + IL_0068: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: nop + IL_0074: ldarga.s s + IL_0076: dup + IL_0077: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_007c: dup + IL_007d: stloc.0 + IL_007e: ldc.i4.1 + IL_007f: add + IL_0080: conv.i1 + IL_0081: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: nop + IL_008e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0093: dup + IL_0094: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0099: dup + IL_009a: stloc.0 + IL_009b: ldc.i4.1 + IL_009c: add + IL_009d: conv.i1 + IL_009e: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00a3: ldloc.0 + IL_00a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a9: nop + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00b5: dup + IL_00b6: stloc.0 + IL_00b7: ldc.i4.1 + IL_00b8: add + IL_00b9: conv.i1 + IL_00ba: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: nop + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: dup + IL_00cd: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00d2: dup + IL_00d3: stloc.0 + IL_00d4: ldc.i4.1 + IL_00d5: add + IL_00d6: conv.i1 + IL_00d7: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00dc: ldloc.0 + IL_00dd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e2: nop + IL_00e3: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e8: dup + IL_00e9: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00ee: dup + IL_00ef: stloc.0 + IL_00f0: ldc.i4.1 + IL_00f1: add + IL_00f2: conv.i1 + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ff: nop + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0105: dup + IL_0106: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_010b: dup + IL_010c: stloc.0 + IL_010d: ldc.i4.1 + IL_010e: add + IL_010f: conv.i1 + IL_0110: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: nop + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0127: dup + IL_0128: stloc.0 + IL_0129: ldc.i4.1 + IL_012a: add + IL_012b: conv.i1 + IL_012c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: nop + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013e: dup + IL_013f: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0144: dup + IL_0145: stloc.0 + IL_0146: ldc.i4.1 + IL_0147: add + IL_0148: conv.i1 + IL_0149: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_014e: ldloc.0 + IL_014f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0160: dup + IL_0161: stloc.0 + IL_0162: ldc.i4.1 + IL_0163: add + IL_0164: conv.i1 + IL_0165: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_016a: nop + IL_016b: ldloc.0 + IL_016c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0171: nop + IL_0172: ret + } // end of method CompoundAssignmentTest::SbytePostIncTest + + .method public hidebysig static void SbytePreIncTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 371 (0x173) + .maxstack 3 + .locals init (int8 V_0) + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.i1 + IL_0009: dup + IL_000a: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_001a: ldc.i4.1 + IL_001b: add + IL_001c: conv.i1 + IL_001d: dup + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0031: ldc.i4.1 + IL_0032: add + IL_0033: conv.i1 + IL_0034: dup + IL_0035: stloc.0 + IL_0036: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0049: ldc.i4.1 + IL_004a: add + IL_004b: conv.i1 + IL_004c: dup + IL_004d: stloc.0 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: dup + IL_005e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0063: ldc.i4.1 + IL_0064: add + IL_0065: conv.i1 + IL_0066: dup + IL_0067: stloc.0 + IL_0068: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: nop + IL_0074: ldarga.s s + IL_0076: dup + IL_0077: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_007c: ldc.i4.1 + IL_007d: add + IL_007e: conv.i1 + IL_007f: dup + IL_0080: stloc.0 + IL_0081: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: nop + IL_008e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0093: dup + IL_0094: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0099: ldc.i4.1 + IL_009a: add + IL_009b: conv.i1 + IL_009c: dup + IL_009d: stloc.0 + IL_009e: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00a3: ldloc.0 + IL_00a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a9: nop + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00b5: ldc.i4.1 + IL_00b6: add + IL_00b7: conv.i1 + IL_00b8: dup + IL_00b9: stloc.0 + IL_00ba: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: nop + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: dup + IL_00cd: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00d2: ldc.i4.1 + IL_00d3: add + IL_00d4: conv.i1 + IL_00d5: dup + IL_00d6: stloc.0 + IL_00d7: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00dc: ldloc.0 + IL_00dd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e2: nop + IL_00e3: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e8: dup + IL_00e9: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00ee: ldc.i4.1 + IL_00ef: add + IL_00f0: conv.i1 + IL_00f1: dup + IL_00f2: stloc.0 + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ff: nop + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0105: dup + IL_0106: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_010b: ldc.i4.1 + IL_010c: add + IL_010d: conv.i1 + IL_010e: dup + IL_010f: stloc.0 + IL_0110: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: nop + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0127: ldc.i4.1 + IL_0128: add + IL_0129: conv.i1 + IL_012a: dup + IL_012b: stloc.0 + IL_012c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: nop + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013e: dup + IL_013f: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0144: ldc.i4.1 + IL_0145: add + IL_0146: conv.i1 + IL_0147: dup + IL_0148: stloc.0 + IL_0149: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_014e: ldloc.0 + IL_014f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0160: ldc.i4.1 + IL_0161: add + IL_0162: conv.i1 + IL_0163: dup + IL_0164: stloc.0 + IL_0165: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_016a: nop + IL_016b: ldloc.0 + IL_016c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0171: nop + IL_0172: ret + } // end of method CompoundAssignmentTest::SbytePreIncTest + + .method public hidebysig static void SbytePostDecTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 371 (0x173) + .maxstack 3 + .locals init (int8 V_0) + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: sub + IL_0009: conv.i1 + IL_000a: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_001a: dup + IL_001b: ldc.i4.1 + IL_001c: sub + IL_001d: conv.i1 + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0031: dup + IL_0032: stloc.0 + IL_0033: ldc.i4.1 + IL_0034: sub + IL_0035: conv.i1 + IL_0036: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0049: dup + IL_004a: stloc.0 + IL_004b: ldc.i4.1 + IL_004c: sub + IL_004d: conv.i1 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: dup + IL_005e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0063: dup + IL_0064: stloc.0 + IL_0065: ldc.i4.1 + IL_0066: sub + IL_0067: conv.i1 + IL_0068: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: nop + IL_0074: ldarga.s s + IL_0076: dup + IL_0077: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_007c: dup + IL_007d: stloc.0 + IL_007e: ldc.i4.1 + IL_007f: sub + IL_0080: conv.i1 + IL_0081: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: nop + IL_008e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0093: dup + IL_0094: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0099: dup + IL_009a: stloc.0 + IL_009b: ldc.i4.1 + IL_009c: sub + IL_009d: conv.i1 + IL_009e: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00a3: ldloc.0 + IL_00a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a9: nop + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00b5: dup + IL_00b6: stloc.0 + IL_00b7: ldc.i4.1 + IL_00b8: sub + IL_00b9: conv.i1 + IL_00ba: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: nop + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: dup + IL_00cd: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00d2: dup + IL_00d3: stloc.0 + IL_00d4: ldc.i4.1 + IL_00d5: sub + IL_00d6: conv.i1 + IL_00d7: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00dc: ldloc.0 + IL_00dd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e2: nop + IL_00e3: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e8: dup + IL_00e9: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00ee: dup + IL_00ef: stloc.0 + IL_00f0: ldc.i4.1 + IL_00f1: sub + IL_00f2: conv.i1 + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ff: nop + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0105: dup + IL_0106: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_010b: dup + IL_010c: stloc.0 + IL_010d: ldc.i4.1 + IL_010e: sub + IL_010f: conv.i1 + IL_0110: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: nop + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0127: dup + IL_0128: stloc.0 + IL_0129: ldc.i4.1 + IL_012a: sub + IL_012b: conv.i1 + IL_012c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: nop + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013e: dup + IL_013f: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0144: dup + IL_0145: stloc.0 + IL_0146: ldc.i4.1 + IL_0147: sub + IL_0148: conv.i1 + IL_0149: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_014e: ldloc.0 + IL_014f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0160: dup + IL_0161: stloc.0 + IL_0162: ldc.i4.1 + IL_0163: sub + IL_0164: conv.i1 + IL_0165: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_016a: nop + IL_016b: ldloc.0 + IL_016c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0171: nop + IL_0172: ret + } // end of method CompoundAssignmentTest::SbytePostDecTest + + .method public hidebysig static void SbytePreDecTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 371 (0x173) + .maxstack 3 + .locals init (int8 V_0) + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: ldc.i4.1 + IL_0007: sub + IL_0008: conv.i1 + IL_0009: dup + IL_000a: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_001a: ldc.i4.1 + IL_001b: sub + IL_001c: conv.i1 + IL_001d: dup + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0031: ldc.i4.1 + IL_0032: sub + IL_0033: conv.i1 + IL_0034: dup + IL_0035: stloc.0 + IL_0036: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0049: ldc.i4.1 + IL_004a: sub + IL_004b: conv.i1 + IL_004c: dup + IL_004d: stloc.0 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: dup + IL_005e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0063: ldc.i4.1 + IL_0064: sub + IL_0065: conv.i1 + IL_0066: dup + IL_0067: stloc.0 + IL_0068: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: nop + IL_0074: ldarga.s s + IL_0076: dup + IL_0077: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_007c: ldc.i4.1 + IL_007d: sub + IL_007e: conv.i1 + IL_007f: dup + IL_0080: stloc.0 + IL_0081: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: nop + IL_008e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0093: dup + IL_0094: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0099: ldc.i4.1 + IL_009a: sub + IL_009b: conv.i1 + IL_009c: dup + IL_009d: stloc.0 + IL_009e: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00a3: ldloc.0 + IL_00a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a9: nop + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00b5: ldc.i4.1 + IL_00b6: sub + IL_00b7: conv.i1 + IL_00b8: dup + IL_00b9: stloc.0 + IL_00ba: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: nop + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: dup + IL_00cd: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00d2: ldc.i4.1 + IL_00d3: sub + IL_00d4: conv.i1 + IL_00d5: dup + IL_00d6: stloc.0 + IL_00d7: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00dc: ldloc.0 + IL_00dd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e2: nop + IL_00e3: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e8: dup + IL_00e9: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00ee: ldc.i4.1 + IL_00ef: sub + IL_00f0: conv.i1 + IL_00f1: dup + IL_00f2: stloc.0 + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ff: nop + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0105: dup + IL_0106: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_010b: ldc.i4.1 + IL_010c: sub + IL_010d: conv.i1 + IL_010e: dup + IL_010f: stloc.0 + IL_0110: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: nop + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0127: ldc.i4.1 + IL_0128: sub + IL_0129: conv.i1 + IL_012a: dup + IL_012b: stloc.0 + IL_012c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: nop + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013e: dup + IL_013f: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0144: ldc.i4.1 + IL_0145: sub + IL_0146: conv.i1 + IL_0147: dup + IL_0148: stloc.0 + IL_0149: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_014e: ldloc.0 + IL_014f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0160: ldc.i4.1 + IL_0161: sub + IL_0162: conv.i1 + IL_0163: dup + IL_0164: stloc.0 + IL_0165: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_016a: nop + IL_016b: ldloc.0 + IL_016c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0171: nop + IL_0172: ret + } // end of method CompoundAssignmentTest::SbytePreDecTest + + .method public hidebysig static void ShortAddTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: ldc.i4.5 + IL_0007: add + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0013: ldc.i4.5 IL_0014: add - IL_0015: dup - IL_0016: starg.s i - IL_0018: call void [mscorlib]System.Console::WriteLine(int32) - IL_001d: nop - IL_001e: ldarg.1 - IL_001f: ldc.i4.5 - IL_0020: add - IL_0021: starg.s i - IL_0023: ldarg.1 - IL_0024: ldc.i4.5 - IL_0025: add - IL_0026: dup - IL_0027: starg.s i - IL_0029: call void [mscorlib]System.Console::WriteLine(int32) - IL_002e: nop - IL_002f: ret - } // end of method CompoundAssignmentTest::Int32_Local_Add + IL_0015: conv.i2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0023: ldc.i4.5 + IL_0024: add + IL_0025: conv.i2 + IL_0026: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0032: ldc.i4.5 + IL_0033: add + IL_0034: conv.i2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0043: ldc.i4.5 + IL_0044: add + IL_0045: conv.i2 + IL_0046: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0053: ldc.i4.5 + IL_0054: add + IL_0055: conv.i2 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0067: ldc.i4.5 + IL_0068: add + IL_0069: conv.i2 + IL_006a: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_007a: ldc.i4.5 + IL_007b: add + IL_007c: conv.i2 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_008e: ldc.i4.5 + IL_008f: add + IL_0090: conv.i2 + IL_0091: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00a1: ldc.i4.5 + IL_00a2: add + IL_00a3: conv.i2 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b5: ldc.i4.5 + IL_00b6: add + IL_00b7: conv.i2 + IL_00b8: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c8: ldc.i4.5 + IL_00c9: add + IL_00ca: conv.i2 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00dc: ldc.i4.5 + IL_00dd: add + IL_00de: conv.i2 + IL_00df: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00ef: ldc.i4.5 + IL_00f0: add + IL_00f1: conv.i2 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::ShortAddTest - .method public hidebysig instance void - Int32_Local_Sub(int32 i) cil managed + .method public hidebysig static void ShortSubtractTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 48 (0x30) - .maxstack 8 + // Code size 249 (0xf9) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.1 - IL_0003: sub - IL_0004: starg.s i - IL_0006: ldarg.1 - IL_0007: dup - IL_0008: ldc.i4.1 - IL_0009: sub - IL_000a: starg.s i - IL_000c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0011: nop - IL_0012: ldarg.1 - IL_0013: ldc.i4.1 + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: ldc.i4.5 + IL_0007: sub + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0013: ldc.i4.5 IL_0014: sub - IL_0015: dup - IL_0016: starg.s i - IL_0018: call void [mscorlib]System.Console::WriteLine(int32) - IL_001d: nop - IL_001e: ldarg.1 - IL_001f: ldc.i4.5 - IL_0020: sub - IL_0021: starg.s i - IL_0023: ldarg.1 - IL_0024: ldc.i4.5 - IL_0025: sub - IL_0026: dup - IL_0027: starg.s i - IL_0029: call void [mscorlib]System.Console::WriteLine(int32) - IL_002e: nop - IL_002f: ret - } // end of method CompoundAssignmentTest::Int32_Local_Sub + IL_0015: conv.i2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0023: ldc.i4.5 + IL_0024: sub + IL_0025: conv.i2 + IL_0026: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0032: ldc.i4.5 + IL_0033: sub + IL_0034: conv.i2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0043: ldc.i4.5 + IL_0044: sub + IL_0045: conv.i2 + IL_0046: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0053: ldc.i4.5 + IL_0054: sub + IL_0055: conv.i2 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0067: ldc.i4.5 + IL_0068: sub + IL_0069: conv.i2 + IL_006a: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_007a: ldc.i4.5 + IL_007b: sub + IL_007c: conv.i2 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_008e: ldc.i4.5 + IL_008f: sub + IL_0090: conv.i2 + IL_0091: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00a1: ldc.i4.5 + IL_00a2: sub + IL_00a3: conv.i2 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b5: ldc.i4.5 + IL_00b6: sub + IL_00b7: conv.i2 + IL_00b8: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c8: ldc.i4.5 + IL_00c9: sub + IL_00ca: conv.i2 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00dc: ldc.i4.5 + IL_00dd: sub + IL_00de: conv.i2 + IL_00df: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00ef: ldc.i4.5 + IL_00f0: sub + IL_00f1: conv.i2 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::ShortSubtractTest - .method public hidebysig instance void - Int32_Local_Mul(int32 i) cil managed + .method public hidebysig static void ShortMultiplyTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 19 (0x13) - .maxstack 8 + // Code size 249 (0xf9) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.5 - IL_0003: mul - IL_0004: starg.s i - IL_0006: ldarg.1 - IL_0007: ldc.i4.5 - IL_0008: mul - IL_0009: dup - IL_000a: starg.s i - IL_000c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0011: nop - IL_0012: ret - } // end of method CompoundAssignmentTest::Int32_Local_Mul + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: ldc.i4.5 + IL_0007: mul + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0013: ldc.i4.5 + IL_0014: mul + IL_0015: conv.i2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0023: ldc.i4.5 + IL_0024: mul + IL_0025: conv.i2 + IL_0026: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0032: ldc.i4.5 + IL_0033: mul + IL_0034: conv.i2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0043: ldc.i4.5 + IL_0044: mul + IL_0045: conv.i2 + IL_0046: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0053: ldc.i4.5 + IL_0054: mul + IL_0055: conv.i2 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0067: ldc.i4.5 + IL_0068: mul + IL_0069: conv.i2 + IL_006a: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_007a: ldc.i4.5 + IL_007b: mul + IL_007c: conv.i2 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_008e: ldc.i4.5 + IL_008f: mul + IL_0090: conv.i2 + IL_0091: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00a1: ldc.i4.5 + IL_00a2: mul + IL_00a3: conv.i2 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b5: ldc.i4.5 + IL_00b6: mul + IL_00b7: conv.i2 + IL_00b8: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c8: ldc.i4.5 + IL_00c9: mul + IL_00ca: conv.i2 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00dc: ldc.i4.5 + IL_00dd: mul + IL_00de: conv.i2 + IL_00df: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00ef: ldc.i4.5 + IL_00f0: mul + IL_00f1: conv.i2 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::ShortMultiplyTest - .method public hidebysig instance void - Int32_Local_Div(int32 i) cil managed + .method public hidebysig static void ShortDivideTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 19 (0x13) - .maxstack 8 + // Code size 249 (0xf9) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.5 - IL_0003: div - IL_0004: starg.s i - IL_0006: ldarg.1 - IL_0007: ldc.i4.5 - IL_0008: div - IL_0009: dup - IL_000a: starg.s i - IL_000c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0011: nop - IL_0012: ret - } // end of method CompoundAssignmentTest::Int32_Local_Div + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: ldc.i4.5 + IL_0007: div + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0013: ldc.i4.5 + IL_0014: div + IL_0015: conv.i2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0023: ldc.i4.5 + IL_0024: div + IL_0025: conv.i2 + IL_0026: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0032: ldc.i4.5 + IL_0033: div + IL_0034: conv.i2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0043: ldc.i4.5 + IL_0044: div + IL_0045: conv.i2 + IL_0046: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0053: ldc.i4.5 + IL_0054: div + IL_0055: conv.i2 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0067: ldc.i4.5 + IL_0068: div + IL_0069: conv.i2 + IL_006a: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_007a: ldc.i4.5 + IL_007b: div + IL_007c: conv.i2 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_008e: ldc.i4.5 + IL_008f: div + IL_0090: conv.i2 + IL_0091: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00a1: ldc.i4.5 + IL_00a2: div + IL_00a3: conv.i2 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b5: ldc.i4.5 + IL_00b6: div + IL_00b7: conv.i2 + IL_00b8: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c8: ldc.i4.5 + IL_00c9: div + IL_00ca: conv.i2 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00dc: ldc.i4.5 + IL_00dd: div + IL_00de: conv.i2 + IL_00df: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00ef: ldc.i4.5 + IL_00f0: div + IL_00f1: conv.i2 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::ShortDivideTest - .method public hidebysig instance void - Int32_Local_Rem(int32 i) cil managed + .method public hidebysig static void ShortModulusTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 19 (0x13) - .maxstack 8 + // Code size 249 (0xf9) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.5 - IL_0003: rem - IL_0004: starg.s i - IL_0006: ldarg.1 - IL_0007: ldc.i4.5 - IL_0008: rem - IL_0009: dup - IL_000a: starg.s i - IL_000c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0011: nop - IL_0012: ret - } // end of method CompoundAssignmentTest::Int32_Local_Rem + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: ldc.i4.5 + IL_0007: rem + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0013: ldc.i4.5 + IL_0014: rem + IL_0015: conv.i2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0023: ldc.i4.5 + IL_0024: rem + IL_0025: conv.i2 + IL_0026: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0032: ldc.i4.5 + IL_0033: rem + IL_0034: conv.i2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0043: ldc.i4.5 + IL_0044: rem + IL_0045: conv.i2 + IL_0046: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0053: ldc.i4.5 + IL_0054: rem + IL_0055: conv.i2 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0067: ldc.i4.5 + IL_0068: rem + IL_0069: conv.i2 + IL_006a: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_007a: ldc.i4.5 + IL_007b: rem + IL_007c: conv.i2 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_008e: ldc.i4.5 + IL_008f: rem + IL_0090: conv.i2 + IL_0091: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00a1: ldc.i4.5 + IL_00a2: rem + IL_00a3: conv.i2 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b5: ldc.i4.5 + IL_00b6: rem + IL_00b7: conv.i2 + IL_00b8: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c8: ldc.i4.5 + IL_00c9: rem + IL_00ca: conv.i2 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00dc: ldc.i4.5 + IL_00dd: rem + IL_00de: conv.i2 + IL_00df: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00ef: ldc.i4.5 + IL_00f0: rem + IL_00f1: conv.i2 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::ShortModulusTest - .method public hidebysig instance void - Int32_Local_BitAnd(int32 i) cil managed + .method public hidebysig static void ShortLeftShiftTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 19 (0x13) - .maxstack 8 + // Code size 249 (0xf9) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.5 - IL_0003: and - IL_0004: starg.s i - IL_0006: ldarg.1 - IL_0007: ldc.i4.5 - IL_0008: and + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: ldc.i4.5 + IL_0007: shl + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0013: ldc.i4.5 + IL_0014: shl + IL_0015: conv.i2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0023: ldc.i4.5 + IL_0024: shl + IL_0025: conv.i2 + IL_0026: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0032: ldc.i4.5 + IL_0033: shl + IL_0034: conv.i2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0043: ldc.i4.5 + IL_0044: shl + IL_0045: conv.i2 + IL_0046: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0053: ldc.i4.5 + IL_0054: shl + IL_0055: conv.i2 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0067: ldc.i4.5 + IL_0068: shl + IL_0069: conv.i2 + IL_006a: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_007a: ldc.i4.5 + IL_007b: shl + IL_007c: conv.i2 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_008e: ldc.i4.5 + IL_008f: shl + IL_0090: conv.i2 + IL_0091: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00a1: ldc.i4.5 + IL_00a2: shl + IL_00a3: conv.i2 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b5: ldc.i4.5 + IL_00b6: shl + IL_00b7: conv.i2 + IL_00b8: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c8: ldc.i4.5 + IL_00c9: shl + IL_00ca: conv.i2 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00dc: ldc.i4.5 + IL_00dd: shl + IL_00de: conv.i2 + IL_00df: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00ef: ldc.i4.5 + IL_00f0: shl + IL_00f1: conv.i2 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::ShortLeftShiftTest + + .method public hidebysig static void ShortRightShiftTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: ldc.i4.5 + IL_0007: shr + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0013: ldc.i4.5 + IL_0014: shr + IL_0015: conv.i2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0023: ldc.i4.5 + IL_0024: shr + IL_0025: conv.i2 + IL_0026: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0032: ldc.i4.5 + IL_0033: shr + IL_0034: conv.i2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0043: ldc.i4.5 + IL_0044: shr + IL_0045: conv.i2 + IL_0046: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0053: ldc.i4.5 + IL_0054: shr + IL_0055: conv.i2 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0067: ldc.i4.5 + IL_0068: shr + IL_0069: conv.i2 + IL_006a: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_007a: ldc.i4.5 + IL_007b: shr + IL_007c: conv.i2 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_008e: ldc.i4.5 + IL_008f: shr + IL_0090: conv.i2 + IL_0091: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00a1: ldc.i4.5 + IL_00a2: shr + IL_00a3: conv.i2 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b5: ldc.i4.5 + IL_00b6: shr + IL_00b7: conv.i2 + IL_00b8: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c8: ldc.i4.5 + IL_00c9: shr + IL_00ca: conv.i2 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00dc: ldc.i4.5 + IL_00dd: shr + IL_00de: conv.i2 + IL_00df: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00ef: ldc.i4.5 + IL_00f0: shr + IL_00f1: conv.i2 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::ShortRightShiftTest + + .method public hidebysig static void ShortBitAndTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: ldc.i4.5 + IL_0007: and + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0013: ldc.i4.5 + IL_0014: and + IL_0015: conv.i2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0023: ldc.i4.5 + IL_0024: and + IL_0025: conv.i2 + IL_0026: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0032: ldc.i4.5 + IL_0033: and + IL_0034: conv.i2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0043: ldc.i4.5 + IL_0044: and + IL_0045: conv.i2 + IL_0046: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0053: ldc.i4.5 + IL_0054: and + IL_0055: conv.i2 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0067: ldc.i4.5 + IL_0068: and + IL_0069: conv.i2 + IL_006a: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_007a: ldc.i4.5 + IL_007b: and + IL_007c: conv.i2 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_008e: ldc.i4.5 + IL_008f: and + IL_0090: conv.i2 + IL_0091: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00a1: ldc.i4.5 + IL_00a2: and + IL_00a3: conv.i2 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b5: ldc.i4.5 + IL_00b6: and + IL_00b7: conv.i2 + IL_00b8: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c8: ldc.i4.5 + IL_00c9: and + IL_00ca: conv.i2 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00dc: ldc.i4.5 + IL_00dd: and + IL_00de: conv.i2 + IL_00df: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00ef: ldc.i4.5 + IL_00f0: and + IL_00f1: conv.i2 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::ShortBitAndTest + + .method public hidebysig static void ShortBitOrTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: ldc.i4.5 + IL_0007: or + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0013: ldc.i4.5 + IL_0014: or + IL_0015: conv.i2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0023: ldc.i4.5 + IL_0024: or + IL_0025: conv.i2 + IL_0026: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0032: ldc.i4.5 + IL_0033: or + IL_0034: conv.i2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0043: ldc.i4.5 + IL_0044: or + IL_0045: conv.i2 + IL_0046: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0053: ldc.i4.5 + IL_0054: or + IL_0055: conv.i2 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0067: ldc.i4.5 + IL_0068: or + IL_0069: conv.i2 + IL_006a: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_007a: ldc.i4.5 + IL_007b: or + IL_007c: conv.i2 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_008e: ldc.i4.5 + IL_008f: or + IL_0090: conv.i2 + IL_0091: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00a1: ldc.i4.5 + IL_00a2: or + IL_00a3: conv.i2 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b5: ldc.i4.5 + IL_00b6: or + IL_00b7: conv.i2 + IL_00b8: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c8: ldc.i4.5 + IL_00c9: or + IL_00ca: conv.i2 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00dc: ldc.i4.5 + IL_00dd: or + IL_00de: conv.i2 + IL_00df: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00ef: ldc.i4.5 + IL_00f0: or + IL_00f1: conv.i2 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::ShortBitOrTest + + .method public hidebysig static void ShortBitXorTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: ldc.i4.5 + IL_0007: xor + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0013: ldc.i4.5 + IL_0014: xor + IL_0015: conv.i2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0023: ldc.i4.5 + IL_0024: xor + IL_0025: conv.i2 + IL_0026: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0032: ldc.i4.5 + IL_0033: xor + IL_0034: conv.i2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0043: ldc.i4.5 + IL_0044: xor + IL_0045: conv.i2 + IL_0046: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0053: ldc.i4.5 + IL_0054: xor + IL_0055: conv.i2 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0067: ldc.i4.5 + IL_0068: xor + IL_0069: conv.i2 + IL_006a: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_007a: ldc.i4.5 + IL_007b: xor + IL_007c: conv.i2 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_008e: ldc.i4.5 + IL_008f: xor + IL_0090: conv.i2 + IL_0091: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00a1: ldc.i4.5 + IL_00a2: xor + IL_00a3: conv.i2 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b5: ldc.i4.5 + IL_00b6: xor + IL_00b7: conv.i2 + IL_00b8: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c8: ldc.i4.5 + IL_00c9: xor + IL_00ca: conv.i2 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00dc: ldc.i4.5 + IL_00dd: xor + IL_00de: conv.i2 + IL_00df: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00ef: ldc.i4.5 + IL_00f0: xor + IL_00f1: conv.i2 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::ShortBitXorTest + + .method public hidebysig static void ShortPostIncTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 371 (0x173) + .maxstack 3 + .locals init (int16 V_0) + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: conv.i2 + IL_000a: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_001a: dup + IL_001b: ldc.i4.1 + IL_001c: add + IL_001d: conv.i2 + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0031: dup + IL_0032: stloc.0 + IL_0033: ldc.i4.1 + IL_0034: add + IL_0035: conv.i2 + IL_0036: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0049: dup + IL_004a: stloc.0 + IL_004b: ldc.i4.1 + IL_004c: add + IL_004d: conv.i2 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: dup + IL_005e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0063: dup + IL_0064: stloc.0 + IL_0065: ldc.i4.1 + IL_0066: add + IL_0067: conv.i2 + IL_0068: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: nop + IL_0074: ldarga.s s + IL_0076: dup + IL_0077: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_007c: dup + IL_007d: stloc.0 + IL_007e: ldc.i4.1 + IL_007f: add + IL_0080: conv.i2 + IL_0081: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: nop + IL_008e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0093: dup + IL_0094: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0099: dup + IL_009a: stloc.0 + IL_009b: ldc.i4.1 + IL_009c: add + IL_009d: conv.i2 + IL_009e: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00a3: ldloc.0 + IL_00a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a9: nop + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00b5: dup + IL_00b6: stloc.0 + IL_00b7: ldc.i4.1 + IL_00b8: add + IL_00b9: conv.i2 + IL_00ba: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: nop + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: dup + IL_00cd: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00d2: dup + IL_00d3: stloc.0 + IL_00d4: ldc.i4.1 + IL_00d5: add + IL_00d6: conv.i2 + IL_00d7: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00dc: ldloc.0 + IL_00dd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e2: nop + IL_00e3: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e8: dup + IL_00e9: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00ee: dup + IL_00ef: stloc.0 + IL_00f0: ldc.i4.1 + IL_00f1: add + IL_00f2: conv.i2 + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ff: nop + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0105: dup + IL_0106: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_010b: dup + IL_010c: stloc.0 + IL_010d: ldc.i4.1 + IL_010e: add + IL_010f: conv.i2 + IL_0110: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: nop + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0127: dup + IL_0128: stloc.0 + IL_0129: ldc.i4.1 + IL_012a: add + IL_012b: conv.i2 + IL_012c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: nop + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013e: dup + IL_013f: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0144: dup + IL_0145: stloc.0 + IL_0146: ldc.i4.1 + IL_0147: add + IL_0148: conv.i2 + IL_0149: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_014e: ldloc.0 + IL_014f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0160: dup + IL_0161: stloc.0 + IL_0162: ldc.i4.1 + IL_0163: add + IL_0164: conv.i2 + IL_0165: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_016a: nop + IL_016b: ldloc.0 + IL_016c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0171: nop + IL_0172: ret + } // end of method CompoundAssignmentTest::ShortPostIncTest + + .method public hidebysig static void ShortPreIncTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 371 (0x173) + .maxstack 3 + .locals init (int16 V_0) + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.i2 IL_0009: dup - IL_000a: starg.s i - IL_000c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0011: nop - IL_0012: ret - } // end of method CompoundAssignmentTest::Int32_Local_BitAnd + IL_000a: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_001a: ldc.i4.1 + IL_001b: add + IL_001c: conv.i2 + IL_001d: dup + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0031: ldc.i4.1 + IL_0032: add + IL_0033: conv.i2 + IL_0034: dup + IL_0035: stloc.0 + IL_0036: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0049: ldc.i4.1 + IL_004a: add + IL_004b: conv.i2 + IL_004c: dup + IL_004d: stloc.0 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: dup + IL_005e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0063: ldc.i4.1 + IL_0064: add + IL_0065: conv.i2 + IL_0066: dup + IL_0067: stloc.0 + IL_0068: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: nop + IL_0074: ldarga.s s + IL_0076: dup + IL_0077: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_007c: ldc.i4.1 + IL_007d: add + IL_007e: conv.i2 + IL_007f: dup + IL_0080: stloc.0 + IL_0081: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: nop + IL_008e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0093: dup + IL_0094: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0099: ldc.i4.1 + IL_009a: add + IL_009b: conv.i2 + IL_009c: dup + IL_009d: stloc.0 + IL_009e: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00a3: ldloc.0 + IL_00a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a9: nop + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00b5: ldc.i4.1 + IL_00b6: add + IL_00b7: conv.i2 + IL_00b8: dup + IL_00b9: stloc.0 + IL_00ba: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: nop + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: dup + IL_00cd: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00d2: ldc.i4.1 + IL_00d3: add + IL_00d4: conv.i2 + IL_00d5: dup + IL_00d6: stloc.0 + IL_00d7: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00dc: ldloc.0 + IL_00dd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e2: nop + IL_00e3: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e8: dup + IL_00e9: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00ee: ldc.i4.1 + IL_00ef: add + IL_00f0: conv.i2 + IL_00f1: dup + IL_00f2: stloc.0 + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ff: nop + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0105: dup + IL_0106: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_010b: ldc.i4.1 + IL_010c: add + IL_010d: conv.i2 + IL_010e: dup + IL_010f: stloc.0 + IL_0110: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: nop + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0127: ldc.i4.1 + IL_0128: add + IL_0129: conv.i2 + IL_012a: dup + IL_012b: stloc.0 + IL_012c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: nop + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013e: dup + IL_013f: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0144: ldc.i4.1 + IL_0145: add + IL_0146: conv.i2 + IL_0147: dup + IL_0148: stloc.0 + IL_0149: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_014e: ldloc.0 + IL_014f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0160: ldc.i4.1 + IL_0161: add + IL_0162: conv.i2 + IL_0163: dup + IL_0164: stloc.0 + IL_0165: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_016a: nop + IL_016b: ldloc.0 + IL_016c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0171: nop + IL_0172: ret + } // end of method CompoundAssignmentTest::ShortPreIncTest - .method public hidebysig instance void - Int32_Local_BitOr(int32 i) cil managed + .method public hidebysig static void ShortPostDecTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 19 (0x13) - .maxstack 8 + // Code size 371 (0x173) + .maxstack 3 + .locals init (int16 V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.5 - IL_0003: or - IL_0004: starg.s i - IL_0006: ldarg.1 - IL_0007: ldc.i4.5 - IL_0008: or + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: sub + IL_0009: conv.i2 + IL_000a: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_001a: dup + IL_001b: ldc.i4.1 + IL_001c: sub + IL_001d: conv.i2 + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0031: dup + IL_0032: stloc.0 + IL_0033: ldc.i4.1 + IL_0034: sub + IL_0035: conv.i2 + IL_0036: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0049: dup + IL_004a: stloc.0 + IL_004b: ldc.i4.1 + IL_004c: sub + IL_004d: conv.i2 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: dup + IL_005e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0063: dup + IL_0064: stloc.0 + IL_0065: ldc.i4.1 + IL_0066: sub + IL_0067: conv.i2 + IL_0068: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: nop + IL_0074: ldarga.s s + IL_0076: dup + IL_0077: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_007c: dup + IL_007d: stloc.0 + IL_007e: ldc.i4.1 + IL_007f: sub + IL_0080: conv.i2 + IL_0081: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: nop + IL_008e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0093: dup + IL_0094: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0099: dup + IL_009a: stloc.0 + IL_009b: ldc.i4.1 + IL_009c: sub + IL_009d: conv.i2 + IL_009e: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00a3: ldloc.0 + IL_00a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a9: nop + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00b5: dup + IL_00b6: stloc.0 + IL_00b7: ldc.i4.1 + IL_00b8: sub + IL_00b9: conv.i2 + IL_00ba: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: nop + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: dup + IL_00cd: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00d2: dup + IL_00d3: stloc.0 + IL_00d4: ldc.i4.1 + IL_00d5: sub + IL_00d6: conv.i2 + IL_00d7: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00dc: ldloc.0 + IL_00dd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e2: nop + IL_00e3: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e8: dup + IL_00e9: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00ee: dup + IL_00ef: stloc.0 + IL_00f0: ldc.i4.1 + IL_00f1: sub + IL_00f2: conv.i2 + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ff: nop + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0105: dup + IL_0106: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_010b: dup + IL_010c: stloc.0 + IL_010d: ldc.i4.1 + IL_010e: sub + IL_010f: conv.i2 + IL_0110: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: nop + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0127: dup + IL_0128: stloc.0 + IL_0129: ldc.i4.1 + IL_012a: sub + IL_012b: conv.i2 + IL_012c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: nop + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013e: dup + IL_013f: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0144: dup + IL_0145: stloc.0 + IL_0146: ldc.i4.1 + IL_0147: sub + IL_0148: conv.i2 + IL_0149: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_014e: ldloc.0 + IL_014f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0160: dup + IL_0161: stloc.0 + IL_0162: ldc.i4.1 + IL_0163: sub + IL_0164: conv.i2 + IL_0165: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_016a: nop + IL_016b: ldloc.0 + IL_016c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0171: nop + IL_0172: ret + } // end of method CompoundAssignmentTest::ShortPostDecTest + + .method public hidebysig static void ShortPreDecTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 371 (0x173) + .maxstack 3 + .locals init (int16 V_0) + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: ldc.i4.1 + IL_0007: sub + IL_0008: conv.i2 IL_0009: dup - IL_000a: starg.s i - IL_000c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0011: nop - IL_0012: ret - } // end of method CompoundAssignmentTest::Int32_Local_BitOr + IL_000a: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_001a: ldc.i4.1 + IL_001b: sub + IL_001c: conv.i2 + IL_001d: dup + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0031: ldc.i4.1 + IL_0032: sub + IL_0033: conv.i2 + IL_0034: dup + IL_0035: stloc.0 + IL_0036: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0049: ldc.i4.1 + IL_004a: sub + IL_004b: conv.i2 + IL_004c: dup + IL_004d: stloc.0 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: dup + IL_005e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0063: ldc.i4.1 + IL_0064: sub + IL_0065: conv.i2 + IL_0066: dup + IL_0067: stloc.0 + IL_0068: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: nop + IL_0074: ldarga.s s + IL_0076: dup + IL_0077: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_007c: ldc.i4.1 + IL_007d: sub + IL_007e: conv.i2 + IL_007f: dup + IL_0080: stloc.0 + IL_0081: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: nop + IL_008e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0093: dup + IL_0094: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0099: ldc.i4.1 + IL_009a: sub + IL_009b: conv.i2 + IL_009c: dup + IL_009d: stloc.0 + IL_009e: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00a3: ldloc.0 + IL_00a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a9: nop + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00b5: ldc.i4.1 + IL_00b6: sub + IL_00b7: conv.i2 + IL_00b8: dup + IL_00b9: stloc.0 + IL_00ba: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: nop + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: dup + IL_00cd: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00d2: ldc.i4.1 + IL_00d3: sub + IL_00d4: conv.i2 + IL_00d5: dup + IL_00d6: stloc.0 + IL_00d7: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00dc: ldloc.0 + IL_00dd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e2: nop + IL_00e3: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e8: dup + IL_00e9: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00ee: ldc.i4.1 + IL_00ef: sub + IL_00f0: conv.i2 + IL_00f1: dup + IL_00f2: stloc.0 + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ff: nop + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0105: dup + IL_0106: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_010b: ldc.i4.1 + IL_010c: sub + IL_010d: conv.i2 + IL_010e: dup + IL_010f: stloc.0 + IL_0110: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: nop + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0127: ldc.i4.1 + IL_0128: sub + IL_0129: conv.i2 + IL_012a: dup + IL_012b: stloc.0 + IL_012c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: nop + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013e: dup + IL_013f: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0144: ldc.i4.1 + IL_0145: sub + IL_0146: conv.i2 + IL_0147: dup + IL_0148: stloc.0 + IL_0149: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_014e: ldloc.0 + IL_014f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0160: ldc.i4.1 + IL_0161: sub + IL_0162: conv.i2 + IL_0163: dup + IL_0164: stloc.0 + IL_0165: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_016a: nop + IL_016b: ldloc.0 + IL_016c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0171: nop + IL_0172: ret + } // end of method CompoundAssignmentTest::ShortPreDecTest + + .method public hidebysig static void UshortAddTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: ldc.i4.5 + IL_0007: add + IL_0008: conv.u2 + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0013: ldc.i4.5 + IL_0014: add + IL_0015: conv.u2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0023: ldc.i4.5 + IL_0024: add + IL_0025: conv.u2 + IL_0026: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0032: ldc.i4.5 + IL_0033: add + IL_0034: conv.u2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0043: ldc.i4.5 + IL_0044: add + IL_0045: conv.u2 + IL_0046: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0053: ldc.i4.5 + IL_0054: add + IL_0055: conv.u2 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0067: ldc.i4.5 + IL_0068: add + IL_0069: conv.u2 + IL_006a: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_007a: ldc.i4.5 + IL_007b: add + IL_007c: conv.u2 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_008e: ldc.i4.5 + IL_008f: add + IL_0090: conv.u2 + IL_0091: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00a1: ldc.i4.5 + IL_00a2: add + IL_00a3: conv.u2 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b5: ldc.i4.5 + IL_00b6: add + IL_00b7: conv.u2 + IL_00b8: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c8: ldc.i4.5 + IL_00c9: add + IL_00ca: conv.u2 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00dc: ldc.i4.5 + IL_00dd: add + IL_00de: conv.u2 + IL_00df: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00ef: ldc.i4.5 + IL_00f0: add + IL_00f1: conv.u2 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::UshortAddTest - .method public hidebysig instance void - Int32_Local_BitXor(int32 i) cil managed + .method public hidebysig static void UshortSubtractTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 19 (0x13) - .maxstack 8 + // Code size 249 (0xf9) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.5 - IL_0003: xor - IL_0004: starg.s i - IL_0006: ldarg.1 - IL_0007: ldc.i4.5 - IL_0008: xor - IL_0009: dup - IL_000a: starg.s i - IL_000c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0011: nop - IL_0012: ret - } // end of method CompoundAssignmentTest::Int32_Local_BitXor + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: ldc.i4.5 + IL_0007: sub + IL_0008: conv.u2 + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0013: ldc.i4.5 + IL_0014: sub + IL_0015: conv.u2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0023: ldc.i4.5 + IL_0024: sub + IL_0025: conv.u2 + IL_0026: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0032: ldc.i4.5 + IL_0033: sub + IL_0034: conv.u2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0043: ldc.i4.5 + IL_0044: sub + IL_0045: conv.u2 + IL_0046: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0053: ldc.i4.5 + IL_0054: sub + IL_0055: conv.u2 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0067: ldc.i4.5 + IL_0068: sub + IL_0069: conv.u2 + IL_006a: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_007a: ldc.i4.5 + IL_007b: sub + IL_007c: conv.u2 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_008e: ldc.i4.5 + IL_008f: sub + IL_0090: conv.u2 + IL_0091: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00a1: ldc.i4.5 + IL_00a2: sub + IL_00a3: conv.u2 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b5: ldc.i4.5 + IL_00b6: sub + IL_00b7: conv.u2 + IL_00b8: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c8: ldc.i4.5 + IL_00c9: sub + IL_00ca: conv.u2 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00dc: ldc.i4.5 + IL_00dd: sub + IL_00de: conv.u2 + IL_00df: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00ef: ldc.i4.5 + IL_00f0: sub + IL_00f1: conv.u2 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::UshortSubtractTest - .method public hidebysig instance void - Int32_Local_ShiftLeft(int32 i) cil managed + .method public hidebysig static void UshortMultiplyTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 19 (0x13) - .maxstack 8 + // Code size 249 (0xf9) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.5 - IL_0003: shl - IL_0004: starg.s i - IL_0006: ldarg.1 - IL_0007: ldc.i4.5 - IL_0008: shl - IL_0009: dup - IL_000a: starg.s i - IL_000c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0011: nop - IL_0012: ret - } // end of method CompoundAssignmentTest::Int32_Local_ShiftLeft + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: ldc.i4.5 + IL_0007: mul + IL_0008: conv.u2 + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0013: ldc.i4.5 + IL_0014: mul + IL_0015: conv.u2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0023: ldc.i4.5 + IL_0024: mul + IL_0025: conv.u2 + IL_0026: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0032: ldc.i4.5 + IL_0033: mul + IL_0034: conv.u2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0043: ldc.i4.5 + IL_0044: mul + IL_0045: conv.u2 + IL_0046: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0053: ldc.i4.5 + IL_0054: mul + IL_0055: conv.u2 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0067: ldc.i4.5 + IL_0068: mul + IL_0069: conv.u2 + IL_006a: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_007a: ldc.i4.5 + IL_007b: mul + IL_007c: conv.u2 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_008e: ldc.i4.5 + IL_008f: mul + IL_0090: conv.u2 + IL_0091: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00a1: ldc.i4.5 + IL_00a2: mul + IL_00a3: conv.u2 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b5: ldc.i4.5 + IL_00b6: mul + IL_00b7: conv.u2 + IL_00b8: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c8: ldc.i4.5 + IL_00c9: mul + IL_00ca: conv.u2 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00dc: ldc.i4.5 + IL_00dd: mul + IL_00de: conv.u2 + IL_00df: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00ef: ldc.i4.5 + IL_00f0: mul + IL_00f1: conv.u2 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::UshortMultiplyTest - .method public hidebysig instance void - Int32_Local_ShiftRight(int32 i) cil managed + .method public hidebysig static void UshortDivideTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 19 (0x13) - .maxstack 8 + // Code size 249 (0xf9) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.5 - IL_0003: shr - IL_0004: starg.s i - IL_0006: ldarg.1 - IL_0007: ldc.i4.5 - IL_0008: shr - IL_0009: dup - IL_000a: starg.s i - IL_000c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0011: nop - IL_0012: ret - } // end of method CompoundAssignmentTest::Int32_Local_ShiftRight + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: ldc.i4.5 + IL_0007: div + IL_0008: conv.u2 + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0013: ldc.i4.5 + IL_0014: div + IL_0015: conv.u2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0023: ldc.i4.5 + IL_0024: div + IL_0025: conv.u2 + IL_0026: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0032: ldc.i4.5 + IL_0033: div + IL_0034: conv.u2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0043: ldc.i4.5 + IL_0044: div + IL_0045: conv.u2 + IL_0046: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0053: ldc.i4.5 + IL_0054: div + IL_0055: conv.u2 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0067: ldc.i4.5 + IL_0068: div + IL_0069: conv.u2 + IL_006a: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_007a: ldc.i4.5 + IL_007b: div + IL_007c: conv.u2 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_008e: ldc.i4.5 + IL_008f: div + IL_0090: conv.u2 + IL_0091: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00a1: ldc.i4.5 + IL_00a2: div + IL_00a3: conv.u2 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b5: ldc.i4.5 + IL_00b6: div + IL_00b7: conv.u2 + IL_00b8: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c8: ldc.i4.5 + IL_00c9: div + IL_00ca: conv.u2 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00dc: ldc.i4.5 + IL_00dd: div + IL_00de: conv.u2 + IL_00df: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00ef: ldc.i4.5 + IL_00f0: div + IL_00f1: conv.u2 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::UshortDivideTest - .method public hidebysig instance void - IntegerWithInline(int32 i) cil managed + .method public hidebysig static void UshortModulusTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 21 (0x15) - .maxstack 8 + // Code size 249 (0xf9) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.5 - IL_0003: add - IL_0004: dup - IL_0005: starg.s i - IL_0007: call void [mscorlib]System.Console::WriteLine(int32) - IL_000c: nop - IL_000d: ldarg.1 - IL_000e: call void [mscorlib]System.Console::WriteLine(int32) - IL_0013: nop - IL_0014: ret - } // end of method CompoundAssignmentTest::IntegerWithInline + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: ldc.i4.5 + IL_0007: rem + IL_0008: conv.u2 + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0013: ldc.i4.5 + IL_0014: rem + IL_0015: conv.u2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0023: ldc.i4.5 + IL_0024: rem + IL_0025: conv.u2 + IL_0026: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0032: ldc.i4.5 + IL_0033: rem + IL_0034: conv.u2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0043: ldc.i4.5 + IL_0044: rem + IL_0045: conv.u2 + IL_0046: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0053: ldc.i4.5 + IL_0054: rem + IL_0055: conv.u2 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0067: ldc.i4.5 + IL_0068: rem + IL_0069: conv.u2 + IL_006a: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_007a: ldc.i4.5 + IL_007b: rem + IL_007c: conv.u2 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_008e: ldc.i4.5 + IL_008f: rem + IL_0090: conv.u2 + IL_0091: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00a1: ldc.i4.5 + IL_00a2: rem + IL_00a3: conv.u2 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b5: ldc.i4.5 + IL_00b6: rem + IL_00b7: conv.u2 + IL_00b8: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c8: ldc.i4.5 + IL_00c9: rem + IL_00ca: conv.u2 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00dc: ldc.i4.5 + IL_00dd: rem + IL_00de: conv.u2 + IL_00df: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00ef: ldc.i4.5 + IL_00f0: rem + IL_00f1: conv.u2 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::UshortModulusTest - .method public hidebysig instance void - IntegerField(int32 i) cil managed + .method public hidebysig static void UshortLeftShiftTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 72 (0x48) + // Code size 249 (0xf9) .maxstack 3 - .locals init (int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: dup - IL_0003: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 - IL_0008: ldarg.1 - IL_0009: add - IL_000a: dup - IL_000b: stloc.0 - IL_000c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 - IL_0011: ldloc.0 - IL_0012: call void [mscorlib]System.Console::WriteLine(int32) - IL_0017: nop - IL_0018: ldarg.0 - IL_0019: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 - IL_001e: call void [mscorlib]System.Console::WriteLine(int32) - IL_0023: nop - IL_0024: ldarg.0 - IL_0025: dup - IL_0026: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: ldc.i4.5 + IL_0007: shl + IL_0008: conv.u2 + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0013: ldc.i4.5 + IL_0014: shl + IL_0015: conv.u2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0023: ldc.i4.5 + IL_0024: shl + IL_0025: conv.u2 + IL_0026: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField IL_002b: ldarg.1 - IL_002c: sub - IL_002d: dup - IL_002e: stloc.0 - IL_002f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 - IL_0034: ldloc.0 - IL_0035: call void [mscorlib]System.Console::WriteLine(int32) + IL_002c: dup + IL_002d: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0032: ldc.i4.5 + IL_0033: shl + IL_0034: conv.u2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) IL_003a: nop - IL_003b: ldarg.0 - IL_003c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 - IL_0041: call void [mscorlib]System.Console::WriteLine(int32) - IL_0046: nop - IL_0047: ret - } // end of method CompoundAssignmentTest::IntegerField + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0043: ldc.i4.5 + IL_0044: shl + IL_0045: conv.u2 + IL_0046: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0053: ldc.i4.5 + IL_0054: shl + IL_0055: conv.u2 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0067: ldc.i4.5 + IL_0068: shl + IL_0069: conv.u2 + IL_006a: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_007a: ldc.i4.5 + IL_007b: shl + IL_007c: conv.u2 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_008e: ldc.i4.5 + IL_008f: shl + IL_0090: conv.u2 + IL_0091: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00a1: ldc.i4.5 + IL_00a2: shl + IL_00a3: conv.u2 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b5: ldc.i4.5 + IL_00b6: shl + IL_00b7: conv.u2 + IL_00b8: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c8: ldc.i4.5 + IL_00c9: shl + IL_00ca: conv.u2 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00dc: ldc.i4.5 + IL_00dd: shl + IL_00de: conv.u2 + IL_00df: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00ef: ldc.i4.5 + IL_00f0: shl + IL_00f1: conv.u2 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::UshortLeftShiftTest - .method public hidebysig instance void - Array(int32 i) cil managed + .method public hidebysig static void UshortRightShiftTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 74 (0x4a) - .maxstack 4 - .locals init (int32 V_0) + // Code size 249 (0xf9) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::array1 - IL_0007: ldarg.1 - IL_0008: ldelema [mscorlib]System.Int32 - IL_000d: dup - IL_000e: ldobj [mscorlib]System.Int32 - IL_0013: ldarg.1 - IL_0014: add - IL_0015: dup - IL_0016: stloc.0 - IL_0017: stobj [mscorlib]System.Int32 - IL_001c: ldloc.0 - IL_001d: call void [mscorlib]System.Console::WriteLine(int32) - IL_0022: nop - IL_0023: ldarg.0 - IL_0024: ldfld int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::array1 - IL_0029: ldarg.1 - IL_002a: ldc.i4.2 - IL_002b: mul - IL_002c: ldelema [mscorlib]System.Int32 - IL_0031: dup - IL_0032: ldobj [mscorlib]System.Int32 - IL_0037: ldarg.1 - IL_0038: ldc.i4.2 - IL_0039: mul - IL_003a: add - IL_003b: dup - IL_003c: stloc.0 - IL_003d: stobj [mscorlib]System.Int32 - IL_0042: ldloc.0 - IL_0043: call void [mscorlib]System.Console::WriteLine(int32) - IL_0048: nop - IL_0049: ret - } // end of method CompoundAssignmentTest::Array + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: ldc.i4.5 + IL_0007: shr + IL_0008: conv.u2 + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0013: ldc.i4.5 + IL_0014: shr + IL_0015: conv.u2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0023: ldc.i4.5 + IL_0024: shr + IL_0025: conv.u2 + IL_0026: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0032: ldc.i4.5 + IL_0033: shr + IL_0034: conv.u2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0043: ldc.i4.5 + IL_0044: shr + IL_0045: conv.u2 + IL_0046: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0053: ldc.i4.5 + IL_0054: shr + IL_0055: conv.u2 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0067: ldc.i4.5 + IL_0068: shr + IL_0069: conv.u2 + IL_006a: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_007a: ldc.i4.5 + IL_007b: shr + IL_007c: conv.u2 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_008e: ldc.i4.5 + IL_008f: shr + IL_0090: conv.u2 + IL_0091: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00a1: ldc.i4.5 + IL_00a2: shr + IL_00a3: conv.u2 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b5: ldc.i4.5 + IL_00b6: shr + IL_00b7: conv.u2 + IL_00b8: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c8: ldc.i4.5 + IL_00c9: shr + IL_00ca: conv.u2 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00dc: ldc.i4.5 + IL_00dd: shr + IL_00de: conv.u2 + IL_00df: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00ef: ldc.i4.5 + IL_00f0: shr + IL_00f1: conv.u2 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::UshortRightShiftTest - .method public hidebysig instance int32 - ArrayUsageWithMethods() cil managed + .method public hidebysig static void UshortBitAndTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 39 (0x27) + // Code size 249 (0xf9) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetArray() - IL_0007: ldarg.0 - IL_0008: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetIndex() - IL_000d: ldelema [mscorlib]System.Int32 - IL_0012: dup - IL_0013: ldobj [mscorlib]System.Int32 - IL_0018: dup - IL_0019: stloc.1 - IL_001a: ldc.i4.1 - IL_001b: add - IL_001c: stobj [mscorlib]System.Int32 - IL_0021: ldloc.1 - IL_0022: stloc.0 - IL_0023: br.s IL_0025 + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: ldc.i4.5 + IL_0007: and + IL_0008: conv.u2 + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0013: ldc.i4.5 + IL_0014: and + IL_0015: conv.u2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0023: ldc.i4.5 + IL_0024: and + IL_0025: conv.u2 + IL_0026: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0032: ldc.i4.5 + IL_0033: and + IL_0034: conv.u2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0043: ldc.i4.5 + IL_0044: and + IL_0045: conv.u2 + IL_0046: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0053: ldc.i4.5 + IL_0054: and + IL_0055: conv.u2 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0067: ldc.i4.5 + IL_0068: and + IL_0069: conv.u2 + IL_006a: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_007a: ldc.i4.5 + IL_007b: and + IL_007c: conv.u2 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_008e: ldc.i4.5 + IL_008f: and + IL_0090: conv.u2 + IL_0091: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00a1: ldc.i4.5 + IL_00a2: and + IL_00a3: conv.u2 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b5: ldc.i4.5 + IL_00b6: and + IL_00b7: conv.u2 + IL_00b8: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c8: ldc.i4.5 + IL_00c9: and + IL_00ca: conv.u2 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00dc: ldc.i4.5 + IL_00dd: and + IL_00de: conv.u2 + IL_00df: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00ef: ldc.i4.5 + IL_00f0: and + IL_00f1: conv.u2 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::UshortBitAndTest - IL_0025: ldloc.0 - IL_0026: ret - } // end of method CompoundAssignmentTest::ArrayUsageWithMethods + .method public hidebysig static void UshortBitOrTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: ldc.i4.5 + IL_0007: or + IL_0008: conv.u2 + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0013: ldc.i4.5 + IL_0014: or + IL_0015: conv.u2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0023: ldc.i4.5 + IL_0024: or + IL_0025: conv.u2 + IL_0026: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0032: ldc.i4.5 + IL_0033: or + IL_0034: conv.u2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0043: ldc.i4.5 + IL_0044: or + IL_0045: conv.u2 + IL_0046: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0053: ldc.i4.5 + IL_0054: or + IL_0055: conv.u2 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0067: ldc.i4.5 + IL_0068: or + IL_0069: conv.u2 + IL_006a: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_007a: ldc.i4.5 + IL_007b: or + IL_007c: conv.u2 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_008e: ldc.i4.5 + IL_008f: or + IL_0090: conv.u2 + IL_0091: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00a1: ldc.i4.5 + IL_00a2: or + IL_00a3: conv.u2 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b5: ldc.i4.5 + IL_00b6: or + IL_00b7: conv.u2 + IL_00b8: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c8: ldc.i4.5 + IL_00c9: or + IL_00ca: conv.u2 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00dc: ldc.i4.5 + IL_00dd: or + IL_00de: conv.u2 + IL_00df: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00ef: ldc.i4.5 + IL_00f0: or + IL_00f1: conv.u2 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::UshortBitOrTest - .method public hidebysig instance void - NestedField() cil managed + .method public hidebysig static void UshortBitXorTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 97 (0x61) + // Code size 249 (0xf9) .maxstack 3 - .locals init (bool V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 - IL_0007: ldfld bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::HasIndex - IL_000c: ldc.i4.0 - IL_000d: ceq - IL_000f: stloc.0 - IL_0010: ldloc.0 - IL_0011: brtrue.s IL_0060 + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: ldc.i4.5 + IL_0007: xor + IL_0008: conv.u2 + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0013: ldc.i4.5 + IL_0014: xor + IL_0015: conv.u2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0023: ldc.i4.5 + IL_0024: xor + IL_0025: conv.u2 + IL_0026: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0032: ldc.i4.5 + IL_0033: xor + IL_0034: conv.u2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0043: ldc.i4.5 + IL_0044: xor + IL_0045: conv.u2 + IL_0046: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0053: ldc.i4.5 + IL_0054: xor + IL_0055: conv.u2 + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0067: ldc.i4.5 + IL_0068: xor + IL_0069: conv.u2 + IL_006a: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_007a: ldc.i4.5 + IL_007b: xor + IL_007c: conv.u2 + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_008e: ldc.i4.5 + IL_008f: xor + IL_0090: conv.u2 + IL_0091: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00a1: ldc.i4.5 + IL_00a2: xor + IL_00a3: conv.u2 + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b5: ldc.i4.5 + IL_00b6: xor + IL_00b7: conv.u2 + IL_00b8: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c8: ldc.i4.5 + IL_00c9: xor + IL_00ca: conv.u2 + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00dc: ldc.i4.5 + IL_00dd: xor + IL_00de: conv.u2 + IL_00df: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00ef: ldc.i4.5 + IL_00f0: xor + IL_00f1: conv.u2 + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::UshortBitXorTest - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 + .method public hidebysig static void UshortPostIncTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 371 (0x173) + .maxstack 3 + .locals init (uint16 V_0) + IL_0000: nop + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: conv.u2 + IL_000a: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() IL_001a: dup - IL_001b: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field - IL_0020: ldc.i4.2 - IL_0021: mul - IL_0022: dup - IL_0023: stloc.1 - IL_0024: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field - IL_0029: ldloc.1 - IL_002a: call void [mscorlib]System.Console::WriteLine(int32) - IL_002f: nop - IL_0030: ldarg.0 - IL_0031: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 - IL_0036: dup - IL_0037: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field - IL_003c: ldc.i4.1 - IL_003d: add - IL_003e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field - IL_0043: ldarg.0 - IL_0044: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 + IL_001b: ldc.i4.1 + IL_001c: add + IL_001d: conv.u2 + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0031: dup + IL_0032: stloc.0 + IL_0033: ldc.i4.1 + IL_0034: add + IL_0035: conv.u2 + IL_0036: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() IL_0049: dup - IL_004a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field - IL_004f: dup - IL_0050: stloc.1 - IL_0051: ldc.i4.1 - IL_0052: add - IL_0053: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field - IL_0058: ldloc.1 - IL_0059: call void [mscorlib]System.Console::WriteLine(int32) - IL_005e: nop - IL_005f: nop - IL_0060: ret - } // end of method CompoundAssignmentTest::NestedField + IL_004a: stloc.0 + IL_004b: ldc.i4.1 + IL_004c: add + IL_004d: conv.u2 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: dup + IL_005e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0063: dup + IL_0064: stloc.0 + IL_0065: ldc.i4.1 + IL_0066: add + IL_0067: conv.u2 + IL_0068: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: nop + IL_0074: ldarga.s s + IL_0076: dup + IL_0077: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_007c: dup + IL_007d: stloc.0 + IL_007e: ldc.i4.1 + IL_007f: add + IL_0080: conv.u2 + IL_0081: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: nop + IL_008e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0093: dup + IL_0094: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0099: dup + IL_009a: stloc.0 + IL_009b: ldc.i4.1 + IL_009c: add + IL_009d: conv.u2 + IL_009e: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00a3: ldloc.0 + IL_00a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a9: nop + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00b5: dup + IL_00b6: stloc.0 + IL_00b7: ldc.i4.1 + IL_00b8: add + IL_00b9: conv.u2 + IL_00ba: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: nop + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: dup + IL_00cd: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00d2: dup + IL_00d3: stloc.0 + IL_00d4: ldc.i4.1 + IL_00d5: add + IL_00d6: conv.u2 + IL_00d7: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00dc: ldloc.0 + IL_00dd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e2: nop + IL_00e3: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e8: dup + IL_00e9: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00ee: dup + IL_00ef: stloc.0 + IL_00f0: ldc.i4.1 + IL_00f1: add + IL_00f2: conv.u2 + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ff: nop + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0105: dup + IL_0106: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_010b: dup + IL_010c: stloc.0 + IL_010d: ldc.i4.1 + IL_010e: add + IL_010f: conv.u2 + IL_0110: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: nop + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0127: dup + IL_0128: stloc.0 + IL_0129: ldc.i4.1 + IL_012a: add + IL_012b: conv.u2 + IL_012c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: nop + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013e: dup + IL_013f: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0144: dup + IL_0145: stloc.0 + IL_0146: ldc.i4.1 + IL_0147: add + IL_0148: conv.u2 + IL_0149: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_014e: ldloc.0 + IL_014f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0160: dup + IL_0161: stloc.0 + IL_0162: ldc.i4.1 + IL_0163: add + IL_0164: conv.u2 + IL_0165: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_016a: nop + IL_016b: ldloc.0 + IL_016c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0171: nop + IL_0172: ret + } // end of method CompoundAssignmentTest::UshortPostIncTest + + .method public hidebysig static void UshortPreIncTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 371 (0x173) + .maxstack 3 + .locals init (uint16 V_0) + IL_0000: nop + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.u2 + IL_0009: dup + IL_000a: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_001a: ldc.i4.1 + IL_001b: add + IL_001c: conv.u2 + IL_001d: dup + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0031: ldc.i4.1 + IL_0032: add + IL_0033: conv.u2 + IL_0034: dup + IL_0035: stloc.0 + IL_0036: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0049: ldc.i4.1 + IL_004a: add + IL_004b: conv.u2 + IL_004c: dup + IL_004d: stloc.0 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: dup + IL_005e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0063: ldc.i4.1 + IL_0064: add + IL_0065: conv.u2 + IL_0066: dup + IL_0067: stloc.0 + IL_0068: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: nop + IL_0074: ldarga.s s + IL_0076: dup + IL_0077: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_007c: ldc.i4.1 + IL_007d: add + IL_007e: conv.u2 + IL_007f: dup + IL_0080: stloc.0 + IL_0081: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: nop + IL_008e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0093: dup + IL_0094: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0099: ldc.i4.1 + IL_009a: add + IL_009b: conv.u2 + IL_009c: dup + IL_009d: stloc.0 + IL_009e: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00a3: ldloc.0 + IL_00a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a9: nop + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00b5: ldc.i4.1 + IL_00b6: add + IL_00b7: conv.u2 + IL_00b8: dup + IL_00b9: stloc.0 + IL_00ba: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: nop + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: dup + IL_00cd: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00d2: ldc.i4.1 + IL_00d3: add + IL_00d4: conv.u2 + IL_00d5: dup + IL_00d6: stloc.0 + IL_00d7: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00dc: ldloc.0 + IL_00dd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e2: nop + IL_00e3: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e8: dup + IL_00e9: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00ee: ldc.i4.1 + IL_00ef: add + IL_00f0: conv.u2 + IL_00f1: dup + IL_00f2: stloc.0 + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ff: nop + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0105: dup + IL_0106: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_010b: ldc.i4.1 + IL_010c: add + IL_010d: conv.u2 + IL_010e: dup + IL_010f: stloc.0 + IL_0110: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: nop + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0127: ldc.i4.1 + IL_0128: add + IL_0129: conv.u2 + IL_012a: dup + IL_012b: stloc.0 + IL_012c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: nop + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013e: dup + IL_013f: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0144: ldc.i4.1 + IL_0145: add + IL_0146: conv.u2 + IL_0147: dup + IL_0148: stloc.0 + IL_0149: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_014e: ldloc.0 + IL_014f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0160: ldc.i4.1 + IL_0161: add + IL_0162: conv.u2 + IL_0163: dup + IL_0164: stloc.0 + IL_0165: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_016a: nop + IL_016b: ldloc.0 + IL_016c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0171: nop + IL_0172: ret + } // end of method CompoundAssignmentTest::UshortPreIncTest - .method public hidebysig instance void - Enum() cil managed + .method public hidebysig static void UshortPostDecTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 59 (0x3b) - .maxstack 8 + // Code size 371 (0x173) + .maxstack 3 + .locals init (uint16 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: dup - IL_0003: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_0008: ldc.i4.2 - IL_0009: or - IL_000a: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_000f: ldarg.0 - IL_0010: dup - IL_0011: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_0016: ldc.i4.s -5 - IL_0018: and - IL_0019: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_001e: ldarg.0 - IL_001f: dup - IL_0020: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_0025: ldc.i4.2 - IL_0026: add - IL_0027: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_002c: ldarg.0 - IL_002d: dup - IL_002e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_0033: ldc.i4.3 + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: sub + IL_0009: conv.u2 + IL_000a: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_001a: dup + IL_001b: ldc.i4.1 + IL_001c: sub + IL_001d: conv.u2 + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0031: dup + IL_0032: stloc.0 + IL_0033: ldc.i4.1 IL_0034: sub - IL_0035: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_003a: ret - } // end of method CompoundAssignmentTest::Enum + IL_0035: conv.u2 + IL_0036: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0049: dup + IL_004a: stloc.0 + IL_004b: ldc.i4.1 + IL_004c: sub + IL_004d: conv.u2 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: dup + IL_005e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0063: dup + IL_0064: stloc.0 + IL_0065: ldc.i4.1 + IL_0066: sub + IL_0067: conv.u2 + IL_0068: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: nop + IL_0074: ldarga.s s + IL_0076: dup + IL_0077: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_007c: dup + IL_007d: stloc.0 + IL_007e: ldc.i4.1 + IL_007f: sub + IL_0080: conv.u2 + IL_0081: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: nop + IL_008e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0093: dup + IL_0094: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0099: dup + IL_009a: stloc.0 + IL_009b: ldc.i4.1 + IL_009c: sub + IL_009d: conv.u2 + IL_009e: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00a3: ldloc.0 + IL_00a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a9: nop + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00b5: dup + IL_00b6: stloc.0 + IL_00b7: ldc.i4.1 + IL_00b8: sub + IL_00b9: conv.u2 + IL_00ba: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: nop + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: dup + IL_00cd: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00d2: dup + IL_00d3: stloc.0 + IL_00d4: ldc.i4.1 + IL_00d5: sub + IL_00d6: conv.u2 + IL_00d7: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00dc: ldloc.0 + IL_00dd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e2: nop + IL_00e3: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e8: dup + IL_00e9: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00ee: dup + IL_00ef: stloc.0 + IL_00f0: ldc.i4.1 + IL_00f1: sub + IL_00f2: conv.u2 + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ff: nop + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0105: dup + IL_0106: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_010b: dup + IL_010c: stloc.0 + IL_010d: ldc.i4.1 + IL_010e: sub + IL_010f: conv.u2 + IL_0110: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: nop + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0127: dup + IL_0128: stloc.0 + IL_0129: ldc.i4.1 + IL_012a: sub + IL_012b: conv.u2 + IL_012c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: nop + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013e: dup + IL_013f: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0144: dup + IL_0145: stloc.0 + IL_0146: ldc.i4.1 + IL_0147: sub + IL_0148: conv.u2 + IL_0149: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_014e: ldloc.0 + IL_014f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0160: dup + IL_0161: stloc.0 + IL_0162: ldc.i4.1 + IL_0163: sub + IL_0164: conv.u2 + IL_0165: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_016a: nop + IL_016b: ldloc.0 + IL_016c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0171: nop + IL_0172: ret + } // end of method CompoundAssignmentTest::UshortPostDecTest - .method public hidebysig instance void - ShortEnumTest() cil managed + .method public hidebysig static void UshortPreDecTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 62 (0x3e) - .maxstack 8 + // Code size 371 (0x173) + .maxstack 3 + .locals init (uint16 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: dup - IL_0003: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_0008: ldc.i4.2 - IL_0009: or - IL_000a: conv.i2 - IL_000b: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_0010: ldarg.0 - IL_0011: dup - IL_0012: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_0017: ldc.i4.4 - IL_0018: and - IL_0019: conv.i2 - IL_001a: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_001f: ldarg.0 - IL_0020: dup - IL_0021: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_0026: ldc.i4.2 - IL_0027: add - IL_0028: conv.i2 - IL_0029: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_002e: ldarg.0 - IL_002f: dup - IL_0030: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_0035: ldc.i4.3 - IL_0036: sub - IL_0037: conv.i2 - IL_0038: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_003d: ret - } // end of method CompoundAssignmentTest::ShortEnumTest + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: ldc.i4.1 + IL_0007: sub + IL_0008: conv.u2 + IL_0009: dup + IL_000a: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_001a: ldc.i4.1 + IL_001b: sub + IL_001c: conv.u2 + IL_001d: dup + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0031: ldc.i4.1 + IL_0032: sub + IL_0033: conv.u2 + IL_0034: dup + IL_0035: stloc.0 + IL_0036: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0049: ldc.i4.1 + IL_004a: sub + IL_004b: conv.u2 + IL_004c: dup + IL_004d: stloc.0 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: dup + IL_005e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0063: ldc.i4.1 + IL_0064: sub + IL_0065: conv.u2 + IL_0066: dup + IL_0067: stloc.0 + IL_0068: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: nop + IL_0074: ldarga.s s + IL_0076: dup + IL_0077: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_007c: ldc.i4.1 + IL_007d: sub + IL_007e: conv.u2 + IL_007f: dup + IL_0080: stloc.0 + IL_0081: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: nop + IL_008e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0093: dup + IL_0094: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0099: ldc.i4.1 + IL_009a: sub + IL_009b: conv.u2 + IL_009c: dup + IL_009d: stloc.0 + IL_009e: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00a3: ldloc.0 + IL_00a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a9: nop + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00b5: ldc.i4.1 + IL_00b6: sub + IL_00b7: conv.u2 + IL_00b8: dup + IL_00b9: stloc.0 + IL_00ba: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: nop + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: dup + IL_00cd: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00d2: ldc.i4.1 + IL_00d3: sub + IL_00d4: conv.u2 + IL_00d5: dup + IL_00d6: stloc.0 + IL_00d7: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00dc: ldloc.0 + IL_00dd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e2: nop + IL_00e3: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e8: dup + IL_00e9: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00ee: ldc.i4.1 + IL_00ef: sub + IL_00f0: conv.u2 + IL_00f1: dup + IL_00f2: stloc.0 + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ff: nop + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0105: dup + IL_0106: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_010b: ldc.i4.1 + IL_010c: sub + IL_010d: conv.u2 + IL_010e: dup + IL_010f: stloc.0 + IL_0110: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: nop + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0127: ldc.i4.1 + IL_0128: sub + IL_0129: conv.u2 + IL_012a: dup + IL_012b: stloc.0 + IL_012c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: nop + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013e: dup + IL_013f: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0144: ldc.i4.1 + IL_0145: sub + IL_0146: conv.u2 + IL_0147: dup + IL_0148: stloc.0 + IL_0149: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_014e: ldloc.0 + IL_014f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0160: ldc.i4.1 + IL_0161: sub + IL_0162: conv.u2 + IL_0163: dup + IL_0164: stloc.0 + IL_0165: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_016a: nop + IL_016b: ldloc.0 + IL_016c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0171: nop + IL_0172: ret + } // end of method CompoundAssignmentTest::UshortPreDecTest - .method public hidebysig instance int32 - PreIncrementInAddition(int32 i, - int32 j) cil managed + .method public hidebysig static void IntAddTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) + // Code size 235 (0xeb) .maxstack 3 - .locals init (int32 V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldc.i4.1 - IL_0004: add - IL_0005: dup - IL_0006: starg.s j - IL_0008: add - IL_0009: stloc.0 - IL_000a: br.s IL_000c + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: ldc.i4.5 + IL_0007: add + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0012: ldc.i4.5 + IL_0013: add + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0021: ldc.i4.5 + IL_0022: add + IL_0023: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002f: ldc.i4.5 + IL_0030: add + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: dup + IL_003a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003f: ldc.i4.5 + IL_0040: add + IL_0041: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0046: ldarga.s s + IL_0048: dup + IL_0049: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004e: ldc.i4.5 + IL_004f: add + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0055: nop + IL_0056: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005b: dup + IL_005c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0061: ldc.i4.5 + IL_0062: add + IL_0063: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0073: ldc.i4.5 + IL_0074: add + IL_0075: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_007a: nop + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: dup + IL_0081: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0086: ldc.i4.5 + IL_0087: add + IL_0088: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_008d: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0092: dup + IL_0093: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0098: ldc.i4.5 + IL_0099: add + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_009f: nop + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a5: dup + IL_00a6: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ab: ldc.i4.5 + IL_00ac: add + IL_00ad: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b7: dup + IL_00b8: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00bd: ldc.i4.5 + IL_00be: add + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00c4: nop + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ca: dup + IL_00cb: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d0: ldc.i4.5 + IL_00d1: add + IL_00d2: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00e2: ldc.i4.5 + IL_00e3: add + IL_00e4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e9: nop + IL_00ea: ret + } // end of method CompoundAssignmentTest::IntAddTest - IL_000c: ldloc.0 - IL_000d: ret - } // end of method CompoundAssignmentTest::PreIncrementInAddition + .method public hidebysig static void IntSubtractTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 235 (0xeb) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: ldc.i4.5 + IL_0007: sub + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0012: ldc.i4.5 + IL_0013: sub + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0021: ldc.i4.5 + IL_0022: sub + IL_0023: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002f: ldc.i4.5 + IL_0030: sub + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: dup + IL_003a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003f: ldc.i4.5 + IL_0040: sub + IL_0041: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0046: ldarga.s s + IL_0048: dup + IL_0049: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004e: ldc.i4.5 + IL_004f: sub + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0055: nop + IL_0056: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005b: dup + IL_005c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0061: ldc.i4.5 + IL_0062: sub + IL_0063: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0073: ldc.i4.5 + IL_0074: sub + IL_0075: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_007a: nop + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: dup + IL_0081: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0086: ldc.i4.5 + IL_0087: sub + IL_0088: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_008d: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0092: dup + IL_0093: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0098: ldc.i4.5 + IL_0099: sub + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_009f: nop + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a5: dup + IL_00a6: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ab: ldc.i4.5 + IL_00ac: sub + IL_00ad: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b7: dup + IL_00b8: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00bd: ldc.i4.5 + IL_00be: sub + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00c4: nop + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ca: dup + IL_00cb: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d0: ldc.i4.5 + IL_00d1: sub + IL_00d2: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00e2: ldc.i4.5 + IL_00e3: sub + IL_00e4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e9: nop + IL_00ea: ret + } // end of method CompoundAssignmentTest::IntSubtractTest - .method public hidebysig instance int32 - PreIncrementArrayElement(int32[] 'array', - int32 pos) cil managed + .method public hidebysig static void IntMultiplyTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 29 (0x1d) + // Code size 235 (0xeb) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldelema [mscorlib]System.Int32 - IL_0008: dup - IL_0009: ldobj [mscorlib]System.Int32 - IL_000e: ldc.i4.1 - IL_000f: sub - IL_0010: dup - IL_0011: stloc.1 - IL_0012: stobj [mscorlib]System.Int32 - IL_0017: ldloc.1 - IL_0018: stloc.0 - IL_0019: br.s IL_001b + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: ldc.i4.5 + IL_0007: mul + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0012: ldc.i4.5 + IL_0013: mul + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0021: ldc.i4.5 + IL_0022: mul + IL_0023: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002f: ldc.i4.5 + IL_0030: mul + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: dup + IL_003a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003f: ldc.i4.5 + IL_0040: mul + IL_0041: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0046: ldarga.s s + IL_0048: dup + IL_0049: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004e: ldc.i4.5 + IL_004f: mul + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0055: nop + IL_0056: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005b: dup + IL_005c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0061: ldc.i4.5 + IL_0062: mul + IL_0063: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0073: ldc.i4.5 + IL_0074: mul + IL_0075: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_007a: nop + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: dup + IL_0081: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0086: ldc.i4.5 + IL_0087: mul + IL_0088: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_008d: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0092: dup + IL_0093: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0098: ldc.i4.5 + IL_0099: mul + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_009f: nop + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a5: dup + IL_00a6: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ab: ldc.i4.5 + IL_00ac: mul + IL_00ad: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b7: dup + IL_00b8: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00bd: ldc.i4.5 + IL_00be: mul + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00c4: nop + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ca: dup + IL_00cb: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d0: ldc.i4.5 + IL_00d1: mul + IL_00d2: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00e2: ldc.i4.5 + IL_00e3: mul + IL_00e4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e9: nop + IL_00ea: ret + } // end of method CompoundAssignmentTest::IntMultiplyTest - IL_001b: ldloc.0 - IL_001c: ret - } // end of method CompoundAssignmentTest::PreIncrementArrayElement + .method public hidebysig static void IntDivideTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 235 (0xeb) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: ldc.i4.5 + IL_0007: div + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0012: ldc.i4.5 + IL_0013: div + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0021: ldc.i4.5 + IL_0022: div + IL_0023: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002f: ldc.i4.5 + IL_0030: div + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: dup + IL_003a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003f: ldc.i4.5 + IL_0040: div + IL_0041: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0046: ldarga.s s + IL_0048: dup + IL_0049: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004e: ldc.i4.5 + IL_004f: div + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0055: nop + IL_0056: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005b: dup + IL_005c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0061: ldc.i4.5 + IL_0062: div + IL_0063: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0073: ldc.i4.5 + IL_0074: div + IL_0075: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_007a: nop + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: dup + IL_0081: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0086: ldc.i4.5 + IL_0087: div + IL_0088: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_008d: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0092: dup + IL_0093: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0098: ldc.i4.5 + IL_0099: div + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_009f: nop + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a5: dup + IL_00a6: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ab: ldc.i4.5 + IL_00ac: div + IL_00ad: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b7: dup + IL_00b8: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00bd: ldc.i4.5 + IL_00be: div + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00c4: nop + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ca: dup + IL_00cb: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d0: ldc.i4.5 + IL_00d1: div + IL_00d2: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00e2: ldc.i4.5 + IL_00e3: div + IL_00e4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e9: nop + IL_00ea: ret + } // end of method CompoundAssignmentTest::IntDivideTest - .method public hidebysig instance int32 - PostIncrementArrayElement(int32[] 'array', - int32 pos) cil managed + .method public hidebysig static void IntModulusTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 29 (0x1d) + // Code size 235 (0xeb) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldelema [mscorlib]System.Int32 - IL_0008: dup - IL_0009: ldobj [mscorlib]System.Int32 - IL_000e: dup - IL_000f: stloc.1 - IL_0010: ldc.i4.1 - IL_0011: add - IL_0012: stobj [mscorlib]System.Int32 - IL_0017: ldloc.1 - IL_0018: stloc.0 - IL_0019: br.s IL_001b + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: ldc.i4.5 + IL_0007: rem + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0012: ldc.i4.5 + IL_0013: rem + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0021: ldc.i4.5 + IL_0022: rem + IL_0023: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002f: ldc.i4.5 + IL_0030: rem + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: dup + IL_003a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003f: ldc.i4.5 + IL_0040: rem + IL_0041: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0046: ldarga.s s + IL_0048: dup + IL_0049: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004e: ldc.i4.5 + IL_004f: rem + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0055: nop + IL_0056: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005b: dup + IL_005c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0061: ldc.i4.5 + IL_0062: rem + IL_0063: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0073: ldc.i4.5 + IL_0074: rem + IL_0075: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_007a: nop + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: dup + IL_0081: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0086: ldc.i4.5 + IL_0087: rem + IL_0088: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_008d: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0092: dup + IL_0093: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0098: ldc.i4.5 + IL_0099: rem + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_009f: nop + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a5: dup + IL_00a6: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ab: ldc.i4.5 + IL_00ac: rem + IL_00ad: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b7: dup + IL_00b8: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00bd: ldc.i4.5 + IL_00be: rem + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00c4: nop + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ca: dup + IL_00cb: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d0: ldc.i4.5 + IL_00d1: rem + IL_00d2: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00e2: ldc.i4.5 + IL_00e3: rem + IL_00e4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e9: nop + IL_00ea: ret + } // end of method CompoundAssignmentTest::IntModulusTest - IL_001b: ldloc.0 - IL_001c: ret - } // end of method CompoundAssignmentTest::PostIncrementArrayElement + .method public hidebysig static void IntLeftShiftTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 235 (0xeb) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: ldc.i4.5 + IL_0007: shl + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0012: ldc.i4.5 + IL_0013: shl + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0021: ldc.i4.5 + IL_0022: shl + IL_0023: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002f: ldc.i4.5 + IL_0030: shl + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: dup + IL_003a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003f: ldc.i4.5 + IL_0040: shl + IL_0041: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0046: ldarga.s s + IL_0048: dup + IL_0049: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004e: ldc.i4.5 + IL_004f: shl + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0055: nop + IL_0056: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005b: dup + IL_005c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0061: ldc.i4.5 + IL_0062: shl + IL_0063: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0073: ldc.i4.5 + IL_0074: shl + IL_0075: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_007a: nop + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: dup + IL_0081: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0086: ldc.i4.5 + IL_0087: shl + IL_0088: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_008d: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0092: dup + IL_0093: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0098: ldc.i4.5 + IL_0099: shl + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_009f: nop + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a5: dup + IL_00a6: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ab: ldc.i4.5 + IL_00ac: shl + IL_00ad: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b7: dup + IL_00b8: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00bd: ldc.i4.5 + IL_00be: shl + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00c4: nop + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ca: dup + IL_00cb: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d0: ldc.i4.5 + IL_00d1: shl + IL_00d2: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00e2: ldc.i4.5 + IL_00e3: shl + IL_00e4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e9: nop + IL_00ea: ret + } // end of method CompoundAssignmentTest::IntLeftShiftTest - .method public hidebysig instance void - IncrementArrayElement(int32[] 'array', - int32 pos) cil managed + .method public hidebysig static void IntRightShiftTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 22 (0x16) - .maxstack 8 + // Code size 235 (0xeb) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldelema [mscorlib]System.Int32 - IL_0008: dup - IL_0009: ldobj [mscorlib]System.Int32 - IL_000e: ldc.i4.1 - IL_000f: add - IL_0010: stobj [mscorlib]System.Int32 - IL_0015: ret - } // end of method CompoundAssignmentTest::IncrementArrayElement + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: ldc.i4.5 + IL_0007: shr + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0012: ldc.i4.5 + IL_0013: shr + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0021: ldc.i4.5 + IL_0022: shr + IL_0023: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002f: ldc.i4.5 + IL_0030: shr + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: dup + IL_003a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003f: ldc.i4.5 + IL_0040: shr + IL_0041: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0046: ldarga.s s + IL_0048: dup + IL_0049: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004e: ldc.i4.5 + IL_004f: shr + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0055: nop + IL_0056: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005b: dup + IL_005c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0061: ldc.i4.5 + IL_0062: shr + IL_0063: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0073: ldc.i4.5 + IL_0074: shr + IL_0075: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_007a: nop + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: dup + IL_0081: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0086: ldc.i4.5 + IL_0087: shr + IL_0088: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_008d: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0092: dup + IL_0093: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0098: ldc.i4.5 + IL_0099: shr + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_009f: nop + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a5: dup + IL_00a6: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ab: ldc.i4.5 + IL_00ac: shr + IL_00ad: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b7: dup + IL_00b8: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00bd: ldc.i4.5 + IL_00be: shr + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00c4: nop + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ca: dup + IL_00cb: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d0: ldc.i4.5 + IL_00d1: shr + IL_00d2: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00e2: ldc.i4.5 + IL_00e3: shr + IL_00e4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e9: nop + IL_00ea: ret + } // end of method CompoundAssignmentTest::IntRightShiftTest - .method public hidebysig instance void - DoubleArrayElement(int32[] 'array', - int32 pos) cil managed + .method public hidebysig static void IntBitAndTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 22 (0x16) - .maxstack 8 + // Code size 235 (0xeb) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldelema [mscorlib]System.Int32 - IL_0008: dup - IL_0009: ldobj [mscorlib]System.Int32 - IL_000e: ldc.i4.2 - IL_000f: mul - IL_0010: stobj [mscorlib]System.Int32 - IL_0015: ret - } // end of method CompoundAssignmentTest::DoubleArrayElement + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: ldc.i4.5 + IL_0007: and + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0012: ldc.i4.5 + IL_0013: and + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0021: ldc.i4.5 + IL_0022: and + IL_0023: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002f: ldc.i4.5 + IL_0030: and + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: dup + IL_003a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003f: ldc.i4.5 + IL_0040: and + IL_0041: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0046: ldarga.s s + IL_0048: dup + IL_0049: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004e: ldc.i4.5 + IL_004f: and + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0055: nop + IL_0056: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005b: dup + IL_005c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0061: ldc.i4.5 + IL_0062: and + IL_0063: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0073: ldc.i4.5 + IL_0074: and + IL_0075: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_007a: nop + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: dup + IL_0081: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0086: ldc.i4.5 + IL_0087: and + IL_0088: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_008d: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0092: dup + IL_0093: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0098: ldc.i4.5 + IL_0099: and + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_009f: nop + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a5: dup + IL_00a6: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ab: ldc.i4.5 + IL_00ac: and + IL_00ad: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b7: dup + IL_00b8: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00bd: ldc.i4.5 + IL_00be: and + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00c4: nop + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ca: dup + IL_00cb: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d0: ldc.i4.5 + IL_00d1: and + IL_00d2: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00e2: ldc.i4.5 + IL_00e3: and + IL_00e4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e9: nop + IL_00ea: ret + } // end of method CompoundAssignmentTest::IntBitAndTest - .method public hidebysig instance int32 - DoubleArrayElementAndReturn(int32[] 'array', - int32 pos) cil managed + .method public hidebysig static void IntBitOrTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 29 (0x1d) + // Code size 235 (0xeb) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldelema [mscorlib]System.Int32 - IL_0008: dup - IL_0009: ldobj [mscorlib]System.Int32 - IL_000e: ldc.i4.2 - IL_000f: mul - IL_0010: dup - IL_0011: stloc.1 - IL_0012: stobj [mscorlib]System.Int32 - IL_0017: ldloc.1 - IL_0018: stloc.0 - IL_0019: br.s IL_001b + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: ldc.i4.5 + IL_0007: or + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0012: ldc.i4.5 + IL_0013: or + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0021: ldc.i4.5 + IL_0022: or + IL_0023: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002f: ldc.i4.5 + IL_0030: or + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: dup + IL_003a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003f: ldc.i4.5 + IL_0040: or + IL_0041: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0046: ldarga.s s + IL_0048: dup + IL_0049: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004e: ldc.i4.5 + IL_004f: or + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0055: nop + IL_0056: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005b: dup + IL_005c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0061: ldc.i4.5 + IL_0062: or + IL_0063: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0073: ldc.i4.5 + IL_0074: or + IL_0075: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_007a: nop + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: dup + IL_0081: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0086: ldc.i4.5 + IL_0087: or + IL_0088: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_008d: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0092: dup + IL_0093: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0098: ldc.i4.5 + IL_0099: or + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_009f: nop + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a5: dup + IL_00a6: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ab: ldc.i4.5 + IL_00ac: or + IL_00ad: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b7: dup + IL_00b8: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00bd: ldc.i4.5 + IL_00be: or + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00c4: nop + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ca: dup + IL_00cb: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d0: ldc.i4.5 + IL_00d1: or + IL_00d2: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00e2: ldc.i4.5 + IL_00e3: or + IL_00e4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e9: nop + IL_00ea: ret + } // end of method CompoundAssignmentTest::IntBitOrTest - IL_001b: ldloc.0 - IL_001c: ret - } // end of method CompoundAssignmentTest::DoubleArrayElementAndReturn + .method public hidebysig static void IntBitXorTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 235 (0xeb) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: ldc.i4.5 + IL_0007: xor + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0012: ldc.i4.5 + IL_0013: xor + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0021: ldc.i4.5 + IL_0022: xor + IL_0023: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002f: ldc.i4.5 + IL_0030: xor + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: dup + IL_003a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003f: ldc.i4.5 + IL_0040: xor + IL_0041: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0046: ldarga.s s + IL_0048: dup + IL_0049: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004e: ldc.i4.5 + IL_004f: xor + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0055: nop + IL_0056: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005b: dup + IL_005c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0061: ldc.i4.5 + IL_0062: xor + IL_0063: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0073: ldc.i4.5 + IL_0074: xor + IL_0075: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_007a: nop + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: dup + IL_0081: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0086: ldc.i4.5 + IL_0087: xor + IL_0088: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_008d: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0092: dup + IL_0093: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0098: ldc.i4.5 + IL_0099: xor + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_009f: nop + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a5: dup + IL_00a6: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ab: ldc.i4.5 + IL_00ac: xor + IL_00ad: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b7: dup + IL_00b8: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00bd: ldc.i4.5 + IL_00be: xor + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00c4: nop + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ca: dup + IL_00cb: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d0: ldc.i4.5 + IL_00d1: xor + IL_00d2: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00e2: ldc.i4.5 + IL_00e3: xor + IL_00e4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e9: nop + IL_00ea: ret + } // end of method CompoundAssignmentTest::IntBitXorTest - .method public hidebysig instance int32 - PreIncrementArrayElementShort(int16[] 'array', - int32 pos) cil managed + .method public hidebysig static void IntPostIncTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 30 (0x1e) + // Code size 357 (0x165) .maxstack 3 - .locals init (int32 V_0, - int16 V_1) + .locals init (int32 V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldelema [mscorlib]System.Int16 + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: nop + IL_0014: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0019: dup + IL_001a: ldc.i4.1 + IL_001b: add + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0021: nop + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0027: nop + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_002f: dup + IL_0030: stloc.0 + IL_0031: ldc.i4.1 + IL_0032: add + IL_0033: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0038: ldloc.0 + IL_0039: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003e: nop + IL_003f: ldarg.1 + IL_0040: dup + IL_0041: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0046: dup + IL_0047: stloc.0 + IL_0048: ldc.i4.1 + IL_0049: add + IL_004a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_004f: nop + IL_0050: ldloc.0 + IL_0051: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0056: nop + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_005f: dup + IL_0060: stloc.0 + IL_0061: ldc.i4.1 + IL_0062: add + IL_0063: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0068: ldloc.0 + IL_0069: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006e: nop + IL_006f: ldarga.s s + IL_0071: dup + IL_0072: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0077: dup + IL_0078: stloc.0 + IL_0079: ldc.i4.1 + IL_007a: add + IL_007b: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0080: nop + IL_0081: ldloc.0 + IL_0082: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0087: nop + IL_0088: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_008d: dup + IL_008e: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0093: dup + IL_0094: stloc.0 + IL_0095: ldc.i4.1 + IL_0096: add + IL_0097: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_009c: ldloc.0 + IL_009d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a2: nop + IL_00a3: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a8: dup + IL_00a9: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00ae: dup + IL_00af: stloc.0 + IL_00b0: ldc.i4.1 + IL_00b1: add + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00b7: nop + IL_00b8: ldloc.0 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: nop + IL_00bf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c4: dup + IL_00c5: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00ca: dup + IL_00cb: stloc.0 + IL_00cc: ldc.i4.1 + IL_00cd: add + IL_00ce: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00d3: ldloc.0 + IL_00d4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d9: nop + IL_00da: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00df: dup + IL_00e0: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00e5: dup + IL_00e6: stloc.0 + IL_00e7: ldc.i4.1 + IL_00e8: add + IL_00e9: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00ee: nop + IL_00ef: ldloc.0 + IL_00f0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f5: nop + IL_00f6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fb: dup + IL_00fc: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0101: dup + IL_0102: stloc.0 + IL_0103: ldc.i4.1 + IL_0104: add + IL_0105: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_010a: ldloc.0 + IL_010b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0110: nop + IL_0111: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0116: dup + IL_0117: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_011c: dup + IL_011d: stloc.0 + IL_011e: ldc.i4.1 + IL_011f: add + IL_0120: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0125: nop + IL_0126: ldloc.0 + IL_0127: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012c: nop + IL_012d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0132: dup + IL_0133: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0138: dup + IL_0139: stloc.0 + IL_013a: ldc.i4.1 + IL_013b: add + IL_013c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0141: ldloc.0 + IL_0142: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0147: nop + IL_0148: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_014d: dup + IL_014e: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0153: dup + IL_0154: stloc.0 + IL_0155: ldc.i4.1 + IL_0156: add + IL_0157: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_015c: nop + IL_015d: ldloc.0 + IL_015e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0163: nop + IL_0164: ret + } // end of method CompoundAssignmentTest::IntPostIncTest + + .method public hidebysig static void IntPreIncTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 357 (0x165) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: ldc.i4.1 + IL_0007: add IL_0008: dup - IL_0009: ldobj [mscorlib]System.Int16 - IL_000e: ldc.i4.1 - IL_000f: sub - IL_0010: conv.i2 - IL_0011: dup - IL_0012: stloc.1 - IL_0013: stobj [mscorlib]System.Int16 - IL_0018: ldloc.1 - IL_0019: stloc.0 - IL_001a: br.s IL_001c + IL_0009: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: nop + IL_0014: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0021: nop + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0027: nop + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_002f: ldc.i4.1 + IL_0030: add + IL_0031: dup + IL_0032: stloc.0 + IL_0033: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0038: ldloc.0 + IL_0039: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003e: nop + IL_003f: ldarg.1 + IL_0040: dup + IL_0041: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0046: ldc.i4.1 + IL_0047: add + IL_0048: dup + IL_0049: stloc.0 + IL_004a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_004f: nop + IL_0050: ldloc.0 + IL_0051: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0056: nop + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_005f: ldc.i4.1 + IL_0060: add + IL_0061: dup + IL_0062: stloc.0 + IL_0063: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0068: ldloc.0 + IL_0069: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006e: nop + IL_006f: ldarga.s s + IL_0071: dup + IL_0072: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0077: ldc.i4.1 + IL_0078: add + IL_0079: dup + IL_007a: stloc.0 + IL_007b: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0080: nop + IL_0081: ldloc.0 + IL_0082: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0087: nop + IL_0088: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_008d: dup + IL_008e: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0093: ldc.i4.1 + IL_0094: add + IL_0095: dup + IL_0096: stloc.0 + IL_0097: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_009c: ldloc.0 + IL_009d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a2: nop + IL_00a3: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a8: dup + IL_00a9: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00ae: ldc.i4.1 + IL_00af: add + IL_00b0: dup + IL_00b1: stloc.0 + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00b7: nop + IL_00b8: ldloc.0 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: nop + IL_00bf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c4: dup + IL_00c5: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00ca: ldc.i4.1 + IL_00cb: add + IL_00cc: dup + IL_00cd: stloc.0 + IL_00ce: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00d3: ldloc.0 + IL_00d4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d9: nop + IL_00da: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00df: dup + IL_00e0: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00e5: ldc.i4.1 + IL_00e6: add + IL_00e7: dup + IL_00e8: stloc.0 + IL_00e9: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00ee: nop + IL_00ef: ldloc.0 + IL_00f0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f5: nop + IL_00f6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fb: dup + IL_00fc: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0101: ldc.i4.1 + IL_0102: add + IL_0103: dup + IL_0104: stloc.0 + IL_0105: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_010a: ldloc.0 + IL_010b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0110: nop + IL_0111: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0116: dup + IL_0117: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_011c: ldc.i4.1 + IL_011d: add + IL_011e: dup + IL_011f: stloc.0 + IL_0120: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0125: nop + IL_0126: ldloc.0 + IL_0127: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012c: nop + IL_012d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0132: dup + IL_0133: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0138: ldc.i4.1 + IL_0139: add + IL_013a: dup + IL_013b: stloc.0 + IL_013c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0141: ldloc.0 + IL_0142: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0147: nop + IL_0148: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_014d: dup + IL_014e: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0153: ldc.i4.1 + IL_0154: add + IL_0155: dup + IL_0156: stloc.0 + IL_0157: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_015c: nop + IL_015d: ldloc.0 + IL_015e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0163: nop + IL_0164: ret + } // end of method CompoundAssignmentTest::IntPreIncTest - IL_001c: ldloc.0 - IL_001d: ret - } // end of method CompoundAssignmentTest::PreIncrementArrayElementShort + .method public hidebysig static void IntPostDecTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 357 (0x165) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: sub + IL_0009: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: nop + IL_0014: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0019: dup + IL_001a: ldc.i4.1 + IL_001b: sub + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0021: nop + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0027: nop + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_002f: dup + IL_0030: stloc.0 + IL_0031: ldc.i4.1 + IL_0032: sub + IL_0033: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0038: ldloc.0 + IL_0039: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003e: nop + IL_003f: ldarg.1 + IL_0040: dup + IL_0041: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0046: dup + IL_0047: stloc.0 + IL_0048: ldc.i4.1 + IL_0049: sub + IL_004a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_004f: nop + IL_0050: ldloc.0 + IL_0051: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0056: nop + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_005f: dup + IL_0060: stloc.0 + IL_0061: ldc.i4.1 + IL_0062: sub + IL_0063: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0068: ldloc.0 + IL_0069: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006e: nop + IL_006f: ldarga.s s + IL_0071: dup + IL_0072: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0077: dup + IL_0078: stloc.0 + IL_0079: ldc.i4.1 + IL_007a: sub + IL_007b: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0080: nop + IL_0081: ldloc.0 + IL_0082: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0087: nop + IL_0088: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_008d: dup + IL_008e: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0093: dup + IL_0094: stloc.0 + IL_0095: ldc.i4.1 + IL_0096: sub + IL_0097: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_009c: ldloc.0 + IL_009d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a2: nop + IL_00a3: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a8: dup + IL_00a9: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00ae: dup + IL_00af: stloc.0 + IL_00b0: ldc.i4.1 + IL_00b1: sub + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00b7: nop + IL_00b8: ldloc.0 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: nop + IL_00bf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c4: dup + IL_00c5: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00ca: dup + IL_00cb: stloc.0 + IL_00cc: ldc.i4.1 + IL_00cd: sub + IL_00ce: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00d3: ldloc.0 + IL_00d4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d9: nop + IL_00da: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00df: dup + IL_00e0: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00e5: dup + IL_00e6: stloc.0 + IL_00e7: ldc.i4.1 + IL_00e8: sub + IL_00e9: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00ee: nop + IL_00ef: ldloc.0 + IL_00f0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f5: nop + IL_00f6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fb: dup + IL_00fc: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0101: dup + IL_0102: stloc.0 + IL_0103: ldc.i4.1 + IL_0104: sub + IL_0105: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_010a: ldloc.0 + IL_010b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0110: nop + IL_0111: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0116: dup + IL_0117: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_011c: dup + IL_011d: stloc.0 + IL_011e: ldc.i4.1 + IL_011f: sub + IL_0120: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0125: nop + IL_0126: ldloc.0 + IL_0127: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012c: nop + IL_012d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0132: dup + IL_0133: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0138: dup + IL_0139: stloc.0 + IL_013a: ldc.i4.1 + IL_013b: sub + IL_013c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0141: ldloc.0 + IL_0142: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0147: nop + IL_0148: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_014d: dup + IL_014e: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0153: dup + IL_0154: stloc.0 + IL_0155: ldc.i4.1 + IL_0156: sub + IL_0157: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_015c: nop + IL_015d: ldloc.0 + IL_015e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0163: nop + IL_0164: ret + } // end of method CompoundAssignmentTest::IntPostDecTest - .method public hidebysig instance int32 - PostIncrementArrayElementShort(int16[] 'array', - int32 pos) cil managed + .method public hidebysig static void IntPreDecTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 30 (0x1e) + // Code size 357 (0x165) .maxstack 3 - .locals init (int32 V_0, - int16 V_1) + .locals init (int32 V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldelema [mscorlib]System.Int16 + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: ldc.i4.1 + IL_0007: sub IL_0008: dup - IL_0009: ldobj [mscorlib]System.Int16 - IL_000e: dup - IL_000f: stloc.1 - IL_0010: ldc.i4.1 - IL_0011: add - IL_0012: conv.i2 - IL_0013: stobj [mscorlib]System.Int16 - IL_0018: ldloc.1 - IL_0019: stloc.0 - IL_001a: br.s IL_001c + IL_0009: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: nop + IL_0014: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0019: ldc.i4.1 + IL_001a: sub + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0021: nop + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0027: nop + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_002f: ldc.i4.1 + IL_0030: sub + IL_0031: dup + IL_0032: stloc.0 + IL_0033: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0038: ldloc.0 + IL_0039: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003e: nop + IL_003f: ldarg.1 + IL_0040: dup + IL_0041: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0046: ldc.i4.1 + IL_0047: sub + IL_0048: dup + IL_0049: stloc.0 + IL_004a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_004f: nop + IL_0050: ldloc.0 + IL_0051: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0056: nop + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_005f: ldc.i4.1 + IL_0060: sub + IL_0061: dup + IL_0062: stloc.0 + IL_0063: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0068: ldloc.0 + IL_0069: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006e: nop + IL_006f: ldarga.s s + IL_0071: dup + IL_0072: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0077: ldc.i4.1 + IL_0078: sub + IL_0079: dup + IL_007a: stloc.0 + IL_007b: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0080: nop + IL_0081: ldloc.0 + IL_0082: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0087: nop + IL_0088: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_008d: dup + IL_008e: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0093: ldc.i4.1 + IL_0094: sub + IL_0095: dup + IL_0096: stloc.0 + IL_0097: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_009c: ldloc.0 + IL_009d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a2: nop + IL_00a3: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a8: dup + IL_00a9: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00ae: ldc.i4.1 + IL_00af: sub + IL_00b0: dup + IL_00b1: stloc.0 + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00b7: nop + IL_00b8: ldloc.0 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: nop + IL_00bf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c4: dup + IL_00c5: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00ca: ldc.i4.1 + IL_00cb: sub + IL_00cc: dup + IL_00cd: stloc.0 + IL_00ce: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00d3: ldloc.0 + IL_00d4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d9: nop + IL_00da: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00df: dup + IL_00e0: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00e5: ldc.i4.1 + IL_00e6: sub + IL_00e7: dup + IL_00e8: stloc.0 + IL_00e9: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00ee: nop + IL_00ef: ldloc.0 + IL_00f0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f5: nop + IL_00f6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fb: dup + IL_00fc: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0101: ldc.i4.1 + IL_0102: sub + IL_0103: dup + IL_0104: stloc.0 + IL_0105: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_010a: ldloc.0 + IL_010b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0110: nop + IL_0111: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0116: dup + IL_0117: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_011c: ldc.i4.1 + IL_011d: sub + IL_011e: dup + IL_011f: stloc.0 + IL_0120: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0125: nop + IL_0126: ldloc.0 + IL_0127: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012c: nop + IL_012d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0132: dup + IL_0133: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0138: ldc.i4.1 + IL_0139: sub + IL_013a: dup + IL_013b: stloc.0 + IL_013c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0141: ldloc.0 + IL_0142: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0147: nop + IL_0148: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_014d: dup + IL_014e: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0153: ldc.i4.1 + IL_0154: sub + IL_0155: dup + IL_0156: stloc.0 + IL_0157: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_015c: nop + IL_015d: ldloc.0 + IL_015e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0163: nop + IL_0164: ret + } // end of method CompoundAssignmentTest::IntPreDecTest - IL_001c: ldloc.0 - IL_001d: ret - } // end of method CompoundAssignmentTest::PostIncrementArrayElementShort + .method public hidebysig static void UintAddTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 235 (0xeb) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: ldc.i4.5 + IL_0007: add + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0012: ldc.i4.5 + IL_0013: add + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0021: ldc.i4.5 + IL_0022: add + IL_0023: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002f: ldc.i4.5 + IL_0030: add + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: dup + IL_003a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003f: ldc.i4.5 + IL_0040: add + IL_0041: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0046: ldarga.s s + IL_0048: dup + IL_0049: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004e: ldc.i4.5 + IL_004f: add + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0055: nop + IL_0056: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005b: dup + IL_005c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0061: ldc.i4.5 + IL_0062: add + IL_0063: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0073: ldc.i4.5 + IL_0074: add + IL_0075: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_007a: nop + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: dup + IL_0081: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0086: ldc.i4.5 + IL_0087: add + IL_0088: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_008d: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0092: dup + IL_0093: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0098: ldc.i4.5 + IL_0099: add + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_009f: nop + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a5: dup + IL_00a6: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ab: ldc.i4.5 + IL_00ac: add + IL_00ad: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b7: dup + IL_00b8: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00bd: ldc.i4.5 + IL_00be: add + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00c4: nop + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ca: dup + IL_00cb: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d0: ldc.i4.5 + IL_00d1: add + IL_00d2: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00e2: ldc.i4.5 + IL_00e3: add + IL_00e4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e9: nop + IL_00ea: ret + } // end of method CompoundAssignmentTest::UintAddTest - .method public hidebysig instance void - IncrementArrayElementShort(int16[] 'array', - int32 pos) cil managed + .method public hidebysig static void UintSubtractTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 23 (0x17) - .maxstack 8 + // Code size 235 (0xeb) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldelema [mscorlib]System.Int16 - IL_0008: dup - IL_0009: ldobj [mscorlib]System.Int16 - IL_000e: ldc.i4.1 - IL_000f: add - IL_0010: conv.i2 - IL_0011: stobj [mscorlib]System.Int16 - IL_0016: ret - } // end of method CompoundAssignmentTest::IncrementArrayElementShort + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: ldc.i4.5 + IL_0007: sub + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0012: ldc.i4.5 + IL_0013: sub + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0021: ldc.i4.5 + IL_0022: sub + IL_0023: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002f: ldc.i4.5 + IL_0030: sub + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: dup + IL_003a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003f: ldc.i4.5 + IL_0040: sub + IL_0041: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0046: ldarga.s s + IL_0048: dup + IL_0049: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004e: ldc.i4.5 + IL_004f: sub + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0055: nop + IL_0056: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005b: dup + IL_005c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0061: ldc.i4.5 + IL_0062: sub + IL_0063: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0073: ldc.i4.5 + IL_0074: sub + IL_0075: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_007a: nop + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: dup + IL_0081: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0086: ldc.i4.5 + IL_0087: sub + IL_0088: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_008d: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0092: dup + IL_0093: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0098: ldc.i4.5 + IL_0099: sub + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_009f: nop + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a5: dup + IL_00a6: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ab: ldc.i4.5 + IL_00ac: sub + IL_00ad: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b7: dup + IL_00b8: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00bd: ldc.i4.5 + IL_00be: sub + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00c4: nop + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ca: dup + IL_00cb: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d0: ldc.i4.5 + IL_00d1: sub + IL_00d2: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00e2: ldc.i4.5 + IL_00e3: sub + IL_00e4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e9: nop + IL_00ea: ret + } // end of method CompoundAssignmentTest::UintSubtractTest - .method public hidebysig instance void - DoubleArrayElementShort(int16[] 'array', - int32 pos) cil managed + .method public hidebysig static void UintMultiplyTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 23 (0x17) - .maxstack 8 + // Code size 235 (0xeb) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldelema [mscorlib]System.Int16 - IL_0008: dup - IL_0009: ldobj [mscorlib]System.Int16 - IL_000e: ldc.i4.2 - IL_000f: mul - IL_0010: conv.i2 - IL_0011: stobj [mscorlib]System.Int16 - IL_0016: ret - } // end of method CompoundAssignmentTest::DoubleArrayElementShort + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: ldc.i4.5 + IL_0007: mul + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0012: ldc.i4.5 + IL_0013: mul + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0021: ldc.i4.5 + IL_0022: mul + IL_0023: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002f: ldc.i4.5 + IL_0030: mul + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: dup + IL_003a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003f: ldc.i4.5 + IL_0040: mul + IL_0041: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0046: ldarga.s s + IL_0048: dup + IL_0049: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004e: ldc.i4.5 + IL_004f: mul + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0055: nop + IL_0056: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005b: dup + IL_005c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0061: ldc.i4.5 + IL_0062: mul + IL_0063: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0073: ldc.i4.5 + IL_0074: mul + IL_0075: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_007a: nop + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: dup + IL_0081: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0086: ldc.i4.5 + IL_0087: mul + IL_0088: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_008d: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0092: dup + IL_0093: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0098: ldc.i4.5 + IL_0099: mul + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_009f: nop + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a5: dup + IL_00a6: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ab: ldc.i4.5 + IL_00ac: mul + IL_00ad: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b7: dup + IL_00b8: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00bd: ldc.i4.5 + IL_00be: mul + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00c4: nop + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ca: dup + IL_00cb: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d0: ldc.i4.5 + IL_00d1: mul + IL_00d2: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00e2: ldc.i4.5 + IL_00e3: mul + IL_00e4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e9: nop + IL_00ea: ret + } // end of method CompoundAssignmentTest::UintMultiplyTest - .method public hidebysig instance int16 - DoubleArrayElementShortAndReturn(int16[] 'array', - int32 pos) cil managed + .method public hidebysig static void UintDivideTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 30 (0x1e) + // Code size 235 (0xeb) .maxstack 3 - .locals init (int16 V_0, - int16 V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldelema [mscorlib]System.Int16 - IL_0008: dup - IL_0009: ldobj [mscorlib]System.Int16 - IL_000e: ldc.i4.2 - IL_000f: mul - IL_0010: conv.i2 - IL_0011: dup - IL_0012: stloc.1 - IL_0013: stobj [mscorlib]System.Int16 - IL_0018: ldloc.1 - IL_0019: stloc.0 - IL_001a: br.s IL_001c + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: ldc.i4.5 + IL_0007: div.un + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0012: ldc.i4.5 + IL_0013: div.un + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0021: ldc.i4.5 + IL_0022: div.un + IL_0023: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002f: ldc.i4.5 + IL_0030: div.un + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: dup + IL_003a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003f: ldc.i4.5 + IL_0040: div.un + IL_0041: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0046: ldarga.s s + IL_0048: dup + IL_0049: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004e: ldc.i4.5 + IL_004f: div.un + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0055: nop + IL_0056: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005b: dup + IL_005c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0061: ldc.i4.5 + IL_0062: div.un + IL_0063: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0073: ldc.i4.5 + IL_0074: div.un + IL_0075: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_007a: nop + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: dup + IL_0081: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0086: ldc.i4.5 + IL_0087: div.un + IL_0088: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_008d: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0092: dup + IL_0093: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0098: ldc.i4.5 + IL_0099: div.un + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_009f: nop + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a5: dup + IL_00a6: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ab: ldc.i4.5 + IL_00ac: div.un + IL_00ad: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b7: dup + IL_00b8: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00bd: ldc.i4.5 + IL_00be: div.un + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00c4: nop + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ca: dup + IL_00cb: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d0: ldc.i4.5 + IL_00d1: div.un + IL_00d2: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00e2: ldc.i4.5 + IL_00e3: div.un + IL_00e4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e9: nop + IL_00ea: ret + } // end of method CompoundAssignmentTest::UintDivideTest - IL_001c: ldloc.0 - IL_001d: ret - } // end of method CompoundAssignmentTest::DoubleArrayElementShortAndReturn + .method public hidebysig static void UintModulusTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 235 (0xeb) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: ldc.i4.5 + IL_0007: rem.un + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0012: ldc.i4.5 + IL_0013: rem.un + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0021: ldc.i4.5 + IL_0022: rem.un + IL_0023: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002f: ldc.i4.5 + IL_0030: rem.un + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: dup + IL_003a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003f: ldc.i4.5 + IL_0040: rem.un + IL_0041: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0046: ldarga.s s + IL_0048: dup + IL_0049: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004e: ldc.i4.5 + IL_004f: rem.un + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0055: nop + IL_0056: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005b: dup + IL_005c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0061: ldc.i4.5 + IL_0062: rem.un + IL_0063: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0073: ldc.i4.5 + IL_0074: rem.un + IL_0075: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_007a: nop + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: dup + IL_0081: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0086: ldc.i4.5 + IL_0087: rem.un + IL_0088: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_008d: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0092: dup + IL_0093: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0098: ldc.i4.5 + IL_0099: rem.un + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_009f: nop + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a5: dup + IL_00a6: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ab: ldc.i4.5 + IL_00ac: rem.un + IL_00ad: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b7: dup + IL_00b8: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00bd: ldc.i4.5 + IL_00be: rem.un + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00c4: nop + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ca: dup + IL_00cb: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d0: ldc.i4.5 + IL_00d1: rem.un + IL_00d2: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00e2: ldc.i4.5 + IL_00e3: rem.un + IL_00e4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e9: nop + IL_00ea: ret + } // end of method CompoundAssignmentTest::UintModulusTest - .method public hidebysig instance int32 - PreIncrementInstanceField() cil managed + .method public hidebysig static void UintLeftShiftTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 28 (0x1c) + // Code size 235 (0xeb) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_000d: ldc.i4.1 - IL_000e: add - IL_000f: dup - IL_0010: stloc.1 - IL_0011: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0016: ldloc.1 - IL_0017: stloc.0 - IL_0018: br.s IL_001a + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: ldc.i4.5 + IL_0007: shl + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0012: ldc.i4.5 + IL_0013: shl + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0021: ldc.i4.5 + IL_0022: shl + IL_0023: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002f: ldc.i4.5 + IL_0030: shl + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: dup + IL_003a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003f: ldc.i4.5 + IL_0040: shl + IL_0041: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0046: ldarga.s s + IL_0048: dup + IL_0049: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004e: ldc.i4.5 + IL_004f: shl + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0055: nop + IL_0056: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005b: dup + IL_005c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0061: ldc.i4.5 + IL_0062: shl + IL_0063: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0073: ldc.i4.5 + IL_0074: shl + IL_0075: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_007a: nop + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: dup + IL_0081: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0086: ldc.i4.5 + IL_0087: shl + IL_0088: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_008d: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0092: dup + IL_0093: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0098: ldc.i4.5 + IL_0099: shl + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_009f: nop + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a5: dup + IL_00a6: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ab: ldc.i4.5 + IL_00ac: shl + IL_00ad: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b7: dup + IL_00b8: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00bd: ldc.i4.5 + IL_00be: shl + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00c4: nop + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ca: dup + IL_00cb: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d0: ldc.i4.5 + IL_00d1: shl + IL_00d2: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00e2: ldc.i4.5 + IL_00e3: shl + IL_00e4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e9: nop + IL_00ea: ret + } // end of method CompoundAssignmentTest::UintLeftShiftTest - IL_001a: ldloc.0 - IL_001b: ret - } // end of method CompoundAssignmentTest::PreIncrementInstanceField + .method public hidebysig static void UintRightShiftTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 235 (0xeb) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: ldc.i4.5 + IL_0007: shr.un + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0012: ldc.i4.5 + IL_0013: shr.un + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0021: ldc.i4.5 + IL_0022: shr.un + IL_0023: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002f: ldc.i4.5 + IL_0030: shr.un + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: dup + IL_003a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003f: ldc.i4.5 + IL_0040: shr.un + IL_0041: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0046: ldarga.s s + IL_0048: dup + IL_0049: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004e: ldc.i4.5 + IL_004f: shr.un + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0055: nop + IL_0056: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005b: dup + IL_005c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0061: ldc.i4.5 + IL_0062: shr.un + IL_0063: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0073: ldc.i4.5 + IL_0074: shr.un + IL_0075: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_007a: nop + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: dup + IL_0081: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0086: ldc.i4.5 + IL_0087: shr.un + IL_0088: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_008d: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0092: dup + IL_0093: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0098: ldc.i4.5 + IL_0099: shr.un + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_009f: nop + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a5: dup + IL_00a6: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ab: ldc.i4.5 + IL_00ac: shr.un + IL_00ad: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b7: dup + IL_00b8: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00bd: ldc.i4.5 + IL_00be: shr.un + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00c4: nop + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ca: dup + IL_00cb: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d0: ldc.i4.5 + IL_00d1: shr.un + IL_00d2: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00e2: ldc.i4.5 + IL_00e3: shr.un + IL_00e4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e9: nop + IL_00ea: ret + } // end of method CompoundAssignmentTest::UintRightShiftTest - .method public hidebysig instance int32 - PostIncrementInstanceField() cil managed + .method public hidebysig static void UintBitAndTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 28 (0x1c) + // Code size 235 (0xeb) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_000d: dup - IL_000e: stloc.1 - IL_000f: ldc.i4.1 - IL_0010: add - IL_0011: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0016: ldloc.1 - IL_0017: stloc.0 - IL_0018: br.s IL_001a + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: ldc.i4.5 + IL_0007: and + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0012: ldc.i4.5 + IL_0013: and + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0021: ldc.i4.5 + IL_0022: and + IL_0023: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002f: ldc.i4.5 + IL_0030: and + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: dup + IL_003a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003f: ldc.i4.5 + IL_0040: and + IL_0041: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0046: ldarga.s s + IL_0048: dup + IL_0049: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004e: ldc.i4.5 + IL_004f: and + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0055: nop + IL_0056: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005b: dup + IL_005c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0061: ldc.i4.5 + IL_0062: and + IL_0063: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0073: ldc.i4.5 + IL_0074: and + IL_0075: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_007a: nop + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: dup + IL_0081: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0086: ldc.i4.5 + IL_0087: and + IL_0088: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_008d: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0092: dup + IL_0093: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0098: ldc.i4.5 + IL_0099: and + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_009f: nop + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a5: dup + IL_00a6: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ab: ldc.i4.5 + IL_00ac: and + IL_00ad: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b7: dup + IL_00b8: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00bd: ldc.i4.5 + IL_00be: and + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00c4: nop + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ca: dup + IL_00cb: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d0: ldc.i4.5 + IL_00d1: and + IL_00d2: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00e2: ldc.i4.5 + IL_00e3: and + IL_00e4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e9: nop + IL_00ea: ret + } // end of method CompoundAssignmentTest::UintBitAndTest - IL_001a: ldloc.0 - IL_001b: ret - } // end of method CompoundAssignmentTest::PostIncrementInstanceField + .method public hidebysig static void UintBitOrTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 235 (0xeb) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: ldc.i4.5 + IL_0007: or + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0012: ldc.i4.5 + IL_0013: or + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0021: ldc.i4.5 + IL_0022: or + IL_0023: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002f: ldc.i4.5 + IL_0030: or + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: dup + IL_003a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003f: ldc.i4.5 + IL_0040: or + IL_0041: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0046: ldarga.s s + IL_0048: dup + IL_0049: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004e: ldc.i4.5 + IL_004f: or + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0055: nop + IL_0056: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005b: dup + IL_005c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0061: ldc.i4.5 + IL_0062: or + IL_0063: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0073: ldc.i4.5 + IL_0074: or + IL_0075: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_007a: nop + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: dup + IL_0081: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0086: ldc.i4.5 + IL_0087: or + IL_0088: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_008d: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0092: dup + IL_0093: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0098: ldc.i4.5 + IL_0099: or + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_009f: nop + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a5: dup + IL_00a6: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ab: ldc.i4.5 + IL_00ac: or + IL_00ad: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b7: dup + IL_00b8: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00bd: ldc.i4.5 + IL_00be: or + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00c4: nop + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ca: dup + IL_00cb: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d0: ldc.i4.5 + IL_00d1: or + IL_00d2: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00e2: ldc.i4.5 + IL_00e3: or + IL_00e4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e9: nop + IL_00ea: ret + } // end of method CompoundAssignmentTest::UintBitOrTest - .method public hidebysig instance void - IncrementInstanceField() cil managed + .method public hidebysig static void UintBitXorTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 21 (0x15) - .maxstack 8 + // Code size 235 (0xeb) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_000d: ldc.i4.1 - IL_000e: add - IL_000f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0014: ret - } // end of method CompoundAssignmentTest::IncrementInstanceField + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: ldc.i4.5 + IL_0007: xor + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0012: ldc.i4.5 + IL_0013: xor + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0021: ldc.i4.5 + IL_0022: xor + IL_0023: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002f: ldc.i4.5 + IL_0030: xor + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: dup + IL_003a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003f: ldc.i4.5 + IL_0040: xor + IL_0041: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0046: ldarga.s s + IL_0048: dup + IL_0049: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004e: ldc.i4.5 + IL_004f: xor + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0055: nop + IL_0056: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005b: dup + IL_005c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0061: ldc.i4.5 + IL_0062: xor + IL_0063: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0073: ldc.i4.5 + IL_0074: xor + IL_0075: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_007a: nop + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: dup + IL_0081: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0086: ldc.i4.5 + IL_0087: xor + IL_0088: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_008d: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0092: dup + IL_0093: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0098: ldc.i4.5 + IL_0099: xor + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_009f: nop + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a5: dup + IL_00a6: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ab: ldc.i4.5 + IL_00ac: xor + IL_00ad: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b7: dup + IL_00b8: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00bd: ldc.i4.5 + IL_00be: xor + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00c4: nop + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ca: dup + IL_00cb: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d0: ldc.i4.5 + IL_00d1: xor + IL_00d2: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00e2: ldc.i4.5 + IL_00e3: xor + IL_00e4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e9: nop + IL_00ea: ret + } // end of method CompoundAssignmentTest::UintBitXorTest - .method public hidebysig instance void - DoubleInstanceField() cil managed + .method public hidebysig static void UintPostIncTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 21 (0x15) - .maxstack 8 + // Code size 357 (0x165) + .maxstack 3 + .locals init (uint32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_000d: ldc.i4.2 - IL_000e: mul - IL_000f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0014: ret - } // end of method CompoundAssignmentTest::DoubleInstanceField + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: nop + IL_0014: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0019: dup + IL_001a: ldc.i4.1 + IL_001b: add + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0021: nop + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0027: nop + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_002f: dup + IL_0030: stloc.0 + IL_0031: ldc.i4.1 + IL_0032: add + IL_0033: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0038: ldloc.0 + IL_0039: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003e: nop + IL_003f: ldarg.1 + IL_0040: dup + IL_0041: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0046: dup + IL_0047: stloc.0 + IL_0048: ldc.i4.1 + IL_0049: add + IL_004a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_004f: nop + IL_0050: ldloc.0 + IL_0051: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0056: nop + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_005f: dup + IL_0060: stloc.0 + IL_0061: ldc.i4.1 + IL_0062: add + IL_0063: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0068: ldloc.0 + IL_0069: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006e: nop + IL_006f: ldarga.s s + IL_0071: dup + IL_0072: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0077: dup + IL_0078: stloc.0 + IL_0079: ldc.i4.1 + IL_007a: add + IL_007b: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0080: nop + IL_0081: ldloc.0 + IL_0082: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0087: nop + IL_0088: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_008d: dup + IL_008e: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0093: dup + IL_0094: stloc.0 + IL_0095: ldc.i4.1 + IL_0096: add + IL_0097: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_009c: ldloc.0 + IL_009d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a2: nop + IL_00a3: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a8: dup + IL_00a9: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00ae: dup + IL_00af: stloc.0 + IL_00b0: ldc.i4.1 + IL_00b1: add + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00b7: nop + IL_00b8: ldloc.0 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: nop + IL_00bf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c4: dup + IL_00c5: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00ca: dup + IL_00cb: stloc.0 + IL_00cc: ldc.i4.1 + IL_00cd: add + IL_00ce: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00d3: ldloc.0 + IL_00d4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d9: nop + IL_00da: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00df: dup + IL_00e0: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00e5: dup + IL_00e6: stloc.0 + IL_00e7: ldc.i4.1 + IL_00e8: add + IL_00e9: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00ee: nop + IL_00ef: ldloc.0 + IL_00f0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f5: nop + IL_00f6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fb: dup + IL_00fc: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0101: dup + IL_0102: stloc.0 + IL_0103: ldc.i4.1 + IL_0104: add + IL_0105: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_010a: ldloc.0 + IL_010b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0110: nop + IL_0111: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0116: dup + IL_0117: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_011c: dup + IL_011d: stloc.0 + IL_011e: ldc.i4.1 + IL_011f: add + IL_0120: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0125: nop + IL_0126: ldloc.0 + IL_0127: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012c: nop + IL_012d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0132: dup + IL_0133: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0138: dup + IL_0139: stloc.0 + IL_013a: ldc.i4.1 + IL_013b: add + IL_013c: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0141: ldloc.0 + IL_0142: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0147: nop + IL_0148: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_014d: dup + IL_014e: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0153: dup + IL_0154: stloc.0 + IL_0155: ldc.i4.1 + IL_0156: add + IL_0157: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_015c: nop + IL_015d: ldloc.0 + IL_015e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0163: nop + IL_0164: ret + } // end of method CompoundAssignmentTest::UintPostIncTest - .method public hidebysig instance int32 - DoubleInstanceFieldAndReturn() cil managed + .method public hidebysig static void UintPreIncTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 28 (0x1c) + // Code size 357 (0x165) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) + .locals init (uint32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_000d: ldc.i4.2 - IL_000e: mul - IL_000f: dup - IL_0010: stloc.1 - IL_0011: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0016: ldloc.1 - IL_0017: stloc.0 - IL_0018: br.s IL_001a + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: dup + IL_0009: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: nop + IL_0014: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0021: nop + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0027: nop + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_002f: ldc.i4.1 + IL_0030: add + IL_0031: dup + IL_0032: stloc.0 + IL_0033: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0038: ldloc.0 + IL_0039: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003e: nop + IL_003f: ldarg.1 + IL_0040: dup + IL_0041: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0046: ldc.i4.1 + IL_0047: add + IL_0048: dup + IL_0049: stloc.0 + IL_004a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_004f: nop + IL_0050: ldloc.0 + IL_0051: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0056: nop + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_005f: ldc.i4.1 + IL_0060: add + IL_0061: dup + IL_0062: stloc.0 + IL_0063: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0068: ldloc.0 + IL_0069: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006e: nop + IL_006f: ldarga.s s + IL_0071: dup + IL_0072: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0077: ldc.i4.1 + IL_0078: add + IL_0079: dup + IL_007a: stloc.0 + IL_007b: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0080: nop + IL_0081: ldloc.0 + IL_0082: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0087: nop + IL_0088: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_008d: dup + IL_008e: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0093: ldc.i4.1 + IL_0094: add + IL_0095: dup + IL_0096: stloc.0 + IL_0097: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_009c: ldloc.0 + IL_009d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a2: nop + IL_00a3: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a8: dup + IL_00a9: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00ae: ldc.i4.1 + IL_00af: add + IL_00b0: dup + IL_00b1: stloc.0 + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00b7: nop + IL_00b8: ldloc.0 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: nop + IL_00bf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c4: dup + IL_00c5: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00ca: ldc.i4.1 + IL_00cb: add + IL_00cc: dup + IL_00cd: stloc.0 + IL_00ce: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00d3: ldloc.0 + IL_00d4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d9: nop + IL_00da: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00df: dup + IL_00e0: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00e5: ldc.i4.1 + IL_00e6: add + IL_00e7: dup + IL_00e8: stloc.0 + IL_00e9: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00ee: nop + IL_00ef: ldloc.0 + IL_00f0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f5: nop + IL_00f6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fb: dup + IL_00fc: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0101: ldc.i4.1 + IL_0102: add + IL_0103: dup + IL_0104: stloc.0 + IL_0105: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_010a: ldloc.0 + IL_010b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0110: nop + IL_0111: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0116: dup + IL_0117: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_011c: ldc.i4.1 + IL_011d: add + IL_011e: dup + IL_011f: stloc.0 + IL_0120: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0125: nop + IL_0126: ldloc.0 + IL_0127: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012c: nop + IL_012d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0132: dup + IL_0133: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0138: ldc.i4.1 + IL_0139: add + IL_013a: dup + IL_013b: stloc.0 + IL_013c: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0141: ldloc.0 + IL_0142: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0147: nop + IL_0148: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_014d: dup + IL_014e: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0153: ldc.i4.1 + IL_0154: add + IL_0155: dup + IL_0156: stloc.0 + IL_0157: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_015c: nop + IL_015d: ldloc.0 + IL_015e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0163: nop + IL_0164: ret + } // end of method CompoundAssignmentTest::UintPreIncTest - IL_001a: ldloc.0 - IL_001b: ret - } // end of method CompoundAssignmentTest::DoubleInstanceFieldAndReturn + .method public hidebysig static void UintPostDecTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 357 (0x165) + .maxstack 3 + .locals init (uint32 V_0) + IL_0000: nop + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: sub + IL_0009: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: nop + IL_0014: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0019: dup + IL_001a: ldc.i4.1 + IL_001b: sub + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0021: nop + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0027: nop + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_002f: dup + IL_0030: stloc.0 + IL_0031: ldc.i4.1 + IL_0032: sub + IL_0033: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0038: ldloc.0 + IL_0039: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003e: nop + IL_003f: ldarg.1 + IL_0040: dup + IL_0041: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0046: dup + IL_0047: stloc.0 + IL_0048: ldc.i4.1 + IL_0049: sub + IL_004a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_004f: nop + IL_0050: ldloc.0 + IL_0051: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0056: nop + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_005f: dup + IL_0060: stloc.0 + IL_0061: ldc.i4.1 + IL_0062: sub + IL_0063: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0068: ldloc.0 + IL_0069: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006e: nop + IL_006f: ldarga.s s + IL_0071: dup + IL_0072: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0077: dup + IL_0078: stloc.0 + IL_0079: ldc.i4.1 + IL_007a: sub + IL_007b: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0080: nop + IL_0081: ldloc.0 + IL_0082: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0087: nop + IL_0088: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_008d: dup + IL_008e: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0093: dup + IL_0094: stloc.0 + IL_0095: ldc.i4.1 + IL_0096: sub + IL_0097: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_009c: ldloc.0 + IL_009d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a2: nop + IL_00a3: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a8: dup + IL_00a9: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00ae: dup + IL_00af: stloc.0 + IL_00b0: ldc.i4.1 + IL_00b1: sub + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00b7: nop + IL_00b8: ldloc.0 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: nop + IL_00bf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c4: dup + IL_00c5: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00ca: dup + IL_00cb: stloc.0 + IL_00cc: ldc.i4.1 + IL_00cd: sub + IL_00ce: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00d3: ldloc.0 + IL_00d4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d9: nop + IL_00da: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00df: dup + IL_00e0: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00e5: dup + IL_00e6: stloc.0 + IL_00e7: ldc.i4.1 + IL_00e8: sub + IL_00e9: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00ee: nop + IL_00ef: ldloc.0 + IL_00f0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f5: nop + IL_00f6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fb: dup + IL_00fc: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0101: dup + IL_0102: stloc.0 + IL_0103: ldc.i4.1 + IL_0104: sub + IL_0105: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_010a: ldloc.0 + IL_010b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0110: nop + IL_0111: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0116: dup + IL_0117: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_011c: dup + IL_011d: stloc.0 + IL_011e: ldc.i4.1 + IL_011f: sub + IL_0120: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0125: nop + IL_0126: ldloc.0 + IL_0127: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012c: nop + IL_012d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0132: dup + IL_0133: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0138: dup + IL_0139: stloc.0 + IL_013a: ldc.i4.1 + IL_013b: sub + IL_013c: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0141: ldloc.0 + IL_0142: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0147: nop + IL_0148: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_014d: dup + IL_014e: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0153: dup + IL_0154: stloc.0 + IL_0155: ldc.i4.1 + IL_0156: sub + IL_0157: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_015c: nop + IL_015d: ldloc.0 + IL_015e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0163: nop + IL_0164: ret + } // end of method CompoundAssignmentTest::UintPostDecTest - .method public hidebysig instance int32 - PreIncrementInstanceField2(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass m) cil managed + .method public hidebysig static void UintPreDecTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 23 (0x17) + // Code size 357 (0x165) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) + .locals init (uint32 V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: dup - IL_0003: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0008: ldc.i4.1 - IL_0009: add - IL_000a: dup - IL_000b: stloc.1 - IL_000c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0011: ldloc.1 - IL_0012: stloc.0 - IL_0013: br.s IL_0015 + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: ldc.i4.1 + IL_0007: sub + IL_0008: dup + IL_0009: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: nop + IL_0014: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0019: ldc.i4.1 + IL_001a: sub + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0021: nop + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0027: nop + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_002f: ldc.i4.1 + IL_0030: sub + IL_0031: dup + IL_0032: stloc.0 + IL_0033: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0038: ldloc.0 + IL_0039: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003e: nop + IL_003f: ldarg.1 + IL_0040: dup + IL_0041: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0046: ldc.i4.1 + IL_0047: sub + IL_0048: dup + IL_0049: stloc.0 + IL_004a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_004f: nop + IL_0050: ldloc.0 + IL_0051: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0056: nop + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_005f: ldc.i4.1 + IL_0060: sub + IL_0061: dup + IL_0062: stloc.0 + IL_0063: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0068: ldloc.0 + IL_0069: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006e: nop + IL_006f: ldarga.s s + IL_0071: dup + IL_0072: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0077: ldc.i4.1 + IL_0078: sub + IL_0079: dup + IL_007a: stloc.0 + IL_007b: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0080: nop + IL_0081: ldloc.0 + IL_0082: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0087: nop + IL_0088: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_008d: dup + IL_008e: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0093: ldc.i4.1 + IL_0094: sub + IL_0095: dup + IL_0096: stloc.0 + IL_0097: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_009c: ldloc.0 + IL_009d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a2: nop + IL_00a3: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a8: dup + IL_00a9: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00ae: ldc.i4.1 + IL_00af: sub + IL_00b0: dup + IL_00b1: stloc.0 + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00b7: nop + IL_00b8: ldloc.0 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: nop + IL_00bf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c4: dup + IL_00c5: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00ca: ldc.i4.1 + IL_00cb: sub + IL_00cc: dup + IL_00cd: stloc.0 + IL_00ce: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00d3: ldloc.0 + IL_00d4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d9: nop + IL_00da: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00df: dup + IL_00e0: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00e5: ldc.i4.1 + IL_00e6: sub + IL_00e7: dup + IL_00e8: stloc.0 + IL_00e9: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00ee: nop + IL_00ef: ldloc.0 + IL_00f0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f5: nop + IL_00f6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fb: dup + IL_00fc: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0101: ldc.i4.1 + IL_0102: sub + IL_0103: dup + IL_0104: stloc.0 + IL_0105: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_010a: ldloc.0 + IL_010b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0110: nop + IL_0111: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0116: dup + IL_0117: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_011c: ldc.i4.1 + IL_011d: sub + IL_011e: dup + IL_011f: stloc.0 + IL_0120: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0125: nop + IL_0126: ldloc.0 + IL_0127: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012c: nop + IL_012d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0132: dup + IL_0133: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0138: ldc.i4.1 + IL_0139: sub + IL_013a: dup + IL_013b: stloc.0 + IL_013c: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0141: ldloc.0 + IL_0142: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0147: nop + IL_0148: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_014d: dup + IL_014e: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0153: ldc.i4.1 + IL_0154: sub + IL_0155: dup + IL_0156: stloc.0 + IL_0157: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_015c: nop + IL_015d: ldloc.0 + IL_015e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0163: nop + IL_0164: ret + } // end of method CompoundAssignmentTest::UintPreDecTest - IL_0015: ldloc.0 - IL_0016: ret - } // end of method CompoundAssignmentTest::PreIncrementInstanceField2 + .method public hidebysig static void LongAddTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: add + IL_0009: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000e: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: add + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: add + IL_0026: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: add + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0043: ldc.i4.5 + IL_0044: conv.i8 + IL_0045: add + IL_0046: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0053: ldc.i4.5 + IL_0054: conv.i8 + IL_0055: add + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0067: ldc.i4.5 + IL_0068: conv.i8 + IL_0069: add + IL_006a: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_007a: ldc.i4.5 + IL_007b: conv.i8 + IL_007c: add + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_008e: ldc.i4.5 + IL_008f: conv.i8 + IL_0090: add + IL_0091: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00a1: ldc.i4.5 + IL_00a2: conv.i8 + IL_00a3: add + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b5: ldc.i4.5 + IL_00b6: conv.i8 + IL_00b7: add + IL_00b8: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00c8: ldc.i4.5 + IL_00c9: conv.i8 + IL_00ca: add + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00dc: ldc.i4.5 + IL_00dd: conv.i8 + IL_00de: add + IL_00df: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00ef: ldc.i4.5 + IL_00f0: conv.i8 + IL_00f1: add + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::LongAddTest - .method public hidebysig instance int32 - PostIncrementInstanceField2(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass m) cil managed + .method public hidebysig static void LongSubtractTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: sub + IL_0009: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000e: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: sub + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: sub + IL_0026: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: sub + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0043: ldc.i4.5 + IL_0044: conv.i8 + IL_0045: sub + IL_0046: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0053: ldc.i4.5 + IL_0054: conv.i8 + IL_0055: sub + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0067: ldc.i4.5 + IL_0068: conv.i8 + IL_0069: sub + IL_006a: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_007a: ldc.i4.5 + IL_007b: conv.i8 + IL_007c: sub + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_008e: ldc.i4.5 + IL_008f: conv.i8 + IL_0090: sub + IL_0091: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00a1: ldc.i4.5 + IL_00a2: conv.i8 + IL_00a3: sub + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b5: ldc.i4.5 + IL_00b6: conv.i8 + IL_00b7: sub + IL_00b8: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00c8: ldc.i4.5 + IL_00c9: conv.i8 + IL_00ca: sub + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00dc: ldc.i4.5 + IL_00dd: conv.i8 + IL_00de: sub + IL_00df: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00ef: ldc.i4.5 + IL_00f0: conv.i8 + IL_00f1: sub + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::LongSubtractTest + + .method public hidebysig static void LongMultiplyTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: mul + IL_0009: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000e: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: mul + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: mul + IL_0026: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: mul + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0043: ldc.i4.5 + IL_0044: conv.i8 + IL_0045: mul + IL_0046: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0053: ldc.i4.5 + IL_0054: conv.i8 + IL_0055: mul + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0067: ldc.i4.5 + IL_0068: conv.i8 + IL_0069: mul + IL_006a: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_007a: ldc.i4.5 + IL_007b: conv.i8 + IL_007c: mul + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_008e: ldc.i4.5 + IL_008f: conv.i8 + IL_0090: mul + IL_0091: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00a1: ldc.i4.5 + IL_00a2: conv.i8 + IL_00a3: mul + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b5: ldc.i4.5 + IL_00b6: conv.i8 + IL_00b7: mul + IL_00b8: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00c8: ldc.i4.5 + IL_00c9: conv.i8 + IL_00ca: mul + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00dc: ldc.i4.5 + IL_00dd: conv.i8 + IL_00de: mul + IL_00df: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00ef: ldc.i4.5 + IL_00f0: conv.i8 + IL_00f1: mul + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::LongMultiplyTest + + .method public hidebysig static void LongDivideTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 23 (0x17) + // Code size 249 (0xf9) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: dup - IL_0003: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0008: dup - IL_0009: stloc.1 - IL_000a: ldc.i4.1 - IL_000b: add - IL_000c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0011: ldloc.1 - IL_0012: stloc.0 - IL_0013: br.s IL_0015 + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: div + IL_0009: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000e: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: div + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: div + IL_0026: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: div + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0043: ldc.i4.5 + IL_0044: conv.i8 + IL_0045: div + IL_0046: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0053: ldc.i4.5 + IL_0054: conv.i8 + IL_0055: div + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0067: ldc.i4.5 + IL_0068: conv.i8 + IL_0069: div + IL_006a: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_007a: ldc.i4.5 + IL_007b: conv.i8 + IL_007c: div + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_008e: ldc.i4.5 + IL_008f: conv.i8 + IL_0090: div + IL_0091: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00a1: ldc.i4.5 + IL_00a2: conv.i8 + IL_00a3: div + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b5: ldc.i4.5 + IL_00b6: conv.i8 + IL_00b7: div + IL_00b8: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00c8: ldc.i4.5 + IL_00c9: conv.i8 + IL_00ca: div + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00dc: ldc.i4.5 + IL_00dd: conv.i8 + IL_00de: div + IL_00df: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00ef: ldc.i4.5 + IL_00f0: conv.i8 + IL_00f1: div + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::LongDivideTest - IL_0015: ldloc.0 - IL_0016: ret - } // end of method CompoundAssignmentTest::PostIncrementInstanceField2 + .method public hidebysig static void LongModulusTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: rem + IL_0009: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000e: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: rem + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: rem + IL_0026: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: rem + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0043: ldc.i4.5 + IL_0044: conv.i8 + IL_0045: rem + IL_0046: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0053: ldc.i4.5 + IL_0054: conv.i8 + IL_0055: rem + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0067: ldc.i4.5 + IL_0068: conv.i8 + IL_0069: rem + IL_006a: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_007a: ldc.i4.5 + IL_007b: conv.i8 + IL_007c: rem + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_008e: ldc.i4.5 + IL_008f: conv.i8 + IL_0090: rem + IL_0091: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00a1: ldc.i4.5 + IL_00a2: conv.i8 + IL_00a3: rem + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b5: ldc.i4.5 + IL_00b6: conv.i8 + IL_00b7: rem + IL_00b8: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00c8: ldc.i4.5 + IL_00c9: conv.i8 + IL_00ca: rem + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00dc: ldc.i4.5 + IL_00dd: conv.i8 + IL_00de: rem + IL_00df: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00ef: ldc.i4.5 + IL_00f0: conv.i8 + IL_00f1: rem + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::LongModulusTest - .method public hidebysig instance void - IncrementInstanceField2(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass m) cil managed + .method public hidebysig static void LongLeftShiftTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 16 (0x10) - .maxstack 8 + // Code size 235 (0xeb) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: dup - IL_0003: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0008: ldc.i4.1 - IL_0009: add - IL_000a: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_000f: ret - } // end of method CompoundAssignmentTest::IncrementInstanceField2 + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: ldc.i4.5 + IL_0007: shl + IL_0008: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000d: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0012: ldc.i4.5 + IL_0013: shl + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0021: ldc.i4.5 + IL_0022: shl + IL_0023: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_002f: ldc.i4.5 + IL_0030: shl + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: dup + IL_003a: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_003f: ldc.i4.5 + IL_0040: shl + IL_0041: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0046: ldarga.s s + IL_0048: dup + IL_0049: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_004e: ldc.i4.5 + IL_004f: shl + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0055: nop + IL_0056: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005b: dup + IL_005c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0061: ldc.i4.5 + IL_0062: shl + IL_0063: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0073: ldc.i4.5 + IL_0074: shl + IL_0075: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007a: nop + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: dup + IL_0081: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0086: ldc.i4.5 + IL_0087: shl + IL_0088: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_008d: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0092: dup + IL_0093: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0098: ldc.i4.5 + IL_0099: shl + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_009f: nop + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a5: dup + IL_00a6: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00ab: ldc.i4.5 + IL_00ac: shl + IL_00ad: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b7: dup + IL_00b8: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00bd: ldc.i4.5 + IL_00be: shl + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00c4: nop + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ca: dup + IL_00cb: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d0: ldc.i4.5 + IL_00d1: shl + IL_00d2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e2: ldc.i4.5 + IL_00e3: shl + IL_00e4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00e9: nop + IL_00ea: ret + } // end of method CompoundAssignmentTest::LongLeftShiftTest - .method public hidebysig instance int32 - PreIncrementInstanceFieldShort() cil managed + .method public hidebysig static void LongRightShiftTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 29 (0x1d) + // Code size 235 (0xeb) .maxstack 3 - .locals init (int32 V_0, - int16 V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField - IL_000d: ldc.i4.1 - IL_000e: add - IL_000f: conv.i2 - IL_0010: dup - IL_0011: stloc.1 - IL_0012: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField - IL_0017: ldloc.1 - IL_0018: stloc.0 - IL_0019: br.s IL_001b + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: ldc.i4.5 + IL_0007: shr + IL_0008: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000d: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0012: ldc.i4.5 + IL_0013: shr + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0021: ldc.i4.5 + IL_0022: shr + IL_0023: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_002f: ldc.i4.5 + IL_0030: shr + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: dup + IL_003a: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_003f: ldc.i4.5 + IL_0040: shr + IL_0041: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0046: ldarga.s s + IL_0048: dup + IL_0049: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_004e: ldc.i4.5 + IL_004f: shr + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0055: nop + IL_0056: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005b: dup + IL_005c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0061: ldc.i4.5 + IL_0062: shr + IL_0063: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0073: ldc.i4.5 + IL_0074: shr + IL_0075: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007a: nop + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: dup + IL_0081: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0086: ldc.i4.5 + IL_0087: shr + IL_0088: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_008d: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0092: dup + IL_0093: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0098: ldc.i4.5 + IL_0099: shr + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_009f: nop + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a5: dup + IL_00a6: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00ab: ldc.i4.5 + IL_00ac: shr + IL_00ad: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b7: dup + IL_00b8: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00bd: ldc.i4.5 + IL_00be: shr + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00c4: nop + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ca: dup + IL_00cb: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d0: ldc.i4.5 + IL_00d1: shr + IL_00d2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e2: ldc.i4.5 + IL_00e3: shr + IL_00e4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00e9: nop + IL_00ea: ret + } // end of method CompoundAssignmentTest::LongRightShiftTest - IL_001b: ldloc.0 - IL_001c: ret - } // end of method CompoundAssignmentTest::PreIncrementInstanceFieldShort + .method public hidebysig static void LongBitAndTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: and + IL_0009: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000e: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: and + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: and + IL_0026: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: and + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0043: ldc.i4.5 + IL_0044: conv.i8 + IL_0045: and + IL_0046: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0053: ldc.i4.5 + IL_0054: conv.i8 + IL_0055: and + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0067: ldc.i4.5 + IL_0068: conv.i8 + IL_0069: and + IL_006a: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_007a: ldc.i4.5 + IL_007b: conv.i8 + IL_007c: and + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_008e: ldc.i4.5 + IL_008f: conv.i8 + IL_0090: and + IL_0091: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00a1: ldc.i4.5 + IL_00a2: conv.i8 + IL_00a3: and + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b5: ldc.i4.5 + IL_00b6: conv.i8 + IL_00b7: and + IL_00b8: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00c8: ldc.i4.5 + IL_00c9: conv.i8 + IL_00ca: and + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00dc: ldc.i4.5 + IL_00dd: conv.i8 + IL_00de: and + IL_00df: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00ef: ldc.i4.5 + IL_00f0: conv.i8 + IL_00f1: and + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::LongBitAndTest - .method public hidebysig instance int32 - PostIncrementInstanceFieldShort() cil managed + .method public hidebysig static void LongBitOrTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 29 (0x1d) + // Code size 249 (0xf9) .maxstack 3 - .locals init (int32 V_0, - int16 V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField - IL_000d: dup - IL_000e: stloc.1 - IL_000f: ldc.i4.1 - IL_0010: add - IL_0011: conv.i2 - IL_0012: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField - IL_0017: ldloc.1 - IL_0018: stloc.0 - IL_0019: br.s IL_001b + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: or + IL_0009: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000e: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: or + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: or + IL_0026: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: or + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0043: ldc.i4.5 + IL_0044: conv.i8 + IL_0045: or + IL_0046: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0053: ldc.i4.5 + IL_0054: conv.i8 + IL_0055: or + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0067: ldc.i4.5 + IL_0068: conv.i8 + IL_0069: or + IL_006a: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_007a: ldc.i4.5 + IL_007b: conv.i8 + IL_007c: or + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_008e: ldc.i4.5 + IL_008f: conv.i8 + IL_0090: or + IL_0091: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00a1: ldc.i4.5 + IL_00a2: conv.i8 + IL_00a3: or + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b5: ldc.i4.5 + IL_00b6: conv.i8 + IL_00b7: or + IL_00b8: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00c8: ldc.i4.5 + IL_00c9: conv.i8 + IL_00ca: or + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00dc: ldc.i4.5 + IL_00dd: conv.i8 + IL_00de: or + IL_00df: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00ef: ldc.i4.5 + IL_00f0: conv.i8 + IL_00f1: or + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::LongBitOrTest - IL_001b: ldloc.0 - IL_001c: ret - } // end of method CompoundAssignmentTest::PostIncrementInstanceFieldShort + .method public hidebysig static void LongBitXorTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: xor + IL_0009: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000e: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: xor + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: xor + IL_0026: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: xor + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0043: ldc.i4.5 + IL_0044: conv.i8 + IL_0045: xor + IL_0046: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0053: ldc.i4.5 + IL_0054: conv.i8 + IL_0055: xor + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0067: ldc.i4.5 + IL_0068: conv.i8 + IL_0069: xor + IL_006a: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_007a: ldc.i4.5 + IL_007b: conv.i8 + IL_007c: xor + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_008e: ldc.i4.5 + IL_008f: conv.i8 + IL_0090: xor + IL_0091: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00a1: ldc.i4.5 + IL_00a2: conv.i8 + IL_00a3: xor + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b5: ldc.i4.5 + IL_00b6: conv.i8 + IL_00b7: xor + IL_00b8: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00c8: ldc.i4.5 + IL_00c9: conv.i8 + IL_00ca: xor + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00dc: ldc.i4.5 + IL_00dd: conv.i8 + IL_00de: xor + IL_00df: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00ef: ldc.i4.5 + IL_00f0: conv.i8 + IL_00f1: xor + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::LongBitXorTest - .method public hidebysig instance void - IncrementInstanceFieldShort() cil managed + .method public hidebysig static void LongPostIncTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 22 (0x16) - .maxstack 8 + // Code size 371 (0x173) + .maxstack 3 + .locals init (int64 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField - IL_000d: ldc.i4.1 - IL_000e: add - IL_000f: conv.i2 - IL_0010: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField - IL_0015: ret - } // end of method CompoundAssignmentTest::IncrementInstanceFieldShort + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: conv.i8 + IL_0009: add + IL_000a: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_001a: dup + IL_001b: ldc.i4.1 + IL_001c: conv.i8 + IL_001d: add + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0031: dup + IL_0032: stloc.0 + IL_0033: ldc.i4.1 + IL_0034: conv.i8 + IL_0035: add + IL_0036: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0049: dup + IL_004a: stloc.0 + IL_004b: ldc.i4.1 + IL_004c: conv.i8 + IL_004d: add + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: dup + IL_005e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0063: dup + IL_0064: stloc.0 + IL_0065: ldc.i4.1 + IL_0066: conv.i8 + IL_0067: add + IL_0068: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: nop + IL_0074: ldarga.s s + IL_0076: dup + IL_0077: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_007c: dup + IL_007d: stloc.0 + IL_007e: ldc.i4.1 + IL_007f: conv.i8 + IL_0080: add + IL_0081: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: nop + IL_008e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0093: dup + IL_0094: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0099: dup + IL_009a: stloc.0 + IL_009b: ldc.i4.1 + IL_009c: conv.i8 + IL_009d: add + IL_009e: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00a3: ldloc.0 + IL_00a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a9: nop + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00b5: dup + IL_00b6: stloc.0 + IL_00b7: ldc.i4.1 + IL_00b8: conv.i8 + IL_00b9: add + IL_00ba: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: nop + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: dup + IL_00cd: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00d2: dup + IL_00d3: stloc.0 + IL_00d4: ldc.i4.1 + IL_00d5: conv.i8 + IL_00d6: add + IL_00d7: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00dc: ldloc.0 + IL_00dd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e2: nop + IL_00e3: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e8: dup + IL_00e9: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00ee: dup + IL_00ef: stloc.0 + IL_00f0: ldc.i4.1 + IL_00f1: conv.i8 + IL_00f2: add + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ff: nop + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0105: dup + IL_0106: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_010b: dup + IL_010c: stloc.0 + IL_010d: ldc.i4.1 + IL_010e: conv.i8 + IL_010f: add + IL_0110: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: nop + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0127: dup + IL_0128: stloc.0 + IL_0129: ldc.i4.1 + IL_012a: conv.i8 + IL_012b: add + IL_012c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: nop + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013e: dup + IL_013f: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0144: dup + IL_0145: stloc.0 + IL_0146: ldc.i4.1 + IL_0147: conv.i8 + IL_0148: add + IL_0149: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_014e: ldloc.0 + IL_014f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0160: dup + IL_0161: stloc.0 + IL_0162: ldc.i4.1 + IL_0163: conv.i8 + IL_0164: add + IL_0165: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_016a: nop + IL_016b: ldloc.0 + IL_016c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0171: nop + IL_0172: ret + } // end of method CompoundAssignmentTest::LongPostIncTest - .method public hidebysig instance int32 - PreIncrementInstanceProperty() cil managed + .method public hidebysig static void LongPreIncTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 29 (0x1d) + // Code size 371 (0x173) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) + .locals init (int64 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() - IL_000d: ldc.i4.1 - IL_000e: add - IL_000f: dup - IL_0010: stloc.1 - IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) - IL_0016: nop - IL_0017: ldloc.1 - IL_0018: stloc.0 - IL_0019: br.s IL_001b + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: ldc.i4.1 + IL_0007: conv.i8 + IL_0008: add + IL_0009: dup + IL_000a: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_001a: ldc.i4.1 + IL_001b: conv.i8 + IL_001c: add + IL_001d: dup + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0031: ldc.i4.1 + IL_0032: conv.i8 + IL_0033: add + IL_0034: dup + IL_0035: stloc.0 + IL_0036: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0049: ldc.i4.1 + IL_004a: conv.i8 + IL_004b: add + IL_004c: dup + IL_004d: stloc.0 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: dup + IL_005e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0063: ldc.i4.1 + IL_0064: conv.i8 + IL_0065: add + IL_0066: dup + IL_0067: stloc.0 + IL_0068: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: nop + IL_0074: ldarga.s s + IL_0076: dup + IL_0077: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_007c: ldc.i4.1 + IL_007d: conv.i8 + IL_007e: add + IL_007f: dup + IL_0080: stloc.0 + IL_0081: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: nop + IL_008e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0093: dup + IL_0094: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0099: ldc.i4.1 + IL_009a: conv.i8 + IL_009b: add + IL_009c: dup + IL_009d: stloc.0 + IL_009e: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00a3: ldloc.0 + IL_00a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a9: nop + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00b5: ldc.i4.1 + IL_00b6: conv.i8 + IL_00b7: add + IL_00b8: dup + IL_00b9: stloc.0 + IL_00ba: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: nop + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: dup + IL_00cd: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00d2: ldc.i4.1 + IL_00d3: conv.i8 + IL_00d4: add + IL_00d5: dup + IL_00d6: stloc.0 + IL_00d7: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00dc: ldloc.0 + IL_00dd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e2: nop + IL_00e3: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e8: dup + IL_00e9: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00ee: ldc.i4.1 + IL_00ef: conv.i8 + IL_00f0: add + IL_00f1: dup + IL_00f2: stloc.0 + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ff: nop + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0105: dup + IL_0106: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_010b: ldc.i4.1 + IL_010c: conv.i8 + IL_010d: add + IL_010e: dup + IL_010f: stloc.0 + IL_0110: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: nop + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0127: ldc.i4.1 + IL_0128: conv.i8 + IL_0129: add + IL_012a: dup + IL_012b: stloc.0 + IL_012c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: nop + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013e: dup + IL_013f: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0144: ldc.i4.1 + IL_0145: conv.i8 + IL_0146: add + IL_0147: dup + IL_0148: stloc.0 + IL_0149: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_014e: ldloc.0 + IL_014f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0160: ldc.i4.1 + IL_0161: conv.i8 + IL_0162: add + IL_0163: dup + IL_0164: stloc.0 + IL_0165: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_016a: nop + IL_016b: ldloc.0 + IL_016c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0171: nop + IL_0172: ret + } // end of method CompoundAssignmentTest::LongPreIncTest - IL_001b: ldloc.0 - IL_001c: ret - } // end of method CompoundAssignmentTest::PreIncrementInstanceProperty + .method public hidebysig static void LongPostDecTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 371 (0x173) + .maxstack 3 + .locals init (int64 V_0) + IL_0000: nop + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: conv.i8 + IL_0009: sub + IL_000a: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_001a: dup + IL_001b: ldc.i4.1 + IL_001c: conv.i8 + IL_001d: sub + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0031: dup + IL_0032: stloc.0 + IL_0033: ldc.i4.1 + IL_0034: conv.i8 + IL_0035: sub + IL_0036: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0049: dup + IL_004a: stloc.0 + IL_004b: ldc.i4.1 + IL_004c: conv.i8 + IL_004d: sub + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: dup + IL_005e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0063: dup + IL_0064: stloc.0 + IL_0065: ldc.i4.1 + IL_0066: conv.i8 + IL_0067: sub + IL_0068: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: nop + IL_0074: ldarga.s s + IL_0076: dup + IL_0077: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_007c: dup + IL_007d: stloc.0 + IL_007e: ldc.i4.1 + IL_007f: conv.i8 + IL_0080: sub + IL_0081: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: nop + IL_008e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0093: dup + IL_0094: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0099: dup + IL_009a: stloc.0 + IL_009b: ldc.i4.1 + IL_009c: conv.i8 + IL_009d: sub + IL_009e: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00a3: ldloc.0 + IL_00a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a9: nop + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00b5: dup + IL_00b6: stloc.0 + IL_00b7: ldc.i4.1 + IL_00b8: conv.i8 + IL_00b9: sub + IL_00ba: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: nop + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: dup + IL_00cd: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00d2: dup + IL_00d3: stloc.0 + IL_00d4: ldc.i4.1 + IL_00d5: conv.i8 + IL_00d6: sub + IL_00d7: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00dc: ldloc.0 + IL_00dd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e2: nop + IL_00e3: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e8: dup + IL_00e9: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00ee: dup + IL_00ef: stloc.0 + IL_00f0: ldc.i4.1 + IL_00f1: conv.i8 + IL_00f2: sub + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ff: nop + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0105: dup + IL_0106: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_010b: dup + IL_010c: stloc.0 + IL_010d: ldc.i4.1 + IL_010e: conv.i8 + IL_010f: sub + IL_0110: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: nop + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0127: dup + IL_0128: stloc.0 + IL_0129: ldc.i4.1 + IL_012a: conv.i8 + IL_012b: sub + IL_012c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: nop + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013e: dup + IL_013f: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0144: dup + IL_0145: stloc.0 + IL_0146: ldc.i4.1 + IL_0147: conv.i8 + IL_0148: sub + IL_0149: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_014e: ldloc.0 + IL_014f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0160: dup + IL_0161: stloc.0 + IL_0162: ldc.i4.1 + IL_0163: conv.i8 + IL_0164: sub + IL_0165: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_016a: nop + IL_016b: ldloc.0 + IL_016c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0171: nop + IL_0172: ret + } // end of method CompoundAssignmentTest::LongPostDecTest - .method public hidebysig instance int32 - PostIncrementInstanceProperty() cil managed + .method public hidebysig static void LongPreDecTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 29 (0x1d) + // Code size 371 (0x173) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) + .locals init (int64 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() - IL_000d: dup - IL_000e: stloc.1 - IL_000f: ldc.i4.1 - IL_0010: add - IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) - IL_0016: nop - IL_0017: ldloc.1 - IL_0018: stloc.0 - IL_0019: br.s IL_001b + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: ldc.i4.1 + IL_0007: conv.i8 + IL_0008: sub + IL_0009: dup + IL_000a: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_001a: ldc.i4.1 + IL_001b: conv.i8 + IL_001c: sub + IL_001d: dup + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0031: ldc.i4.1 + IL_0032: conv.i8 + IL_0033: sub + IL_0034: dup + IL_0035: stloc.0 + IL_0036: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0049: ldc.i4.1 + IL_004a: conv.i8 + IL_004b: sub + IL_004c: dup + IL_004d: stloc.0 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: dup + IL_005e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0063: ldc.i4.1 + IL_0064: conv.i8 + IL_0065: sub + IL_0066: dup + IL_0067: stloc.0 + IL_0068: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: nop + IL_0074: ldarga.s s + IL_0076: dup + IL_0077: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_007c: ldc.i4.1 + IL_007d: conv.i8 + IL_007e: sub + IL_007f: dup + IL_0080: stloc.0 + IL_0081: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: nop + IL_008e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0093: dup + IL_0094: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0099: ldc.i4.1 + IL_009a: conv.i8 + IL_009b: sub + IL_009c: dup + IL_009d: stloc.0 + IL_009e: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00a3: ldloc.0 + IL_00a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a9: nop + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00b5: ldc.i4.1 + IL_00b6: conv.i8 + IL_00b7: sub + IL_00b8: dup + IL_00b9: stloc.0 + IL_00ba: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: nop + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: dup + IL_00cd: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00d2: ldc.i4.1 + IL_00d3: conv.i8 + IL_00d4: sub + IL_00d5: dup + IL_00d6: stloc.0 + IL_00d7: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00dc: ldloc.0 + IL_00dd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e2: nop + IL_00e3: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e8: dup + IL_00e9: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00ee: ldc.i4.1 + IL_00ef: conv.i8 + IL_00f0: sub + IL_00f1: dup + IL_00f2: stloc.0 + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ff: nop + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0105: dup + IL_0106: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_010b: ldc.i4.1 + IL_010c: conv.i8 + IL_010d: sub + IL_010e: dup + IL_010f: stloc.0 + IL_0110: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: nop + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0127: ldc.i4.1 + IL_0128: conv.i8 + IL_0129: sub + IL_012a: dup + IL_012b: stloc.0 + IL_012c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: nop + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013e: dup + IL_013f: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0144: ldc.i4.1 + IL_0145: conv.i8 + IL_0146: sub + IL_0147: dup + IL_0148: stloc.0 + IL_0149: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_014e: ldloc.0 + IL_014f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0160: ldc.i4.1 + IL_0161: conv.i8 + IL_0162: sub + IL_0163: dup + IL_0164: stloc.0 + IL_0165: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_016a: nop + IL_016b: ldloc.0 + IL_016c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0171: nop + IL_0172: ret + } // end of method CompoundAssignmentTest::LongPreDecTest - IL_001b: ldloc.0 - IL_001c: ret - } // end of method CompoundAssignmentTest::PostIncrementInstanceProperty + .method public hidebysig static void UlongAddTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: add + IL_0009: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000e: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: add + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: add + IL_0026: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: add + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0043: ldc.i4.5 + IL_0044: conv.i8 + IL_0045: add + IL_0046: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0053: ldc.i4.5 + IL_0054: conv.i8 + IL_0055: add + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0067: ldc.i4.5 + IL_0068: conv.i8 + IL_0069: add + IL_006a: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_007a: ldc.i4.5 + IL_007b: conv.i8 + IL_007c: add + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_008e: ldc.i4.5 + IL_008f: conv.i8 + IL_0090: add + IL_0091: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00a1: ldc.i4.5 + IL_00a2: conv.i8 + IL_00a3: add + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b5: ldc.i4.5 + IL_00b6: conv.i8 + IL_00b7: add + IL_00b8: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00c8: ldc.i4.5 + IL_00c9: conv.i8 + IL_00ca: add + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00dc: ldc.i4.5 + IL_00dd: conv.i8 + IL_00de: add + IL_00df: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00ef: ldc.i4.5 + IL_00f0: conv.i8 + IL_00f1: add + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::UlongAddTest - .method public hidebysig instance void - IncrementInstanceProperty() cil managed + .method public hidebysig static void UlongSubtractTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 22 (0x16) - .maxstack 8 + // Code size 249 (0xf9) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() - IL_000d: ldc.i4.1 - IL_000e: add - IL_000f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) - IL_0014: nop - IL_0015: ret - } // end of method CompoundAssignmentTest::IncrementInstanceProperty + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: sub + IL_0009: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000e: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: sub + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: sub + IL_0026: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: sub + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0043: ldc.i4.5 + IL_0044: conv.i8 + IL_0045: sub + IL_0046: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0053: ldc.i4.5 + IL_0054: conv.i8 + IL_0055: sub + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0067: ldc.i4.5 + IL_0068: conv.i8 + IL_0069: sub + IL_006a: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_007a: ldc.i4.5 + IL_007b: conv.i8 + IL_007c: sub + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_008e: ldc.i4.5 + IL_008f: conv.i8 + IL_0090: sub + IL_0091: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00a1: ldc.i4.5 + IL_00a2: conv.i8 + IL_00a3: sub + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b5: ldc.i4.5 + IL_00b6: conv.i8 + IL_00b7: sub + IL_00b8: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00c8: ldc.i4.5 + IL_00c9: conv.i8 + IL_00ca: sub + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00dc: ldc.i4.5 + IL_00dd: conv.i8 + IL_00de: sub + IL_00df: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00ef: ldc.i4.5 + IL_00f0: conv.i8 + IL_00f1: sub + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::UlongSubtractTest - .method public hidebysig instance void - DoubleInstanceProperty() cil managed + .method public hidebysig static void UlongMultiplyTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 22 (0x16) - .maxstack 8 + // Code size 249 (0xf9) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() - IL_000d: ldc.i4.2 - IL_000e: mul - IL_000f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) - IL_0014: nop - IL_0015: ret - } // end of method CompoundAssignmentTest::DoubleInstanceProperty + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: mul + IL_0009: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000e: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: mul + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: mul + IL_0026: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: mul + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0043: ldc.i4.5 + IL_0044: conv.i8 + IL_0045: mul + IL_0046: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0053: ldc.i4.5 + IL_0054: conv.i8 + IL_0055: mul + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0067: ldc.i4.5 + IL_0068: conv.i8 + IL_0069: mul + IL_006a: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_007a: ldc.i4.5 + IL_007b: conv.i8 + IL_007c: mul + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_008e: ldc.i4.5 + IL_008f: conv.i8 + IL_0090: mul + IL_0091: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00a1: ldc.i4.5 + IL_00a2: conv.i8 + IL_00a3: mul + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b5: ldc.i4.5 + IL_00b6: conv.i8 + IL_00b7: mul + IL_00b8: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00c8: ldc.i4.5 + IL_00c9: conv.i8 + IL_00ca: mul + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00dc: ldc.i4.5 + IL_00dd: conv.i8 + IL_00de: mul + IL_00df: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00ef: ldc.i4.5 + IL_00f0: conv.i8 + IL_00f1: mul + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::UlongMultiplyTest - .method public hidebysig instance int32 - DoubleInstancePropertyAndReturn() cil managed + .method public hidebysig static void UlongDivideTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 29 (0x1d) + // Code size 249 (0xf9) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() - IL_000d: ldc.i4.2 - IL_000e: mul - IL_000f: dup - IL_0010: stloc.1 - IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) - IL_0016: nop - IL_0017: ldloc.1 - IL_0018: stloc.0 - IL_0019: br.s IL_001b + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: div.un + IL_0009: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000e: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: div.un + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: div.un + IL_0026: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: div.un + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0043: ldc.i4.5 + IL_0044: conv.i8 + IL_0045: div.un + IL_0046: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0053: ldc.i4.5 + IL_0054: conv.i8 + IL_0055: div.un + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0067: ldc.i4.5 + IL_0068: conv.i8 + IL_0069: div.un + IL_006a: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_007a: ldc.i4.5 + IL_007b: conv.i8 + IL_007c: div.un + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_008e: ldc.i4.5 + IL_008f: conv.i8 + IL_0090: div.un + IL_0091: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00a1: ldc.i4.5 + IL_00a2: conv.i8 + IL_00a3: div.un + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b5: ldc.i4.5 + IL_00b6: conv.i8 + IL_00b7: div.un + IL_00b8: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00c8: ldc.i4.5 + IL_00c9: conv.i8 + IL_00ca: div.un + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00dc: ldc.i4.5 + IL_00dd: conv.i8 + IL_00de: div.un + IL_00df: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00ef: ldc.i4.5 + IL_00f0: conv.i8 + IL_00f1: div.un + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::UlongDivideTest - IL_001b: ldloc.0 - IL_001c: ret - } // end of method CompoundAssignmentTest::DoubleInstancePropertyAndReturn + .method public hidebysig static void UlongModulusTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: rem.un + IL_0009: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000e: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: rem.un + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: rem.un + IL_0026: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: rem.un + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0043: ldc.i4.5 + IL_0044: conv.i8 + IL_0045: rem.un + IL_0046: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0053: ldc.i4.5 + IL_0054: conv.i8 + IL_0055: rem.un + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0067: ldc.i4.5 + IL_0068: conv.i8 + IL_0069: rem.un + IL_006a: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_007a: ldc.i4.5 + IL_007b: conv.i8 + IL_007c: rem.un + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_008e: ldc.i4.5 + IL_008f: conv.i8 + IL_0090: rem.un + IL_0091: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00a1: ldc.i4.5 + IL_00a2: conv.i8 + IL_00a3: rem.un + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b5: ldc.i4.5 + IL_00b6: conv.i8 + IL_00b7: rem.un + IL_00b8: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00c8: ldc.i4.5 + IL_00c9: conv.i8 + IL_00ca: rem.un + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00dc: ldc.i4.5 + IL_00dd: conv.i8 + IL_00de: rem.un + IL_00df: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00ef: ldc.i4.5 + IL_00f0: conv.i8 + IL_00f1: rem.un + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::UlongModulusTest - .method public hidebysig instance int32 - PreIncrementInstancePropertyByte() cil managed + .method public hidebysig static void UlongLeftShiftTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 30 (0x1e) + // Code size 235 (0xeb) .maxstack 3 - .locals init (int32 V_0, - uint8 V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() - IL_000d: ldc.i4.1 - IL_000e: add - IL_000f: conv.u1 - IL_0010: dup - IL_0011: stloc.1 - IL_0012: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) - IL_0017: nop - IL_0018: ldloc.1 - IL_0019: stloc.0 - IL_001a: br.s IL_001c + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: ldc.i4.5 + IL_0007: shl + IL_0008: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000d: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0012: ldc.i4.5 + IL_0013: shl + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0021: ldc.i4.5 + IL_0022: shl + IL_0023: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_002f: ldc.i4.5 + IL_0030: shl + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: dup + IL_003a: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_003f: ldc.i4.5 + IL_0040: shl + IL_0041: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0046: ldarga.s s + IL_0048: dup + IL_0049: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_004e: ldc.i4.5 + IL_004f: shl + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0055: nop + IL_0056: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005b: dup + IL_005c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0061: ldc.i4.5 + IL_0062: shl + IL_0063: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0073: ldc.i4.5 + IL_0074: shl + IL_0075: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007a: nop + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: dup + IL_0081: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0086: ldc.i4.5 + IL_0087: shl + IL_0088: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_008d: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0092: dup + IL_0093: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0098: ldc.i4.5 + IL_0099: shl + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_009f: nop + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a5: dup + IL_00a6: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00ab: ldc.i4.5 + IL_00ac: shl + IL_00ad: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b7: dup + IL_00b8: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00bd: ldc.i4.5 + IL_00be: shl + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00c4: nop + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ca: dup + IL_00cb: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d0: ldc.i4.5 + IL_00d1: shl + IL_00d2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e2: ldc.i4.5 + IL_00e3: shl + IL_00e4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00e9: nop + IL_00ea: ret + } // end of method CompoundAssignmentTest::UlongLeftShiftTest - IL_001c: ldloc.0 - IL_001d: ret - } // end of method CompoundAssignmentTest::PreIncrementInstancePropertyByte + .method public hidebysig static void UlongRightShiftTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 235 (0xeb) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: ldc.i4.5 + IL_0007: shr.un + IL_0008: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000d: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0012: ldc.i4.5 + IL_0013: shr.un + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0021: ldc.i4.5 + IL_0022: shr.un + IL_0023: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_002f: ldc.i4.5 + IL_0030: shr.un + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: dup + IL_003a: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_003f: ldc.i4.5 + IL_0040: shr.un + IL_0041: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0046: ldarga.s s + IL_0048: dup + IL_0049: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_004e: ldc.i4.5 + IL_004f: shr.un + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0055: nop + IL_0056: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005b: dup + IL_005c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0061: ldc.i4.5 + IL_0062: shr.un + IL_0063: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0073: ldc.i4.5 + IL_0074: shr.un + IL_0075: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007a: nop + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: dup + IL_0081: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0086: ldc.i4.5 + IL_0087: shr.un + IL_0088: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_008d: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0092: dup + IL_0093: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0098: ldc.i4.5 + IL_0099: shr.un + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_009f: nop + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a5: dup + IL_00a6: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00ab: ldc.i4.5 + IL_00ac: shr.un + IL_00ad: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b7: dup + IL_00b8: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00bd: ldc.i4.5 + IL_00be: shr.un + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00c4: nop + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ca: dup + IL_00cb: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d0: ldc.i4.5 + IL_00d1: shr.un + IL_00d2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e2: ldc.i4.5 + IL_00e3: shr.un + IL_00e4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00e9: nop + IL_00ea: ret + } // end of method CompoundAssignmentTest::UlongRightShiftTest - .method public hidebysig instance int32 - PostIncrementInstancePropertyByte() cil managed + .method public hidebysig static void UlongBitAndTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 30 (0x1e) + // Code size 249 (0xf9) .maxstack 3 - .locals init (int32 V_0, - uint8 V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() - IL_000d: dup - IL_000e: stloc.1 - IL_000f: ldc.i4.1 - IL_0010: add - IL_0011: conv.u1 - IL_0012: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) - IL_0017: nop - IL_0018: ldloc.1 - IL_0019: stloc.0 - IL_001a: br.s IL_001c + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: and + IL_0009: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000e: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: and + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: and + IL_0026: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: and + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0043: ldc.i4.5 + IL_0044: conv.i8 + IL_0045: and + IL_0046: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0053: ldc.i4.5 + IL_0054: conv.i8 + IL_0055: and + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0067: ldc.i4.5 + IL_0068: conv.i8 + IL_0069: and + IL_006a: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_007a: ldc.i4.5 + IL_007b: conv.i8 + IL_007c: and + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_008e: ldc.i4.5 + IL_008f: conv.i8 + IL_0090: and + IL_0091: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00a1: ldc.i4.5 + IL_00a2: conv.i8 + IL_00a3: and + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b5: ldc.i4.5 + IL_00b6: conv.i8 + IL_00b7: and + IL_00b8: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00c8: ldc.i4.5 + IL_00c9: conv.i8 + IL_00ca: and + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00dc: ldc.i4.5 + IL_00dd: conv.i8 + IL_00de: and + IL_00df: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00ef: ldc.i4.5 + IL_00f0: conv.i8 + IL_00f1: and + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::UlongBitAndTest - IL_001c: ldloc.0 - IL_001d: ret - } // end of method CompoundAssignmentTest::PostIncrementInstancePropertyByte + .method public hidebysig static void UlongBitOrTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 249 (0xf9) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: or + IL_0009: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000e: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: or + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: or + IL_0026: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: or + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0043: ldc.i4.5 + IL_0044: conv.i8 + IL_0045: or + IL_0046: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0053: ldc.i4.5 + IL_0054: conv.i8 + IL_0055: or + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0067: ldc.i4.5 + IL_0068: conv.i8 + IL_0069: or + IL_006a: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_007a: ldc.i4.5 + IL_007b: conv.i8 + IL_007c: or + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_008e: ldc.i4.5 + IL_008f: conv.i8 + IL_0090: or + IL_0091: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00a1: ldc.i4.5 + IL_00a2: conv.i8 + IL_00a3: or + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b5: ldc.i4.5 + IL_00b6: conv.i8 + IL_00b7: or + IL_00b8: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00c8: ldc.i4.5 + IL_00c9: conv.i8 + IL_00ca: or + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00dc: ldc.i4.5 + IL_00dd: conv.i8 + IL_00de: or + IL_00df: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00ef: ldc.i4.5 + IL_00f0: conv.i8 + IL_00f1: or + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::UlongBitOrTest - .method public hidebysig instance void - IncrementInstancePropertyByte() cil managed + .method public hidebysig static void UlongBitXorTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 23 (0x17) - .maxstack 8 + // Code size 249 (0xf9) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() - IL_000d: ldc.i4.1 - IL_000e: add - IL_000f: conv.u1 - IL_0010: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) - IL_0015: nop - IL_0016: ret - } // end of method CompoundAssignmentTest::IncrementInstancePropertyByte + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: xor + IL_0009: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000e: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: xor + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: xor + IL_0026: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: xor + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: dup + IL_003e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0043: ldc.i4.5 + IL_0044: conv.i8 + IL_0045: xor + IL_0046: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_004b: ldarga.s s + IL_004d: dup + IL_004e: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0053: ldc.i4.5 + IL_0054: conv.i8 + IL_0055: xor + IL_0056: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_005b: nop + IL_005c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0061: dup + IL_0062: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0067: ldc.i4.5 + IL_0068: conv.i8 + IL_0069: xor + IL_006a: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_007a: ldc.i4.5 + IL_007b: conv.i8 + IL_007c: xor + IL_007d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0082: nop + IL_0083: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0088: dup + IL_0089: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_008e: ldc.i4.5 + IL_008f: conv.i8 + IL_0090: xor + IL_0091: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00a1: ldc.i4.5 + IL_00a2: conv.i8 + IL_00a3: xor + IL_00a4: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00a9: nop + IL_00aa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00af: dup + IL_00b0: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b5: ldc.i4.5 + IL_00b6: conv.i8 + IL_00b7: xor + IL_00b8: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c2: dup + IL_00c3: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00c8: ldc.i4.5 + IL_00c9: conv.i8 + IL_00ca: xor + IL_00cb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00d0: nop + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00dc: ldc.i4.5 + IL_00dd: conv.i8 + IL_00de: xor + IL_00df: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e9: dup + IL_00ea: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00ef: ldc.i4.5 + IL_00f0: conv.i8 + IL_00f1: xor + IL_00f2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00f7: nop + IL_00f8: ret + } // end of method CompoundAssignmentTest::UlongBitXorTest - .method public hidebysig instance void - DoubleInstancePropertyByte() cil managed + .method public hidebysig static void UlongPostIncTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 23 (0x17) - .maxstack 8 + // Code size 371 (0x173) + .maxstack 3 + .locals init (uint64 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() - IL_000d: ldc.i4.2 - IL_000e: mul - IL_000f: conv.u1 - IL_0010: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) - IL_0015: nop - IL_0016: ret - } // end of method CompoundAssignmentTest::DoubleInstancePropertyByte + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: conv.i8 + IL_0009: add + IL_000a: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_001a: dup + IL_001b: ldc.i4.1 + IL_001c: conv.i8 + IL_001d: add + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0031: dup + IL_0032: stloc.0 + IL_0033: ldc.i4.1 + IL_0034: conv.i8 + IL_0035: add + IL_0036: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0049: dup + IL_004a: stloc.0 + IL_004b: ldc.i4.1 + IL_004c: conv.i8 + IL_004d: add + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: dup + IL_005e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0063: dup + IL_0064: stloc.0 + IL_0065: ldc.i4.1 + IL_0066: conv.i8 + IL_0067: add + IL_0068: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: nop + IL_0074: ldarga.s s + IL_0076: dup + IL_0077: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_007c: dup + IL_007d: stloc.0 + IL_007e: ldc.i4.1 + IL_007f: conv.i8 + IL_0080: add + IL_0081: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: nop + IL_008e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0093: dup + IL_0094: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0099: dup + IL_009a: stloc.0 + IL_009b: ldc.i4.1 + IL_009c: conv.i8 + IL_009d: add + IL_009e: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00a3: ldloc.0 + IL_00a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a9: nop + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00b5: dup + IL_00b6: stloc.0 + IL_00b7: ldc.i4.1 + IL_00b8: conv.i8 + IL_00b9: add + IL_00ba: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: nop + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: dup + IL_00cd: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00d2: dup + IL_00d3: stloc.0 + IL_00d4: ldc.i4.1 + IL_00d5: conv.i8 + IL_00d6: add + IL_00d7: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00dc: ldloc.0 + IL_00dd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e2: nop + IL_00e3: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e8: dup + IL_00e9: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00ee: dup + IL_00ef: stloc.0 + IL_00f0: ldc.i4.1 + IL_00f1: conv.i8 + IL_00f2: add + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ff: nop + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0105: dup + IL_0106: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_010b: dup + IL_010c: stloc.0 + IL_010d: ldc.i4.1 + IL_010e: conv.i8 + IL_010f: add + IL_0110: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: nop + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0127: dup + IL_0128: stloc.0 + IL_0129: ldc.i4.1 + IL_012a: conv.i8 + IL_012b: add + IL_012c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: nop + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013e: dup + IL_013f: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0144: dup + IL_0145: stloc.0 + IL_0146: ldc.i4.1 + IL_0147: conv.i8 + IL_0148: add + IL_0149: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_014e: ldloc.0 + IL_014f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0160: dup + IL_0161: stloc.0 + IL_0162: ldc.i4.1 + IL_0163: conv.i8 + IL_0164: add + IL_0165: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_016a: nop + IL_016b: ldloc.0 + IL_016c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0171: nop + IL_0172: ret + } // end of method CompoundAssignmentTest::UlongPostIncTest - .method public hidebysig instance int32 - DoubleInstancePropertyByteAndReturn() cil managed + .method public hidebysig static void UlongPreIncTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 30 (0x1e) + // Code size 371 (0x173) .maxstack 3 - .locals init (int32 V_0, - uint8 V_1) + .locals init (uint64 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() - IL_000d: ldc.i4.2 - IL_000e: mul - IL_000f: conv.u1 - IL_0010: dup - IL_0011: stloc.1 - IL_0012: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) - IL_0017: nop - IL_0018: ldloc.1 - IL_0019: stloc.0 - IL_001a: br.s IL_001c + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: ldc.i4.1 + IL_0007: conv.i8 + IL_0008: add + IL_0009: dup + IL_000a: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_001a: ldc.i4.1 + IL_001b: conv.i8 + IL_001c: add + IL_001d: dup + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0031: ldc.i4.1 + IL_0032: conv.i8 + IL_0033: add + IL_0034: dup + IL_0035: stloc.0 + IL_0036: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0049: ldc.i4.1 + IL_004a: conv.i8 + IL_004b: add + IL_004c: dup + IL_004d: stloc.0 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: dup + IL_005e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0063: ldc.i4.1 + IL_0064: conv.i8 + IL_0065: add + IL_0066: dup + IL_0067: stloc.0 + IL_0068: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: nop + IL_0074: ldarga.s s + IL_0076: dup + IL_0077: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_007c: ldc.i4.1 + IL_007d: conv.i8 + IL_007e: add + IL_007f: dup + IL_0080: stloc.0 + IL_0081: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: nop + IL_008e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0093: dup + IL_0094: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0099: ldc.i4.1 + IL_009a: conv.i8 + IL_009b: add + IL_009c: dup + IL_009d: stloc.0 + IL_009e: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00a3: ldloc.0 + IL_00a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a9: nop + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00b5: ldc.i4.1 + IL_00b6: conv.i8 + IL_00b7: add + IL_00b8: dup + IL_00b9: stloc.0 + IL_00ba: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: nop + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: dup + IL_00cd: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00d2: ldc.i4.1 + IL_00d3: conv.i8 + IL_00d4: add + IL_00d5: dup + IL_00d6: stloc.0 + IL_00d7: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00dc: ldloc.0 + IL_00dd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e2: nop + IL_00e3: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e8: dup + IL_00e9: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00ee: ldc.i4.1 + IL_00ef: conv.i8 + IL_00f0: add + IL_00f1: dup + IL_00f2: stloc.0 + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ff: nop + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0105: dup + IL_0106: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_010b: ldc.i4.1 + IL_010c: conv.i8 + IL_010d: add + IL_010e: dup + IL_010f: stloc.0 + IL_0110: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: nop + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0127: ldc.i4.1 + IL_0128: conv.i8 + IL_0129: add + IL_012a: dup + IL_012b: stloc.0 + IL_012c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: nop + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013e: dup + IL_013f: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0144: ldc.i4.1 + IL_0145: conv.i8 + IL_0146: add + IL_0147: dup + IL_0148: stloc.0 + IL_0149: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_014e: ldloc.0 + IL_014f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0160: ldc.i4.1 + IL_0161: conv.i8 + IL_0162: add + IL_0163: dup + IL_0164: stloc.0 + IL_0165: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_016a: nop + IL_016b: ldloc.0 + IL_016c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0171: nop + IL_0172: ret + } // end of method CompoundAssignmentTest::UlongPreIncTest - IL_001c: ldloc.0 - IL_001d: ret - } // end of method CompoundAssignmentTest::DoubleInstancePropertyByteAndReturn + .method public hidebysig static void UlongPostDecTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 371 (0x173) + .maxstack 3 + .locals init (uint64 V_0) + IL_0000: nop + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: conv.i8 + IL_0009: sub + IL_000a: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_001a: dup + IL_001b: ldc.i4.1 + IL_001c: conv.i8 + IL_001d: sub + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0031: dup + IL_0032: stloc.0 + IL_0033: ldc.i4.1 + IL_0034: conv.i8 + IL_0035: sub + IL_0036: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0049: dup + IL_004a: stloc.0 + IL_004b: ldc.i4.1 + IL_004c: conv.i8 + IL_004d: sub + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: dup + IL_005e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0063: dup + IL_0064: stloc.0 + IL_0065: ldc.i4.1 + IL_0066: conv.i8 + IL_0067: sub + IL_0068: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: nop + IL_0074: ldarga.s s + IL_0076: dup + IL_0077: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_007c: dup + IL_007d: stloc.0 + IL_007e: ldc.i4.1 + IL_007f: conv.i8 + IL_0080: sub + IL_0081: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: nop + IL_008e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0093: dup + IL_0094: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0099: dup + IL_009a: stloc.0 + IL_009b: ldc.i4.1 + IL_009c: conv.i8 + IL_009d: sub + IL_009e: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00a3: ldloc.0 + IL_00a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a9: nop + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00b5: dup + IL_00b6: stloc.0 + IL_00b7: ldc.i4.1 + IL_00b8: conv.i8 + IL_00b9: sub + IL_00ba: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: nop + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: dup + IL_00cd: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00d2: dup + IL_00d3: stloc.0 + IL_00d4: ldc.i4.1 + IL_00d5: conv.i8 + IL_00d6: sub + IL_00d7: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00dc: ldloc.0 + IL_00dd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e2: nop + IL_00e3: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e8: dup + IL_00e9: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00ee: dup + IL_00ef: stloc.0 + IL_00f0: ldc.i4.1 + IL_00f1: conv.i8 + IL_00f2: sub + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ff: nop + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0105: dup + IL_0106: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_010b: dup + IL_010c: stloc.0 + IL_010d: ldc.i4.1 + IL_010e: conv.i8 + IL_010f: sub + IL_0110: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: nop + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0127: dup + IL_0128: stloc.0 + IL_0129: ldc.i4.1 + IL_012a: conv.i8 + IL_012b: sub + IL_012c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: nop + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013e: dup + IL_013f: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0144: dup + IL_0145: stloc.0 + IL_0146: ldc.i4.1 + IL_0147: conv.i8 + IL_0148: sub + IL_0149: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_014e: ldloc.0 + IL_014f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0160: dup + IL_0161: stloc.0 + IL_0162: ldc.i4.1 + IL_0163: conv.i8 + IL_0164: sub + IL_0165: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_016a: nop + IL_016b: ldloc.0 + IL_016c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0171: nop + IL_0172: ret + } // end of method CompoundAssignmentTest::UlongPostDecTest - .method public hidebysig instance int32 - PreIncrementStaticField() cil managed + .method public hidebysig static void UlongPreDecTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 19 (0x13) - .maxstack 2 - .locals init (int32 V_0) + // Code size 371 (0x173) + .maxstack 3 + .locals init (uint64 V_0) IL_0000: nop - IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField IL_0006: ldc.i4.1 - IL_0007: add - IL_0008: dup - IL_0009: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_000e: stloc.0 - IL_000f: br.s IL_0011 + IL_0007: conv.i8 + IL_0008: sub + IL_0009: dup + IL_000a: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_001a: ldc.i4.1 + IL_001b: conv.i8 + IL_001c: sub + IL_001d: dup + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0031: ldc.i4.1 + IL_0032: conv.i8 + IL_0033: sub + IL_0034: dup + IL_0035: stloc.0 + IL_0036: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0049: ldc.i4.1 + IL_004a: conv.i8 + IL_004b: sub + IL_004c: dup + IL_004d: stloc.0 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: dup + IL_005e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0063: ldc.i4.1 + IL_0064: conv.i8 + IL_0065: sub + IL_0066: dup + IL_0067: stloc.0 + IL_0068: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: nop + IL_0074: ldarga.s s + IL_0076: dup + IL_0077: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_007c: ldc.i4.1 + IL_007d: conv.i8 + IL_007e: sub + IL_007f: dup + IL_0080: stloc.0 + IL_0081: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: nop + IL_008e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0093: dup + IL_0094: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0099: ldc.i4.1 + IL_009a: conv.i8 + IL_009b: sub + IL_009c: dup + IL_009d: stloc.0 + IL_009e: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00a3: ldloc.0 + IL_00a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a9: nop + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00b5: ldc.i4.1 + IL_00b6: conv.i8 + IL_00b7: sub + IL_00b8: dup + IL_00b9: stloc.0 + IL_00ba: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: nop + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: dup + IL_00cd: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00d2: ldc.i4.1 + IL_00d3: conv.i8 + IL_00d4: sub + IL_00d5: dup + IL_00d6: stloc.0 + IL_00d7: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00dc: ldloc.0 + IL_00dd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e2: nop + IL_00e3: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e8: dup + IL_00e9: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00ee: ldc.i4.1 + IL_00ef: conv.i8 + IL_00f0: sub + IL_00f1: dup + IL_00f2: stloc.0 + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ff: nop + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0105: dup + IL_0106: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_010b: ldc.i4.1 + IL_010c: conv.i8 + IL_010d: sub + IL_010e: dup + IL_010f: stloc.0 + IL_0110: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: nop + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0127: ldc.i4.1 + IL_0128: conv.i8 + IL_0129: sub + IL_012a: dup + IL_012b: stloc.0 + IL_012c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: nop + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013e: dup + IL_013f: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0144: ldc.i4.1 + IL_0145: conv.i8 + IL_0146: sub + IL_0147: dup + IL_0148: stloc.0 + IL_0149: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_014e: ldloc.0 + IL_014f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0160: ldc.i4.1 + IL_0161: conv.i8 + IL_0162: sub + IL_0163: dup + IL_0164: stloc.0 + IL_0165: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_016a: nop + IL_016b: ldloc.0 + IL_016c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0171: nop + IL_0172: ret + } // end of method CompoundAssignmentTest::UlongPreDecTest - IL_0011: ldloc.0 - IL_0012: ret - } // end of method CompoundAssignmentTest::PreIncrementStaticField + .method public hidebysig static void CustomClassAddTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 291 (0x123) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: ldnull + IL_0007: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0016: ldnull + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: dup + IL_0024: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0029: ldnull + IL_002a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_003b: ldnull + IL_003c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0041: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0046: nop + IL_0047: ldarga.s s + IL_0049: dup + IL_004a: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004f: ldnull + IL_0050: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0055: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_005a: ldarga.s s + IL_005c: dup + IL_005d: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0062: ldnull + IL_0063: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0068: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006d: nop + IL_006e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0073: dup + IL_0074: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0079: ldnull + IL_007a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_007f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008f: ldnull + IL_0090: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0095: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_009a: nop + IL_009b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00a0: dup + IL_00a1: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a6: ldnull + IL_00a7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ac: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00b1: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b6: dup + IL_00b7: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00bc: ldnull + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c2: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c7: nop + IL_00c8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00cd: dup + IL_00ce: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d3: ldnull + IL_00d4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00e3: dup + IL_00e4: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e9: ldnull + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ef: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f4: nop + IL_00f5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00fa: dup + IL_00fb: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0100: ldnull + IL_0101: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0106: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_010b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0110: dup + IL_0111: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0116: ldnull + IL_0117: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0121: nop + IL_0122: ret + } // end of method CompoundAssignmentTest::CustomClassAddTest - .method public hidebysig instance int32 - PostIncrementStaticField() cil managed + .method public hidebysig static void CustomClassSubtractTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 19 (0x13) + // Code size 291 (0x123) .maxstack 3 - .locals init (int32 V_0) IL_0000: nop - IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_0006: dup - IL_0007: ldc.i4.1 - IL_0008: add - IL_0009: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_000e: stloc.0 - IL_000f: br.s IL_0011 + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: ldnull + IL_0007: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0016: ldnull + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: dup + IL_0024: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0029: ldnull + IL_002a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_003b: ldnull + IL_003c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0041: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0046: nop + IL_0047: ldarga.s s + IL_0049: dup + IL_004a: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004f: ldnull + IL_0050: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0055: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_005a: ldarga.s s + IL_005c: dup + IL_005d: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0062: ldnull + IL_0063: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0068: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006d: nop + IL_006e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0073: dup + IL_0074: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0079: ldnull + IL_007a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_007f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008f: ldnull + IL_0090: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0095: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_009a: nop + IL_009b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00a0: dup + IL_00a1: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a6: ldnull + IL_00a7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ac: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00b1: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b6: dup + IL_00b7: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00bc: ldnull + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c2: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c7: nop + IL_00c8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00cd: dup + IL_00ce: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d3: ldnull + IL_00d4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00e3: dup + IL_00e4: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e9: ldnull + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ef: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f4: nop + IL_00f5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00fa: dup + IL_00fb: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0100: ldnull + IL_0101: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0106: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_010b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0110: dup + IL_0111: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0116: ldnull + IL_0117: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0121: nop + IL_0122: ret + } // end of method CompoundAssignmentTest::CustomClassSubtractTest - IL_0011: ldloc.0 - IL_0012: ret - } // end of method CompoundAssignmentTest::PostIncrementStaticField + .method public hidebysig static void CustomClassMultiplyTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 291 (0x123) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: ldnull + IL_0007: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0016: ldnull + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: dup + IL_0024: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0029: ldnull + IL_002a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_003b: ldnull + IL_003c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0041: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0046: nop + IL_0047: ldarga.s s + IL_0049: dup + IL_004a: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004f: ldnull + IL_0050: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0055: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_005a: ldarga.s s + IL_005c: dup + IL_005d: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0062: ldnull + IL_0063: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0068: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006d: nop + IL_006e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0073: dup + IL_0074: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0079: ldnull + IL_007a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_007f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008f: ldnull + IL_0090: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0095: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_009a: nop + IL_009b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00a0: dup + IL_00a1: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a6: ldnull + IL_00a7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ac: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00b1: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b6: dup + IL_00b7: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00bc: ldnull + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c2: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c7: nop + IL_00c8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00cd: dup + IL_00ce: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d3: ldnull + IL_00d4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00e3: dup + IL_00e4: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e9: ldnull + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ef: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f4: nop + IL_00f5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00fa: dup + IL_00fb: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0100: ldnull + IL_0101: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0106: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_010b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0110: dup + IL_0111: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0116: ldnull + IL_0117: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0121: nop + IL_0122: ret + } // end of method CompoundAssignmentTest::CustomClassMultiplyTest - .method public hidebysig instance void - IncrementStaticField() cil managed + .method public hidebysig static void CustomClassDivideTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 + // Code size 291 (0x123) + .maxstack 3 IL_0000: nop - IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_0006: ldc.i4.1 - IL_0007: add - IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_000d: ret - } // end of method CompoundAssignmentTest::IncrementStaticField + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: ldnull + IL_0007: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0016: ldnull + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: dup + IL_0024: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0029: ldnull + IL_002a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_003b: ldnull + IL_003c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0041: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0046: nop + IL_0047: ldarga.s s + IL_0049: dup + IL_004a: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004f: ldnull + IL_0050: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0055: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_005a: ldarga.s s + IL_005c: dup + IL_005d: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0062: ldnull + IL_0063: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0068: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006d: nop + IL_006e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0073: dup + IL_0074: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0079: ldnull + IL_007a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_007f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008f: ldnull + IL_0090: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0095: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_009a: nop + IL_009b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00a0: dup + IL_00a1: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a6: ldnull + IL_00a7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ac: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00b1: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b6: dup + IL_00b7: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00bc: ldnull + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c2: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c7: nop + IL_00c8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00cd: dup + IL_00ce: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d3: ldnull + IL_00d4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00e3: dup + IL_00e4: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e9: ldnull + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ef: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f4: nop + IL_00f5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00fa: dup + IL_00fb: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0100: ldnull + IL_0101: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0106: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_010b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0110: dup + IL_0111: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0116: ldnull + IL_0117: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0121: nop + IL_0122: ret + } // end of method CompoundAssignmentTest::CustomClassDivideTest - .method public hidebysig instance void - DoubleStaticField() cil managed + .method public hidebysig static void CustomClassModulusTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 + // Code size 291 (0x123) + .maxstack 3 IL_0000: nop - IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_0006: ldc.i4.2 - IL_0007: mul - IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_000d: ret - } // end of method CompoundAssignmentTest::DoubleStaticField + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: ldnull + IL_0007: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0016: ldnull + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: dup + IL_0024: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0029: ldnull + IL_002a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_003b: ldnull + IL_003c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0041: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0046: nop + IL_0047: ldarga.s s + IL_0049: dup + IL_004a: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004f: ldnull + IL_0050: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0055: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_005a: ldarga.s s + IL_005c: dup + IL_005d: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0062: ldnull + IL_0063: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0068: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006d: nop + IL_006e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0073: dup + IL_0074: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0079: ldnull + IL_007a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_007f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008f: ldnull + IL_0090: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0095: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_009a: nop + IL_009b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00a0: dup + IL_00a1: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a6: ldnull + IL_00a7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ac: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00b1: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b6: dup + IL_00b7: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00bc: ldnull + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c2: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c7: nop + IL_00c8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00cd: dup + IL_00ce: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d3: ldnull + IL_00d4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00e3: dup + IL_00e4: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e9: ldnull + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ef: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f4: nop + IL_00f5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00fa: dup + IL_00fb: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0100: ldnull + IL_0101: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0106: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_010b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0110: dup + IL_0111: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0116: ldnull + IL_0117: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0121: nop + IL_0122: ret + } // end of method CompoundAssignmentTest::CustomClassModulusTest - .method public hidebysig instance int32 - DoubleStaticFieldAndReturn() cil managed + .method public hidebysig static void CustomClassLeftShiftTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 19 (0x13) - .maxstack 2 - .locals init (int32 V_0) + // Code size 291 (0x123) + .maxstack 3 IL_0000: nop - IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_0006: ldc.i4.2 - IL_0007: mul - IL_0008: dup - IL_0009: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_000e: stloc.0 - IL_000f: br.s IL_0011 + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: ldc.i4.5 + IL_0007: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0016: ldc.i4.5 + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: dup + IL_0024: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0029: ldc.i4.5 + IL_002a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_002f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_003b: ldc.i4.5 + IL_003c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0041: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0046: nop + IL_0047: ldarga.s s + IL_0049: dup + IL_004a: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004f: ldc.i4.5 + IL_0050: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0055: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_005a: ldarga.s s + IL_005c: dup + IL_005d: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0062: ldc.i4.5 + IL_0063: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0068: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006d: nop + IL_006e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0073: dup + IL_0074: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0079: ldc.i4.5 + IL_007a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_007f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008f: ldc.i4.5 + IL_0090: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0095: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_009a: nop + IL_009b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00a0: dup + IL_00a1: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a6: ldc.i4.5 + IL_00a7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00ac: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00b1: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b6: dup + IL_00b7: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00bc: ldc.i4.5 + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00c2: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c7: nop + IL_00c8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00cd: dup + IL_00ce: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d3: ldc.i4.5 + IL_00d4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00d9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00e3: dup + IL_00e4: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e9: ldc.i4.5 + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00ef: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f4: nop + IL_00f5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00fa: dup + IL_00fb: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0100: ldc.i4.5 + IL_0101: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0106: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_010b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0110: dup + IL_0111: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0116: ldc.i4.5 + IL_0117: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_011c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0121: nop + IL_0122: ret + } // end of method CompoundAssignmentTest::CustomClassLeftShiftTest - IL_0011: ldloc.0 - IL_0012: ret - } // end of method CompoundAssignmentTest::DoubleStaticFieldAndReturn + .method public hidebysig static void CustomClassRightShiftTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 291 (0x123) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: ldc.i4.5 + IL_0007: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0016: ldc.i4.5 + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: dup + IL_0024: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0029: ldc.i4.5 + IL_002a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_002f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_003b: ldc.i4.5 + IL_003c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0041: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0046: nop + IL_0047: ldarga.s s + IL_0049: dup + IL_004a: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004f: ldc.i4.5 + IL_0050: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0055: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_005a: ldarga.s s + IL_005c: dup + IL_005d: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0062: ldc.i4.5 + IL_0063: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0068: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006d: nop + IL_006e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0073: dup + IL_0074: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0079: ldc.i4.5 + IL_007a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_007f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008f: ldc.i4.5 + IL_0090: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0095: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_009a: nop + IL_009b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00a0: dup + IL_00a1: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a6: ldc.i4.5 + IL_00a7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00ac: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00b1: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b6: dup + IL_00b7: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00bc: ldc.i4.5 + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00c2: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c7: nop + IL_00c8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00cd: dup + IL_00ce: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d3: ldc.i4.5 + IL_00d4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00d9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00e3: dup + IL_00e4: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e9: ldc.i4.5 + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00ef: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f4: nop + IL_00f5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00fa: dup + IL_00fb: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0100: ldc.i4.5 + IL_0101: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0106: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_010b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0110: dup + IL_0111: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0116: ldc.i4.5 + IL_0117: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_011c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0121: nop + IL_0122: ret + } // end of method CompoundAssignmentTest::CustomClassRightShiftTest - .method public hidebysig instance int32 - PreIncrementStaticFieldShort() cil managed + .method public hidebysig static void CustomClassBitAndTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 20 (0x14) - .maxstack 2 - .locals init (int32 V_0) + // Code size 291 (0x123) + .maxstack 3 IL_0000: nop - IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_0006: ldc.i4.1 - IL_0007: add - IL_0008: conv.i2 - IL_0009: dup - IL_000a: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_000f: stloc.0 - IL_0010: br.s IL_0012 + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: ldnull + IL_0007: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0016: ldnull + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: dup + IL_0024: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0029: ldnull + IL_002a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_003b: ldnull + IL_003c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0041: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0046: nop + IL_0047: ldarga.s s + IL_0049: dup + IL_004a: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004f: ldnull + IL_0050: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0055: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_005a: ldarga.s s + IL_005c: dup + IL_005d: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0062: ldnull + IL_0063: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0068: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006d: nop + IL_006e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0073: dup + IL_0074: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0079: ldnull + IL_007a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_007f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008f: ldnull + IL_0090: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0095: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_009a: nop + IL_009b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00a0: dup + IL_00a1: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a6: ldnull + IL_00a7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ac: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00b1: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b6: dup + IL_00b7: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00bc: ldnull + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c2: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c7: nop + IL_00c8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00cd: dup + IL_00ce: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d3: ldnull + IL_00d4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00e3: dup + IL_00e4: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e9: ldnull + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ef: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f4: nop + IL_00f5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00fa: dup + IL_00fb: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0100: ldnull + IL_0101: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0106: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_010b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0110: dup + IL_0111: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0116: ldnull + IL_0117: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0121: nop + IL_0122: ret + } // end of method CompoundAssignmentTest::CustomClassBitAndTest - IL_0012: ldloc.0 - IL_0013: ret - } // end of method CompoundAssignmentTest::PreIncrementStaticFieldShort + .method public hidebysig static void CustomClassBitOrTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 291 (0x123) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: ldnull + IL_0007: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0016: ldnull + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: dup + IL_0024: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0029: ldnull + IL_002a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_003b: ldnull + IL_003c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0041: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0046: nop + IL_0047: ldarga.s s + IL_0049: dup + IL_004a: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004f: ldnull + IL_0050: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0055: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_005a: ldarga.s s + IL_005c: dup + IL_005d: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0062: ldnull + IL_0063: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0068: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006d: nop + IL_006e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0073: dup + IL_0074: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0079: ldnull + IL_007a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_007f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008f: ldnull + IL_0090: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0095: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_009a: nop + IL_009b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00a0: dup + IL_00a1: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a6: ldnull + IL_00a7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ac: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00b1: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b6: dup + IL_00b7: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00bc: ldnull + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c2: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c7: nop + IL_00c8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00cd: dup + IL_00ce: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d3: ldnull + IL_00d4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00e3: dup + IL_00e4: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e9: ldnull + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ef: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f4: nop + IL_00f5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00fa: dup + IL_00fb: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0100: ldnull + IL_0101: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0106: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_010b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0110: dup + IL_0111: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0116: ldnull + IL_0117: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0121: nop + IL_0122: ret + } // end of method CompoundAssignmentTest::CustomClassBitOrTest - .method public hidebysig instance int32 - PostIncrementStaticFieldShort() cil managed + .method public hidebysig static void CustomClassBitXorTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 20 (0x14) + // Code size 291 (0x123) .maxstack 3 - .locals init (int32 V_0) IL_0000: nop - IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: ldnull + IL_0007: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0016: ldnull + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: dup + IL_0024: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0029: ldnull + IL_002a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_003b: ldnull + IL_003c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0041: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0046: nop + IL_0047: ldarga.s s + IL_0049: dup + IL_004a: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004f: ldnull + IL_0050: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0055: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_005a: ldarga.s s + IL_005c: dup + IL_005d: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0062: ldnull + IL_0063: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0068: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006d: nop + IL_006e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0073: dup + IL_0074: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0079: ldnull + IL_007a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_007f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008f: ldnull + IL_0090: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0095: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_009a: nop + IL_009b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00a0: dup + IL_00a1: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a6: ldnull + IL_00a7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ac: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00b1: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b6: dup + IL_00b7: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00bc: ldnull + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c2: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c7: nop + IL_00c8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00cd: dup + IL_00ce: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d3: ldnull + IL_00d4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00e3: dup + IL_00e4: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e9: ldnull + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ef: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f4: nop + IL_00f5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00fa: dup + IL_00fb: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0100: ldnull + IL_0101: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0106: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_010b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0110: dup + IL_0111: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0116: ldnull + IL_0117: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0121: nop + IL_0122: ret + } // end of method CompoundAssignmentTest::CustomClassBitXorTest + + .method public hidebysig static void CustomClassPostIncTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 399 (0x18f) + .maxstack 3 + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_0) + IL_0000: nop + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField IL_0006: dup - IL_0007: ldc.i4.1 - IL_0008: add - IL_0009: conv.i2 - IL_000a: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_000f: stloc.0 - IL_0010: br.s IL_0012 + IL_0007: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0016: nop + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_001c: dup + IL_001d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0027: nop + IL_0028: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002d: nop + IL_002e: ldarg.1 + IL_002f: dup + IL_0030: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0035: dup + IL_0036: stloc.0 + IL_0037: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_003c: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0041: ldloc.0 + IL_0042: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0047: nop + IL_0048: ldarg.1 + IL_0049: dup + IL_004a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_004f: dup + IL_0050: stloc.0 + IL_0051: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0056: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_005b: nop + IL_005c: ldloc.0 + IL_005d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0062: nop + IL_0063: ldarga.s s + IL_0065: dup + IL_0066: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_006b: dup + IL_006c: stloc.0 + IL_006d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0072: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0077: ldloc.0 + IL_0078: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007d: nop + IL_007e: ldarga.s s + IL_0080: dup + IL_0081: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0086: dup + IL_0087: stloc.0 + IL_0088: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_008d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0092: nop + IL_0093: ldloc.0 + IL_0094: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0099: nop + IL_009a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009f: dup + IL_00a0: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00a5: dup + IL_00a6: stloc.0 + IL_00a7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ac: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: nop + IL_00b8: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00bd: dup + IL_00be: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00c3: dup + IL_00c4: stloc.0 + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ca: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00cf: nop + IL_00d0: ldloc.0 + IL_00d1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d6: nop + IL_00d7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00dc: dup + IL_00dd: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00e2: dup + IL_00e3: stloc.0 + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00ee: ldloc.0 + IL_00ef: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f4: nop + IL_00f5: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00fa: dup + IL_00fb: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0100: dup + IL_0101: stloc.0 + IL_0102: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0107: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_010c: nop + IL_010d: ldloc.0 + IL_010e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0113: nop + IL_0114: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0119: dup + IL_011a: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_011f: dup + IL_0120: stloc.0 + IL_0121: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0126: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_012b: ldloc.0 + IL_012c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0131: nop + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0137: dup + IL_0138: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_013d: dup + IL_013e: stloc.0 + IL_013f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0144: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0149: nop + IL_014a: ldloc.0 + IL_014b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0150: nop + IL_0151: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0156: dup + IL_0157: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_015c: dup + IL_015d: stloc.0 + IL_015e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0163: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: nop + IL_016f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0174: dup + IL_0175: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_017a: dup + IL_017b: stloc.0 + IL_017c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0181: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0186: nop + IL_0187: ldloc.0 + IL_0188: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_018d: nop + IL_018e: ret + } // end of method CompoundAssignmentTest::CustomClassPostIncTest - IL_0012: ldloc.0 - IL_0013: ret - } // end of method CompoundAssignmentTest::PostIncrementStaticFieldShort + .method public hidebysig static void CustomClassPreIncTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 399 (0x18f) + .maxstack 3 + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_0) + IL_0000: nop + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000b: dup + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0016: nop + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_001c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0021: dup + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0027: nop + IL_0028: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002d: nop + IL_002e: ldarg.1 + IL_002f: dup + IL_0030: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0035: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_003a: dup + IL_003b: stloc.0 + IL_003c: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0041: ldloc.0 + IL_0042: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0047: nop + IL_0048: ldarg.1 + IL_0049: dup + IL_004a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_004f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0054: dup + IL_0055: stloc.0 + IL_0056: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_005b: nop + IL_005c: ldloc.0 + IL_005d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0062: nop + IL_0063: ldarga.s s + IL_0065: dup + IL_0066: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_006b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0070: dup + IL_0071: stloc.0 + IL_0072: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0077: ldloc.0 + IL_0078: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007d: nop + IL_007e: ldarga.s s + IL_0080: dup + IL_0081: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0086: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_008b: dup + IL_008c: stloc.0 + IL_008d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0092: nop + IL_0093: ldloc.0 + IL_0094: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0099: nop + IL_009a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009f: dup + IL_00a0: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00a5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00aa: dup + IL_00ab: stloc.0 + IL_00ac: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: nop + IL_00b8: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00bd: dup + IL_00be: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00c3: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c8: dup + IL_00c9: stloc.0 + IL_00ca: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00cf: nop + IL_00d0: ldloc.0 + IL_00d1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d6: nop + IL_00d7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00dc: dup + IL_00dd: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00e2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e7: dup + IL_00e8: stloc.0 + IL_00e9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00ee: ldloc.0 + IL_00ef: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f4: nop + IL_00f5: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00fa: dup + IL_00fb: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0105: dup + IL_0106: stloc.0 + IL_0107: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_010c: nop + IL_010d: ldloc.0 + IL_010e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0113: nop + IL_0114: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0119: dup + IL_011a: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_011f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0124: dup + IL_0125: stloc.0 + IL_0126: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_012b: ldloc.0 + IL_012c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0131: nop + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0137: dup + IL_0138: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_013d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0142: dup + IL_0143: stloc.0 + IL_0144: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0149: nop + IL_014a: ldloc.0 + IL_014b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0150: nop + IL_0151: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0156: dup + IL_0157: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_015c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0161: dup + IL_0162: stloc.0 + IL_0163: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: nop + IL_016f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0174: dup + IL_0175: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_017a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_017f: dup + IL_0180: stloc.0 + IL_0181: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0186: nop + IL_0187: ldloc.0 + IL_0188: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_018d: nop + IL_018e: ret + } // end of method CompoundAssignmentTest::CustomClassPreIncTest - .method public hidebysig instance void - IncrementStaticFieldShort() cil managed + .method public hidebysig static void CustomClassPostDecTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 15 (0xf) - .maxstack 8 + // Code size 399 (0x18f) + .maxstack 3 + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_0) IL_0000: nop - IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_0006: ldc.i4.1 - IL_0007: add - IL_0008: conv.i2 - IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_000e: ret - } // end of method CompoundAssignmentTest::IncrementStaticFieldShort + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: dup + IL_0007: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0016: nop + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_001c: dup + IL_001d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0027: nop + IL_0028: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002d: nop + IL_002e: ldarg.1 + IL_002f: dup + IL_0030: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0035: dup + IL_0036: stloc.0 + IL_0037: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_003c: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0041: ldloc.0 + IL_0042: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0047: nop + IL_0048: ldarg.1 + IL_0049: dup + IL_004a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_004f: dup + IL_0050: stloc.0 + IL_0051: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0056: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_005b: nop + IL_005c: ldloc.0 + IL_005d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0062: nop + IL_0063: ldarga.s s + IL_0065: dup + IL_0066: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_006b: dup + IL_006c: stloc.0 + IL_006d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0072: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0077: ldloc.0 + IL_0078: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007d: nop + IL_007e: ldarga.s s + IL_0080: dup + IL_0081: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0086: dup + IL_0087: stloc.0 + IL_0088: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_008d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0092: nop + IL_0093: ldloc.0 + IL_0094: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0099: nop + IL_009a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009f: dup + IL_00a0: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00a5: dup + IL_00a6: stloc.0 + IL_00a7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ac: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: nop + IL_00b8: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00bd: dup + IL_00be: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00c3: dup + IL_00c4: stloc.0 + IL_00c5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ca: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00cf: nop + IL_00d0: ldloc.0 + IL_00d1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d6: nop + IL_00d7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00dc: dup + IL_00dd: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00e2: dup + IL_00e3: stloc.0 + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00ee: ldloc.0 + IL_00ef: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f4: nop + IL_00f5: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00fa: dup + IL_00fb: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0100: dup + IL_0101: stloc.0 + IL_0102: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0107: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_010c: nop + IL_010d: ldloc.0 + IL_010e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0113: nop + IL_0114: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0119: dup + IL_011a: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_011f: dup + IL_0120: stloc.0 + IL_0121: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0126: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_012b: ldloc.0 + IL_012c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0131: nop + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0137: dup + IL_0138: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_013d: dup + IL_013e: stloc.0 + IL_013f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0144: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0149: nop + IL_014a: ldloc.0 + IL_014b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0150: nop + IL_0151: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0156: dup + IL_0157: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_015c: dup + IL_015d: stloc.0 + IL_015e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0163: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: nop + IL_016f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0174: dup + IL_0175: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_017a: dup + IL_017b: stloc.0 + IL_017c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0181: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0186: nop + IL_0187: ldloc.0 + IL_0188: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_018d: nop + IL_018e: ret + } // end of method CompoundAssignmentTest::CustomClassPostDecTest - .method public hidebysig instance void - DoubleStaticFieldShort() cil managed + .method public hidebysig static void CustomClassPreDecTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 15 (0xf) - .maxstack 8 + // Code size 399 (0x18f) + .maxstack 3 + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_0) IL_0000: nop - IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_0006: ldc.i4.2 - IL_0007: mul - IL_0008: conv.i2 - IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_000e: ret - } // end of method CompoundAssignmentTest::DoubleStaticFieldShort + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000b: dup + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0016: nop + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_001c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0021: dup + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0027: nop + IL_0028: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002d: nop + IL_002e: ldarg.1 + IL_002f: dup + IL_0030: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0035: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_003a: dup + IL_003b: stloc.0 + IL_003c: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0041: ldloc.0 + IL_0042: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0047: nop + IL_0048: ldarg.1 + IL_0049: dup + IL_004a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_004f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0054: dup + IL_0055: stloc.0 + IL_0056: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_005b: nop + IL_005c: ldloc.0 + IL_005d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0062: nop + IL_0063: ldarga.s s + IL_0065: dup + IL_0066: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_006b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0070: dup + IL_0071: stloc.0 + IL_0072: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0077: ldloc.0 + IL_0078: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007d: nop + IL_007e: ldarga.s s + IL_0080: dup + IL_0081: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0086: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_008b: dup + IL_008c: stloc.0 + IL_008d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0092: nop + IL_0093: ldloc.0 + IL_0094: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0099: nop + IL_009a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009f: dup + IL_00a0: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00a5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00aa: dup + IL_00ab: stloc.0 + IL_00ac: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: nop + IL_00b8: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00bd: dup + IL_00be: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00c3: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c8: dup + IL_00c9: stloc.0 + IL_00ca: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00cf: nop + IL_00d0: ldloc.0 + IL_00d1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d6: nop + IL_00d7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00dc: dup + IL_00dd: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00e2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e7: dup + IL_00e8: stloc.0 + IL_00e9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00ee: ldloc.0 + IL_00ef: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f4: nop + IL_00f5: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00fa: dup + IL_00fb: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0100: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0105: dup + IL_0106: stloc.0 + IL_0107: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_010c: nop + IL_010d: ldloc.0 + IL_010e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0113: nop + IL_0114: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0119: dup + IL_011a: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_011f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0124: dup + IL_0125: stloc.0 + IL_0126: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_012b: ldloc.0 + IL_012c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0131: nop + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0137: dup + IL_0138: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_013d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0142: dup + IL_0143: stloc.0 + IL_0144: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0149: nop + IL_014a: ldloc.0 + IL_014b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0150: nop + IL_0151: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0156: dup + IL_0157: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_015c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0161: dup + IL_0162: stloc.0 + IL_0163: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: nop + IL_016f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0174: dup + IL_0175: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_017a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_017f: dup + IL_0180: stloc.0 + IL_0181: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0186: nop + IL_0187: ldloc.0 + IL_0188: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_018d: nop + IL_018e: ret + } // end of method CompoundAssignmentTest::CustomClassPreDecTest - .method public hidebysig instance int16 - DoubleStaticFieldAndReturnShort() cil managed + .method public hidebysig static void CustomStructAddTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 20 (0x14) - .maxstack 2 - .locals init (int16 V_0) + // Code size 403 (0x193) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) IL_0000: nop - IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_0006: ldc.i4.2 - IL_0007: mul - IL_0008: conv.i2 - IL_0009: dup - IL_000a: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_000f: stloc.0 - IL_0010: br.s IL_0012 + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: ldloca.s V_0 + IL_0008: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000e: ldloc.0 + IL_000f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0014: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0019: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001e: ldloca.s V_0 + IL_0020: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0026: ldloc.0 + IL_0027: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0031: nop + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0039: ldloca.s V_0 + IL_003b: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0041: ldloc.0 + IL_0042: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0047: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004c: ldarg.1 + IL_004d: dup + IL_004e: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0053: ldloca.s V_0 + IL_0055: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_005b: ldloc.0 + IL_005c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0061: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0066: nop + IL_0067: ldarga.s s + IL_0069: dup + IL_006a: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006f: ldloca.s V_0 + IL_0071: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0077: ldloc.0 + IL_0078: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_007d: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0082: ldarga.s s + IL_0084: dup + IL_0085: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008a: ldloca.s V_0 + IL_008c: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0092: ldloc.0 + IL_0093: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0098: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009d: nop + IL_009e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a3: dup + IL_00a4: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a9: ldloca.s V_0 + IL_00ab: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b1: ldloc.0 + IL_00b2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b7: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00bc: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c1: dup + IL_00c2: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c7: ldloca.s V_0 + IL_00c9: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00cf: ldloc.0 + IL_00d0: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00da: nop + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e6: ldloca.s V_0 + IL_00e8: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ee: ldloc.0 + IL_00ef: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f4: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00f9: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00fe: dup + IL_00ff: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0104: ldloca.s V_0 + IL_0106: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_010c: ldloc.0 + IL_010d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0112: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0117: nop + IL_0118: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011d: dup + IL_011e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0123: ldloca.s V_0 + IL_0125: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_012b: ldloc.0 + IL_012c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0131: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0136: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_013b: dup + IL_013c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0141: ldloca.s V_0 + IL_0143: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0149: ldloc.0 + IL_014a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_014f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0160: ldloca.s V_0 + IL_0162: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0168: ldloc.0 + IL_0169: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_016e: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0173: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0178: dup + IL_0179: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_017e: ldloca.s V_0 + IL_0180: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0186: ldloc.0 + IL_0187: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0191: nop + IL_0192: ret + } // end of method CompoundAssignmentTest::CustomStructAddTest - IL_0012: ldloc.0 - IL_0013: ret - } // end of method CompoundAssignmentTest::DoubleStaticFieldAndReturnShort + .method public hidebysig static void CustomStructSubtractTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 403 (0x193) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) + IL_0000: nop + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: ldloca.s V_0 + IL_0008: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000e: ldloc.0 + IL_000f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0014: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0019: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001e: ldloca.s V_0 + IL_0020: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0026: ldloc.0 + IL_0027: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0031: nop + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0039: ldloca.s V_0 + IL_003b: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0041: ldloc.0 + IL_0042: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0047: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004c: ldarg.1 + IL_004d: dup + IL_004e: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0053: ldloca.s V_0 + IL_0055: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_005b: ldloc.0 + IL_005c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0061: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0066: nop + IL_0067: ldarga.s s + IL_0069: dup + IL_006a: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006f: ldloca.s V_0 + IL_0071: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0077: ldloc.0 + IL_0078: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_007d: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0082: ldarga.s s + IL_0084: dup + IL_0085: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008a: ldloca.s V_0 + IL_008c: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0092: ldloc.0 + IL_0093: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0098: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009d: nop + IL_009e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a3: dup + IL_00a4: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a9: ldloca.s V_0 + IL_00ab: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b1: ldloc.0 + IL_00b2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b7: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00bc: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c1: dup + IL_00c2: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c7: ldloca.s V_0 + IL_00c9: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00cf: ldloc.0 + IL_00d0: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00da: nop + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e6: ldloca.s V_0 + IL_00e8: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ee: ldloc.0 + IL_00ef: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f4: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00f9: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00fe: dup + IL_00ff: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0104: ldloca.s V_0 + IL_0106: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_010c: ldloc.0 + IL_010d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0112: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0117: nop + IL_0118: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011d: dup + IL_011e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0123: ldloca.s V_0 + IL_0125: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_012b: ldloc.0 + IL_012c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0131: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0136: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_013b: dup + IL_013c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0141: ldloca.s V_0 + IL_0143: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0149: ldloc.0 + IL_014a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_014f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0160: ldloca.s V_0 + IL_0162: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0168: ldloc.0 + IL_0169: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_016e: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0173: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0178: dup + IL_0179: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_017e: ldloca.s V_0 + IL_0180: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0186: ldloc.0 + IL_0187: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0191: nop + IL_0192: ret + } // end of method CompoundAssignmentTest::CustomStructSubtractTest - .method public hidebysig instance int32 - PreIncrementStaticProperty() cil managed + .method public hidebysig static void CustomStructMultiplyTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 20 (0x14) - .maxstack 2 - .locals init (int32 V_0) + // Code size 403 (0x193) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) IL_0000: nop - IL_0001: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() - IL_0006: ldc.i4.1 - IL_0007: add - IL_0008: dup - IL_0009: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) - IL_000e: nop - IL_000f: stloc.0 - IL_0010: br.s IL_0012 + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: ldloca.s V_0 + IL_0008: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000e: ldloc.0 + IL_000f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0014: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0019: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001e: ldloca.s V_0 + IL_0020: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0026: ldloc.0 + IL_0027: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0031: nop + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0039: ldloca.s V_0 + IL_003b: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0041: ldloc.0 + IL_0042: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0047: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004c: ldarg.1 + IL_004d: dup + IL_004e: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0053: ldloca.s V_0 + IL_0055: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_005b: ldloc.0 + IL_005c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0061: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0066: nop + IL_0067: ldarga.s s + IL_0069: dup + IL_006a: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006f: ldloca.s V_0 + IL_0071: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0077: ldloc.0 + IL_0078: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_007d: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0082: ldarga.s s + IL_0084: dup + IL_0085: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008a: ldloca.s V_0 + IL_008c: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0092: ldloc.0 + IL_0093: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0098: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009d: nop + IL_009e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a3: dup + IL_00a4: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a9: ldloca.s V_0 + IL_00ab: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b1: ldloc.0 + IL_00b2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b7: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00bc: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c1: dup + IL_00c2: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c7: ldloca.s V_0 + IL_00c9: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00cf: ldloc.0 + IL_00d0: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00da: nop + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e6: ldloca.s V_0 + IL_00e8: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ee: ldloc.0 + IL_00ef: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f4: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00f9: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00fe: dup + IL_00ff: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0104: ldloca.s V_0 + IL_0106: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_010c: ldloc.0 + IL_010d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0112: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0117: nop + IL_0118: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011d: dup + IL_011e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0123: ldloca.s V_0 + IL_0125: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_012b: ldloc.0 + IL_012c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0131: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0136: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_013b: dup + IL_013c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0141: ldloca.s V_0 + IL_0143: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0149: ldloc.0 + IL_014a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_014f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0160: ldloca.s V_0 + IL_0162: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0168: ldloc.0 + IL_0169: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_016e: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0173: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0178: dup + IL_0179: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_017e: ldloca.s V_0 + IL_0180: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0186: ldloc.0 + IL_0187: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0191: nop + IL_0192: ret + } // end of method CompoundAssignmentTest::CustomStructMultiplyTest - IL_0012: ldloc.0 - IL_0013: ret - } // end of method CompoundAssignmentTest::PreIncrementStaticProperty + .method public hidebysig static void CustomStructDivideTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 403 (0x193) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) + IL_0000: nop + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: ldloca.s V_0 + IL_0008: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000e: ldloc.0 + IL_000f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0014: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0019: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001e: ldloca.s V_0 + IL_0020: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0026: ldloc.0 + IL_0027: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0031: nop + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0039: ldloca.s V_0 + IL_003b: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0041: ldloc.0 + IL_0042: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0047: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004c: ldarg.1 + IL_004d: dup + IL_004e: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0053: ldloca.s V_0 + IL_0055: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_005b: ldloc.0 + IL_005c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0061: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0066: nop + IL_0067: ldarga.s s + IL_0069: dup + IL_006a: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006f: ldloca.s V_0 + IL_0071: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0077: ldloc.0 + IL_0078: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_007d: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0082: ldarga.s s + IL_0084: dup + IL_0085: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008a: ldloca.s V_0 + IL_008c: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0092: ldloc.0 + IL_0093: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0098: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009d: nop + IL_009e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a3: dup + IL_00a4: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a9: ldloca.s V_0 + IL_00ab: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b1: ldloc.0 + IL_00b2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b7: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00bc: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c1: dup + IL_00c2: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c7: ldloca.s V_0 + IL_00c9: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00cf: ldloc.0 + IL_00d0: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00da: nop + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e6: ldloca.s V_0 + IL_00e8: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ee: ldloc.0 + IL_00ef: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f4: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00f9: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00fe: dup + IL_00ff: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0104: ldloca.s V_0 + IL_0106: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_010c: ldloc.0 + IL_010d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0112: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0117: nop + IL_0118: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011d: dup + IL_011e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0123: ldloca.s V_0 + IL_0125: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_012b: ldloc.0 + IL_012c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0131: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0136: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_013b: dup + IL_013c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0141: ldloca.s V_0 + IL_0143: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0149: ldloc.0 + IL_014a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_014f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0160: ldloca.s V_0 + IL_0162: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0168: ldloc.0 + IL_0169: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_016e: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0173: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0178: dup + IL_0179: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_017e: ldloca.s V_0 + IL_0180: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0186: ldloc.0 + IL_0187: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0191: nop + IL_0192: ret + } // end of method CompoundAssignmentTest::CustomStructDivideTest - .method public hidebysig instance int32 - PostIncrementStaticProperty() cil managed + .method public hidebysig static void CustomStructModulusTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 20 (0x14) + // Code size 403 (0x193) .maxstack 3 - .locals init (int32 V_0) + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) IL_0000: nop - IL_0001: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() - IL_0006: dup - IL_0007: ldc.i4.1 - IL_0008: add - IL_0009: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) - IL_000e: nop - IL_000f: stloc.0 - IL_0010: br.s IL_0012 + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: ldloca.s V_0 + IL_0008: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000e: ldloc.0 + IL_000f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0014: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0019: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001e: ldloca.s V_0 + IL_0020: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0026: ldloc.0 + IL_0027: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0031: nop + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0039: ldloca.s V_0 + IL_003b: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0041: ldloc.0 + IL_0042: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0047: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004c: ldarg.1 + IL_004d: dup + IL_004e: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0053: ldloca.s V_0 + IL_0055: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_005b: ldloc.0 + IL_005c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0061: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0066: nop + IL_0067: ldarga.s s + IL_0069: dup + IL_006a: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006f: ldloca.s V_0 + IL_0071: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0077: ldloc.0 + IL_0078: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_007d: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0082: ldarga.s s + IL_0084: dup + IL_0085: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008a: ldloca.s V_0 + IL_008c: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0092: ldloc.0 + IL_0093: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0098: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009d: nop + IL_009e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a3: dup + IL_00a4: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a9: ldloca.s V_0 + IL_00ab: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b1: ldloc.0 + IL_00b2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b7: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00bc: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c1: dup + IL_00c2: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c7: ldloca.s V_0 + IL_00c9: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00cf: ldloc.0 + IL_00d0: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00da: nop + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e6: ldloca.s V_0 + IL_00e8: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ee: ldloc.0 + IL_00ef: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f4: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00f9: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00fe: dup + IL_00ff: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0104: ldloca.s V_0 + IL_0106: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_010c: ldloc.0 + IL_010d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0112: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0117: nop + IL_0118: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011d: dup + IL_011e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0123: ldloca.s V_0 + IL_0125: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_012b: ldloc.0 + IL_012c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0131: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0136: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_013b: dup + IL_013c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0141: ldloca.s V_0 + IL_0143: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0149: ldloc.0 + IL_014a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_014f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0160: ldloca.s V_0 + IL_0162: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0168: ldloc.0 + IL_0169: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_016e: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0173: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0178: dup + IL_0179: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_017e: ldloca.s V_0 + IL_0180: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0186: ldloc.0 + IL_0187: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0191: nop + IL_0192: ret + } // end of method CompoundAssignmentTest::CustomStructModulusTest - IL_0012: ldloc.0 - IL_0013: ret - } // end of method CompoundAssignmentTest::PostIncrementStaticProperty + .method public hidebysig static void CustomStructLeftShiftTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 291 (0x123) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: ldc.i4.5 + IL_0007: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_000c: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0011: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_0016: ldc.i4.5 + IL_0017: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: dup + IL_0024: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0029: ldc.i4.5 + IL_002a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_002f: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_003b: ldc.i4.5 + IL_003c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0041: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0046: nop + IL_0047: ldarga.s s + IL_0049: dup + IL_004a: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_004f: ldc.i4.5 + IL_0050: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0055: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_005a: ldarga.s s + IL_005c: dup + IL_005d: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0062: ldc.i4.5 + IL_0063: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0068: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_006d: nop + IL_006e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0073: dup + IL_0074: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0079: ldc.i4.5 + IL_007a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_007f: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_008f: ldc.i4.5 + IL_0090: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0095: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009a: nop + IL_009b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00a0: dup + IL_00a1: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00a6: ldc.i4.5 + IL_00a7: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00ac: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00b1: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b6: dup + IL_00b7: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_00bc: ldc.i4.5 + IL_00bd: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00c2: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00c7: nop + IL_00c8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00cd: dup + IL_00ce: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00d3: ldc.i4.5 + IL_00d4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00d9: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00e3: dup + IL_00e4: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00e9: ldc.i4.5 + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00ef: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f4: nop + IL_00f5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00fa: dup + IL_00fb: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0100: ldc.i4.5 + IL_0101: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0106: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_010b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0110: dup + IL_0111: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0116: ldc.i4.5 + IL_0117: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_011c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0121: nop + IL_0122: ret + } // end of method CompoundAssignmentTest::CustomStructLeftShiftTest - .method public hidebysig instance void - IncrementStaticProperty() cil managed + .method public hidebysig static void CustomStructRightShiftTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 15 (0xf) - .maxstack 8 + // Code size 291 (0x123) + .maxstack 3 IL_0000: nop - IL_0001: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() - IL_0006: ldc.i4.1 - IL_0007: add - IL_0008: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) - IL_000d: nop - IL_000e: ret - } // end of method CompoundAssignmentTest::IncrementStaticProperty + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: ldc.i4.5 + IL_0007: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_000c: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0011: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_0016: ldc.i4.5 + IL_0017: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: dup + IL_0024: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0029: ldc.i4.5 + IL_002a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_002f: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_003b: ldc.i4.5 + IL_003c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0041: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0046: nop + IL_0047: ldarga.s s + IL_0049: dup + IL_004a: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_004f: ldc.i4.5 + IL_0050: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0055: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_005a: ldarga.s s + IL_005c: dup + IL_005d: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0062: ldc.i4.5 + IL_0063: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0068: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_006d: nop + IL_006e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0073: dup + IL_0074: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0079: ldc.i4.5 + IL_007a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_007f: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_008f: ldc.i4.5 + IL_0090: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0095: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009a: nop + IL_009b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00a0: dup + IL_00a1: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00a6: ldc.i4.5 + IL_00a7: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00ac: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00b1: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b6: dup + IL_00b7: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_00bc: ldc.i4.5 + IL_00bd: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00c2: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00c7: nop + IL_00c8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00cd: dup + IL_00ce: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00d3: ldc.i4.5 + IL_00d4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00d9: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00e3: dup + IL_00e4: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00e9: ldc.i4.5 + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00ef: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f4: nop + IL_00f5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00fa: dup + IL_00fb: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0100: ldc.i4.5 + IL_0101: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0106: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_010b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0110: dup + IL_0111: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0116: ldc.i4.5 + IL_0117: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_011c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0121: nop + IL_0122: ret + } // end of method CompoundAssignmentTest::CustomStructRightShiftTest - .method public hidebysig instance void - DoubleStaticProperty() cil managed + .method public hidebysig static void CustomStructBitAndTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 15 (0xf) - .maxstack 8 + // Code size 403 (0x193) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) IL_0000: nop - IL_0001: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() - IL_0006: ldc.i4.2 - IL_0007: mul - IL_0008: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) - IL_000d: nop - IL_000e: ret - } // end of method CompoundAssignmentTest::DoubleStaticProperty + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: ldloca.s V_0 + IL_0008: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000e: ldloc.0 + IL_000f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0014: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0019: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001e: ldloca.s V_0 + IL_0020: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0026: ldloc.0 + IL_0027: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0031: nop + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0039: ldloca.s V_0 + IL_003b: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0041: ldloc.0 + IL_0042: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0047: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004c: ldarg.1 + IL_004d: dup + IL_004e: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0053: ldloca.s V_0 + IL_0055: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_005b: ldloc.0 + IL_005c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0061: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0066: nop + IL_0067: ldarga.s s + IL_0069: dup + IL_006a: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006f: ldloca.s V_0 + IL_0071: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0077: ldloc.0 + IL_0078: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_007d: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0082: ldarga.s s + IL_0084: dup + IL_0085: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008a: ldloca.s V_0 + IL_008c: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0092: ldloc.0 + IL_0093: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0098: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009d: nop + IL_009e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a3: dup + IL_00a4: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a9: ldloca.s V_0 + IL_00ab: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b1: ldloc.0 + IL_00b2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b7: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00bc: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c1: dup + IL_00c2: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c7: ldloca.s V_0 + IL_00c9: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00cf: ldloc.0 + IL_00d0: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00da: nop + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e6: ldloca.s V_0 + IL_00e8: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ee: ldloc.0 + IL_00ef: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f4: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00f9: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00fe: dup + IL_00ff: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0104: ldloca.s V_0 + IL_0106: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_010c: ldloc.0 + IL_010d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0112: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0117: nop + IL_0118: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011d: dup + IL_011e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0123: ldloca.s V_0 + IL_0125: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_012b: ldloc.0 + IL_012c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0131: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0136: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_013b: dup + IL_013c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0141: ldloca.s V_0 + IL_0143: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0149: ldloc.0 + IL_014a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_014f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0160: ldloca.s V_0 + IL_0162: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0168: ldloc.0 + IL_0169: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_016e: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0173: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0178: dup + IL_0179: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_017e: ldloca.s V_0 + IL_0180: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0186: ldloc.0 + IL_0187: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0191: nop + IL_0192: ret + } // end of method CompoundAssignmentTest::CustomStructBitAndTest - .method public hidebysig instance int32 - DoubleStaticPropertyAndReturn() cil managed + .method public hidebysig static void CustomStructBitOrTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 20 (0x14) - .maxstack 2 - .locals init (int32 V_0) + // Code size 403 (0x193) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) IL_0000: nop - IL_0001: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() - IL_0006: ldc.i4.2 - IL_0007: mul - IL_0008: dup - IL_0009: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) - IL_000e: nop - IL_000f: stloc.0 - IL_0010: br.s IL_0012 + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: ldloca.s V_0 + IL_0008: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000e: ldloc.0 + IL_000f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0014: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0019: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001e: ldloca.s V_0 + IL_0020: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0026: ldloc.0 + IL_0027: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0031: nop + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0039: ldloca.s V_0 + IL_003b: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0041: ldloc.0 + IL_0042: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0047: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004c: ldarg.1 + IL_004d: dup + IL_004e: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0053: ldloca.s V_0 + IL_0055: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_005b: ldloc.0 + IL_005c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0061: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0066: nop + IL_0067: ldarga.s s + IL_0069: dup + IL_006a: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006f: ldloca.s V_0 + IL_0071: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0077: ldloc.0 + IL_0078: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_007d: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0082: ldarga.s s + IL_0084: dup + IL_0085: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008a: ldloca.s V_0 + IL_008c: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0092: ldloc.0 + IL_0093: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0098: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009d: nop + IL_009e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a3: dup + IL_00a4: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a9: ldloca.s V_0 + IL_00ab: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b1: ldloc.0 + IL_00b2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b7: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00bc: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c1: dup + IL_00c2: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c7: ldloca.s V_0 + IL_00c9: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00cf: ldloc.0 + IL_00d0: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00da: nop + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e6: ldloca.s V_0 + IL_00e8: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ee: ldloc.0 + IL_00ef: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f4: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00f9: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00fe: dup + IL_00ff: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0104: ldloca.s V_0 + IL_0106: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_010c: ldloc.0 + IL_010d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0112: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0117: nop + IL_0118: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011d: dup + IL_011e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0123: ldloca.s V_0 + IL_0125: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_012b: ldloc.0 + IL_012c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0131: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0136: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_013b: dup + IL_013c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0141: ldloca.s V_0 + IL_0143: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0149: ldloc.0 + IL_014a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_014f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0160: ldloca.s V_0 + IL_0162: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0168: ldloc.0 + IL_0169: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_016e: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0173: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0178: dup + IL_0179: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_017e: ldloca.s V_0 + IL_0180: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0186: ldloc.0 + IL_0187: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0191: nop + IL_0192: ret + } // end of method CompoundAssignmentTest::CustomStructBitOrTest - IL_0012: ldloc.0 - IL_0013: ret - } // end of method CompoundAssignmentTest::DoubleStaticPropertyAndReturn + .method public hidebysig static void CustomStructBitXorTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 403 (0x193) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) + IL_0000: nop + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: ldloca.s V_0 + IL_0008: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000e: ldloc.0 + IL_000f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0014: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0019: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001e: ldloca.s V_0 + IL_0020: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0026: ldloc.0 + IL_0027: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0031: nop + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0039: ldloca.s V_0 + IL_003b: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0041: ldloc.0 + IL_0042: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0047: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004c: ldarg.1 + IL_004d: dup + IL_004e: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0053: ldloca.s V_0 + IL_0055: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_005b: ldloc.0 + IL_005c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0061: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0066: nop + IL_0067: ldarga.s s + IL_0069: dup + IL_006a: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006f: ldloca.s V_0 + IL_0071: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0077: ldloc.0 + IL_0078: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_007d: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0082: ldarga.s s + IL_0084: dup + IL_0085: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008a: ldloca.s V_0 + IL_008c: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0092: ldloc.0 + IL_0093: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0098: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009d: nop + IL_009e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a3: dup + IL_00a4: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a9: ldloca.s V_0 + IL_00ab: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b1: ldloc.0 + IL_00b2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b7: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00bc: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c1: dup + IL_00c2: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c7: ldloca.s V_0 + IL_00c9: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00cf: ldloc.0 + IL_00d0: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00da: nop + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e6: ldloca.s V_0 + IL_00e8: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ee: ldloc.0 + IL_00ef: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f4: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00f9: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00fe: dup + IL_00ff: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0104: ldloca.s V_0 + IL_0106: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_010c: ldloc.0 + IL_010d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0112: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0117: nop + IL_0118: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011d: dup + IL_011e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0123: ldloca.s V_0 + IL_0125: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_012b: ldloc.0 + IL_012c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0131: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0136: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_013b: dup + IL_013c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0141: ldloca.s V_0 + IL_0143: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0149: ldloc.0 + IL_014a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_014f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0154: nop + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0160: ldloca.s V_0 + IL_0162: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0168: ldloc.0 + IL_0169: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_016e: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0173: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0178: dup + IL_0179: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_017e: ldloca.s V_0 + IL_0180: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0186: ldloc.0 + IL_0187: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0191: nop + IL_0192: ret + } // end of method CompoundAssignmentTest::CustomStructBitXorTest - .method public hidebysig instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum - PreIncrementStaticPropertyShort() cil managed + .method public hidebysig static void CustomStructPostIncTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 21 (0x15) - .maxstack 2 - .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum V_0) + // Code size 399 (0x18f) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) IL_0000: nop - IL_0001: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticShortProperty() - IL_0006: ldc.i4.1 - IL_0007: add - IL_0008: conv.i2 - IL_0009: dup - IL_000a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum) - IL_000f: nop - IL_0010: stloc.0 - IL_0011: br.s IL_0013 + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: dup + IL_0007: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_000c: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0011: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0016: nop + IL_0017: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001c: dup + IL_001d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0027: nop + IL_0028: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002d: nop + IL_002e: ldarg.1 + IL_002f: dup + IL_0030: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0035: dup + IL_0036: stloc.0 + IL_0037: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_003c: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0041: ldloc.0 + IL_0042: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0047: nop + IL_0048: ldarg.1 + IL_0049: dup + IL_004a: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_004f: dup + IL_0050: stloc.0 + IL_0051: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0056: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_005b: nop + IL_005c: ldloc.0 + IL_005d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0062: nop + IL_0063: ldarga.s s + IL_0065: dup + IL_0066: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006b: dup + IL_006c: stloc.0 + IL_006d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0072: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0077: ldloc.0 + IL_0078: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007d: nop + IL_007e: ldarga.s s + IL_0080: dup + IL_0081: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0086: dup + IL_0087: stloc.0 + IL_0088: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_008d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0092: nop + IL_0093: ldloc.0 + IL_0094: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0099: nop + IL_009a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009f: dup + IL_00a0: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a5: dup + IL_00a6: stloc.0 + IL_00a7: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00ac: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: nop + IL_00b8: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00bd: dup + IL_00be: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c3: dup + IL_00c4: stloc.0 + IL_00c5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00ca: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00cf: nop + IL_00d0: ldloc.0 + IL_00d1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d6: nop + IL_00d7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00dc: dup + IL_00dd: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e2: dup + IL_00e3: stloc.0 + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00e9: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00ee: ldloc.0 + IL_00ef: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f4: nop + IL_00f5: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00fa: dup + IL_00fb: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0100: dup + IL_0101: stloc.0 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0107: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_010c: nop + IL_010d: ldloc.0 + IL_010e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0113: nop + IL_0114: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0119: dup + IL_011a: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_011f: dup + IL_0120: stloc.0 + IL_0121: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0126: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_012b: ldloc.0 + IL_012c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0131: nop + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0137: dup + IL_0138: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_013d: dup + IL_013e: stloc.0 + IL_013f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0144: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0149: nop + IL_014a: ldloc.0 + IL_014b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0150: nop + IL_0151: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0156: dup + IL_0157: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_015c: dup + IL_015d: stloc.0 + IL_015e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0163: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: nop + IL_016f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0174: dup + IL_0175: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_017a: dup + IL_017b: stloc.0 + IL_017c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0181: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0186: nop + IL_0187: ldloc.0 + IL_0188: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_018d: nop + IL_018e: ret + } // end of method CompoundAssignmentTest::CustomStructPostIncTest - IL_0013: ldloc.0 - IL_0014: ret - } // end of method CompoundAssignmentTest::PreIncrementStaticPropertyShort + .method public hidebysig static void CustomStructPreIncTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 399 (0x18f) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) + IL_0000: nop + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_000b: dup + IL_000c: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0011: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0016: nop + IL_0017: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0021: dup + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0027: nop + IL_0028: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002d: nop + IL_002e: ldarg.1 + IL_002f: dup + IL_0030: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0035: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_003a: dup + IL_003b: stloc.0 + IL_003c: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0041: ldloc.0 + IL_0042: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0047: nop + IL_0048: ldarg.1 + IL_0049: dup + IL_004a: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_004f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0054: dup + IL_0055: stloc.0 + IL_0056: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_005b: nop + IL_005c: ldloc.0 + IL_005d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0062: nop + IL_0063: ldarga.s s + IL_0065: dup + IL_0066: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0070: dup + IL_0071: stloc.0 + IL_0072: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0077: ldloc.0 + IL_0078: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007d: nop + IL_007e: ldarga.s s + IL_0080: dup + IL_0081: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0086: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_008b: dup + IL_008c: stloc.0 + IL_008d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0092: nop + IL_0093: ldloc.0 + IL_0094: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0099: nop + IL_009a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009f: dup + IL_00a0: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00aa: dup + IL_00ab: stloc.0 + IL_00ac: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: nop + IL_00b8: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00bd: dup + IL_00be: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00c8: dup + IL_00c9: stloc.0 + IL_00ca: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00cf: nop + IL_00d0: ldloc.0 + IL_00d1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d6: nop + IL_00d7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00dc: dup + IL_00dd: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00e7: dup + IL_00e8: stloc.0 + IL_00e9: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00ee: ldloc.0 + IL_00ef: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f4: nop + IL_00f5: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00fa: dup + IL_00fb: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0100: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0105: dup + IL_0106: stloc.0 + IL_0107: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_010c: nop + IL_010d: ldloc.0 + IL_010e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0113: nop + IL_0114: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0119: dup + IL_011a: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_011f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0124: dup + IL_0125: stloc.0 + IL_0126: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_012b: ldloc.0 + IL_012c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0131: nop + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0137: dup + IL_0138: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_013d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0142: dup + IL_0143: stloc.0 + IL_0144: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0149: nop + IL_014a: ldloc.0 + IL_014b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0150: nop + IL_0151: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0156: dup + IL_0157: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_015c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0161: dup + IL_0162: stloc.0 + IL_0163: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: nop + IL_016f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0174: dup + IL_0175: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_017a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_017f: dup + IL_0180: stloc.0 + IL_0181: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0186: nop + IL_0187: ldloc.0 + IL_0188: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_018d: nop + IL_018e: ret + } // end of method CompoundAssignmentTest::CustomStructPreIncTest - .method public hidebysig instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum - PostIncrementStaticPropertyShort() cil managed + .method public hidebysig static void CustomStructPostDecTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 21 (0x15) + // Code size 399 (0x18f) .maxstack 3 - .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum V_0) + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) IL_0000: nop - IL_0001: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticShortProperty() + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField IL_0006: dup - IL_0007: ldc.i4.1 - IL_0008: add - IL_0009: conv.i2 - IL_000a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum) - IL_000f: nop - IL_0010: stloc.0 - IL_0011: br.s IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method CompoundAssignmentTest::PostIncrementStaticPropertyShort + IL_0007: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_000c: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0011: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0016: nop + IL_0017: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001c: dup + IL_001d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0027: nop + IL_0028: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002d: nop + IL_002e: ldarg.1 + IL_002f: dup + IL_0030: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0035: dup + IL_0036: stloc.0 + IL_0037: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_003c: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0041: ldloc.0 + IL_0042: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0047: nop + IL_0048: ldarg.1 + IL_0049: dup + IL_004a: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_004f: dup + IL_0050: stloc.0 + IL_0051: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0056: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_005b: nop + IL_005c: ldloc.0 + IL_005d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0062: nop + IL_0063: ldarga.s s + IL_0065: dup + IL_0066: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006b: dup + IL_006c: stloc.0 + IL_006d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0072: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0077: ldloc.0 + IL_0078: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007d: nop + IL_007e: ldarga.s s + IL_0080: dup + IL_0081: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0086: dup + IL_0087: stloc.0 + IL_0088: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_008d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0092: nop + IL_0093: ldloc.0 + IL_0094: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0099: nop + IL_009a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009f: dup + IL_00a0: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a5: dup + IL_00a6: stloc.0 + IL_00a7: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00ac: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: nop + IL_00b8: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00bd: dup + IL_00be: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c3: dup + IL_00c4: stloc.0 + IL_00c5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00ca: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00cf: nop + IL_00d0: ldloc.0 + IL_00d1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d6: nop + IL_00d7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00dc: dup + IL_00dd: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e2: dup + IL_00e3: stloc.0 + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00e9: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00ee: ldloc.0 + IL_00ef: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f4: nop + IL_00f5: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00fa: dup + IL_00fb: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0100: dup + IL_0101: stloc.0 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0107: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_010c: nop + IL_010d: ldloc.0 + IL_010e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0113: nop + IL_0114: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0119: dup + IL_011a: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_011f: dup + IL_0120: stloc.0 + IL_0121: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0126: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_012b: ldloc.0 + IL_012c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0131: nop + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0137: dup + IL_0138: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_013d: dup + IL_013e: stloc.0 + IL_013f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0144: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0149: nop + IL_014a: ldloc.0 + IL_014b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0150: nop + IL_0151: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0156: dup + IL_0157: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_015c: dup + IL_015d: stloc.0 + IL_015e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0163: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: nop + IL_016f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0174: dup + IL_0175: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_017a: dup + IL_017b: stloc.0 + IL_017c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0181: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0186: nop + IL_0187: ldloc.0 + IL_0188: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_018d: nop + IL_018e: ret + } // end of method CompoundAssignmentTest::CustomStructPostDecTest - .method public hidebysig instance void - IncrementStaticPropertyShort() cil managed + .method public hidebysig static void CustomStructPreDecTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 16 (0x10) - .maxstack 8 + // Code size 399 (0x18f) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) IL_0000: nop - IL_0001: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticShortProperty() - IL_0006: ldc.i4.1 - IL_0007: add - IL_0008: conv.i2 - IL_0009: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum) - IL_000e: nop - IL_000f: ret - } // end of method CompoundAssignmentTest::IncrementStaticPropertyShort + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_000b: dup + IL_000c: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0011: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0016: nop + IL_0017: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0021: dup + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0027: nop + IL_0028: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002d: nop + IL_002e: ldarg.1 + IL_002f: dup + IL_0030: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0035: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_003a: dup + IL_003b: stloc.0 + IL_003c: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0041: ldloc.0 + IL_0042: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0047: nop + IL_0048: ldarg.1 + IL_0049: dup + IL_004a: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_004f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0054: dup + IL_0055: stloc.0 + IL_0056: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_005b: nop + IL_005c: ldloc.0 + IL_005d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0062: nop + IL_0063: ldarga.s s + IL_0065: dup + IL_0066: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0070: dup + IL_0071: stloc.0 + IL_0072: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0077: ldloc.0 + IL_0078: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007d: nop + IL_007e: ldarga.s s + IL_0080: dup + IL_0081: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0086: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_008b: dup + IL_008c: stloc.0 + IL_008d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0092: nop + IL_0093: ldloc.0 + IL_0094: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0099: nop + IL_009a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009f: dup + IL_00a0: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00aa: dup + IL_00ab: stloc.0 + IL_00ac: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: nop + IL_00b8: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00bd: dup + IL_00be: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00c8: dup + IL_00c9: stloc.0 + IL_00ca: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00cf: nop + IL_00d0: ldloc.0 + IL_00d1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d6: nop + IL_00d7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00dc: dup + IL_00dd: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00e7: dup + IL_00e8: stloc.0 + IL_00e9: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00ee: ldloc.0 + IL_00ef: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f4: nop + IL_00f5: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00fa: dup + IL_00fb: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0100: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0105: dup + IL_0106: stloc.0 + IL_0107: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_010c: nop + IL_010d: ldloc.0 + IL_010e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0113: nop + IL_0114: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0119: dup + IL_011a: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_011f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0124: dup + IL_0125: stloc.0 + IL_0126: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_012b: ldloc.0 + IL_012c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0131: nop + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0137: dup + IL_0138: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_013d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0142: dup + IL_0143: stloc.0 + IL_0144: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0149: nop + IL_014a: ldloc.0 + IL_014b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0150: nop + IL_0151: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0156: dup + IL_0157: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_015c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0161: dup + IL_0162: stloc.0 + IL_0163: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: nop + IL_016f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0174: dup + IL_0175: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_017a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_017f: dup + IL_0180: stloc.0 + IL_0181: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0186: nop + IL_0187: ldloc.0 + IL_0188: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_018d: nop + IL_018e: ret + } // end of method CompoundAssignmentTest::CustomStructPreDecTest .method private hidebysig static class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/Item GetItem(object obj) cil managed @@ -1956,27 +21409,22 @@ .method private hidebysig instance void Issue588(uint16 val) cil managed { - // Code size 33 (0x21) - .maxstack 4 - .locals init (uint16 V_0) + // Code size 29 (0x1d) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortDict - IL_0007: ldarg.0 - IL_0008: dup - IL_0009: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField - IL_000e: dup - IL_000f: stloc.0 - IL_0010: ldc.i4.1 - IL_0011: add - IL_0012: conv.u2 - IL_0013: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, + IL_0007: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000c: dup + IL_000d: ldc.i4.1 + IL_000e: add + IL_000f: conv.u2 + IL_0010: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0015: ldarg.1 + IL_0016: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_001f: nop - IL_0020: ret + IL_001b: nop + IL_001c: ret } // end of method CompoundAssignmentTest::Issue588 .method private hidebysig instance void @@ -2025,6 +21473,58 @@ IL_0012: ret } // end of method CompoundAssignmentTest::.ctor + .property class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + CustomClassProp() + { + .get class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + } // end of property CompoundAssignmentTest::CustomClassProp + .property valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + CustomStructProp() + { + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + .get valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + } // end of property CompoundAssignmentTest::CustomStructProp + .property uint8 ByteProp() + { + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + .get uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + } // end of property CompoundAssignmentTest::ByteProp + .property int8 SbyteProp() + { + .get int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + } // end of property CompoundAssignmentTest::SbyteProp + .property int16 ShortProp() + { + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + .get int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + } // end of property CompoundAssignmentTest::ShortProp + .property uint16 UshortProp() + { + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + .get uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + } // end of property CompoundAssignmentTest::UshortProp + .property int32 IntProp() + { + .get int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + } // end of property CompoundAssignmentTest::IntProp + .property uint32 UintProp() + { + .get uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + } // end of property CompoundAssignmentTest::UintProp + .property int64 LongProp() + { + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + .get int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + } // end of property CompoundAssignmentTest::LongProp + .property uint64 UlongProp() + { + .get uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + } // end of property CompoundAssignmentTest::UlongProp .property int32 StaticProperty() { .get int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.opt.il b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.opt.il index 03fbbc324..1b32bc504 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.opt.il +++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.opt.il @@ -146,8 +146,8 @@ .property instance int32 Property() { - .get instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) + .get instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() } // end of property MutableClass::Property .property instance uint8 ByteProperty() { @@ -178,1391 +178,19487 @@ } // end of class Item - .field private int32 test1 - .field private int32[] array1 - .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer field1 - .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum enumField - .field private class [mscorlib]System.Collections.Generic.Dictionary`2 ushortDict - .field private uint16 ushortField - .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum shortEnumField - .field public static int32 StaticField - .field public static int16 StaticShortField - .field private static int32 'k__BackingField' - .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - .field private static valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum 'k__BackingField' - .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - .method public hidebysig specialname static - int32 get_StaticProperty() cil managed + .class auto ansi nested public beforefieldinit CustomClass + extends [mscorlib]System.Object { + .field public uint8 ByteField + .field public int8 SbyteField + .field public int16 ShortField + .field public uint16 UshortField + .field public int32 IntField + .field public uint32 UintField + .field public int64 LongField + .field public uint64 UlongField + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass CustomClassField + .field public valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct CustomStructField + .field private uint8 'k__BackingField' .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - // Code size 6 (0x6) - .maxstack 8 - IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' - IL_0005: ret - } // end of method CompoundAssignmentTest::get_StaticProperty - - .method public hidebysig specialname static - void set_StaticProperty(int32 'value') cil managed - { + .field private int8 'k__BackingField' .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' - IL_0006: ret - } // end of method CompoundAssignmentTest::set_StaticProperty - - .method public hidebysig specialname static - valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum - get_StaticShortProperty() cil managed - { + .field private int16 'k__BackingField' .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - // Code size 6 (0x6) - .maxstack 8 - IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' - IL_0005: ret - } // end of method CompoundAssignmentTest::get_StaticShortProperty - - .method public hidebysig specialname static - void set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum 'value') cil managed - { + .field private uint16 'k__BackingField' .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' - IL_0006: ret - } // end of method CompoundAssignmentTest::set_StaticShortProperty - - .method private hidebysig instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass - M() cil managed - { - // Code size 6 (0x6) - .maxstack 8 - IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::.ctor() - IL_0005: ret - } // end of method CompoundAssignmentTest::M + .field private int32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .method public hidebysig specialname + instance uint8 get_ByteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_ByteProp - .method private hidebysig instance int32[0...,0...] - Array() cil managed - { - // Code size 2 (0x2) - .maxstack 8 - IL_0000: ldnull - IL_0001: ret - } // end of method CompoundAssignmentTest::Array + .method public hidebysig specialname + instance void set_ByteProp(uint8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_ByteProp - .method private hidebysig instance int32* - GetPointer() cil managed - { - // Code size 3 (0x3) - .maxstack 8 - IL_0000: ldc.i4.0 - IL_0001: conv.u - IL_0002: ret - } // end of method CompoundAssignmentTest::GetPointer + .method public hidebysig specialname + instance int8 get_SbyteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_SbyteProp - .method public hidebysig instance int32 - GetIndex() cil managed - { - // Code size 14 (0xe) - .maxstack 8 - IL_0000: newobj instance void [mscorlib]System.Random::.ctor() - IL_0005: ldc.i4.0 - IL_0006: ldc.i4.s 100 - IL_0008: callvirt instance int32 [mscorlib]System.Random::Next(int32, - int32) - IL_000d: ret - } // end of method CompoundAssignmentTest::GetIndex + .method public hidebysig specialname + instance void set_SbyteProp(int8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_SbyteProp - .method public hidebysig instance int32[] - GetArray() cil managed - { - // Code size 6 (0x6) - .maxstack 8 - IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() - IL_0005: throw - } // end of method CompoundAssignmentTest::GetArray + .method public hidebysig specialname + instance int16 get_ShortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_ShortProp - .method public hidebysig instance int32 - GetValue(int32 'value') cil managed - { - // Code size 2 (0x2) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ret - } // end of method CompoundAssignmentTest::GetValue + .method public hidebysig specialname + instance void set_ShortProp(int16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_ShortProp - .method public hidebysig instance bool - IsUpperCaseA(char a) cil managed - { - // Code size 6 (0x6) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldc.i4.s 65 - IL_0003: ceq - IL_0005: ret - } // end of method CompoundAssignmentTest::IsUpperCaseA + .method public hidebysig specialname + instance uint16 get_UshortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_UshortProp - .method public hidebysig instance void - Int32_Local_Add(int32 i) cil managed - { - // Code size 44 (0x2c) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldc.i4.1 - IL_0002: add - IL_0003: starg.s i - IL_0005: ldarg.1 - IL_0006: dup - IL_0007: ldc.i4.1 - IL_0008: add - IL_0009: starg.s i - IL_000b: call void [mscorlib]System.Console::WriteLine(int32) - IL_0010: ldarg.1 - IL_0011: ldc.i4.1 - IL_0012: add - IL_0013: dup - IL_0014: starg.s i - IL_0016: call void [mscorlib]System.Console::WriteLine(int32) - IL_001b: ldarg.1 - IL_001c: ldc.i4.5 - IL_001d: add - IL_001e: starg.s i - IL_0020: ldarg.1 - IL_0021: ldc.i4.5 - IL_0022: add - IL_0023: dup - IL_0024: starg.s i - IL_0026: call void [mscorlib]System.Console::WriteLine(int32) - IL_002b: ret - } // end of method CompoundAssignmentTest::Int32_Local_Add + .method public hidebysig specialname + instance void set_UshortProp(uint16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_UshortProp - .method public hidebysig instance void - Int32_Local_Sub(int32 i) cil managed - { - // Code size 44 (0x2c) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldc.i4.1 - IL_0002: sub - IL_0003: starg.s i - IL_0005: ldarg.1 - IL_0006: dup - IL_0007: ldc.i4.1 - IL_0008: sub - IL_0009: starg.s i - IL_000b: call void [mscorlib]System.Console::WriteLine(int32) - IL_0010: ldarg.1 - IL_0011: ldc.i4.1 - IL_0012: sub - IL_0013: dup - IL_0014: starg.s i - IL_0016: call void [mscorlib]System.Console::WriteLine(int32) - IL_001b: ldarg.1 - IL_001c: ldc.i4.5 - IL_001d: sub - IL_001e: starg.s i - IL_0020: ldarg.1 - IL_0021: ldc.i4.5 - IL_0022: sub - IL_0023: dup - IL_0024: starg.s i - IL_0026: call void [mscorlib]System.Console::WriteLine(int32) - IL_002b: ret - } // end of method CompoundAssignmentTest::Int32_Local_Sub + .method public hidebysig specialname + instance int32 get_IntProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_IntProp + + .method public hidebysig specialname + instance void set_IntProp(int32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_IntProp + + .method public hidebysig specialname + instance uint32 get_UintProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_UintProp + + .method public hidebysig specialname + instance void set_UintProp(uint32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_UintProp + + .method public hidebysig specialname + instance int64 get_LongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_LongProp + + .method public hidebysig specialname + instance void set_LongProp(int64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_LongProp + + .method public hidebysig specialname + instance uint64 get_UlongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_UlongProp + + .method public hidebysig specialname + instance void set_UlongProp(uint64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_UlongProp + + .method public hidebysig specialname + instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + get_CustomClassProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_CustomClassProp + + .method public hidebysig specialname + instance void set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_CustomClassProp + + .method public hidebysig specialname + instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + get_CustomStructProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_CustomStructProp + + .method public hidebysig specialname + instance void set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_CustomStructProp + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomClass::op_Addition + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomClass::op_Subtraction + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomClass::op_Multiply + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomClass::op_Division + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomClass::op_Modulus + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + int32 rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomClass::op_LeftShift + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + int32 rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomClass::op_RightShift + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomClass::op_BitwiseAnd + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomClass::op_BitwiseOr + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomClass::op_ExclusiveOr + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomClass::op_Increment + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomClass::op_Decrement + + .method public hidebysig specialname rtspecialname + instance void .ctor() cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void [mscorlib]System.Object::.ctor() + IL_0006: ret + } // end of method CustomClass::.ctor + + .property instance uint8 ByteProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + .get instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + } // end of property CustomClass::ByteProp + .property instance int8 SbyteProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + .get instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + } // end of property CustomClass::SbyteProp + .property instance int16 ShortProp() + { + .get instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + } // end of property CustomClass::ShortProp + .property instance uint16 UshortProp() + { + .get instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + } // end of property CustomClass::UshortProp + .property instance int32 IntProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + .get instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + } // end of property CustomClass::IntProp + .property instance uint32 UintProp() + { + .get instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + } // end of property CustomClass::UintProp + .property instance int64 LongProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + .get instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + } // end of property CustomClass::LongProp + .property instance uint64 UlongProp() + { + .get instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + } // end of property CustomClass::UlongProp + .property instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + CustomClassProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + .get instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + } // end of property CustomClass::CustomClassProp + .property instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + CustomStructProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + .get instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + } // end of property CustomClass::CustomStructProp + } // end of class CustomClass + + .class sequential ansi sealed nested public beforefieldinit CustomStruct + extends [mscorlib]System.ValueType + { + .field public uint8 ByteField + .field public int8 SbyteField + .field public int16 ShortField + .field public uint16 UshortField + .field public int32 IntField + .field public uint32 UintField + .field public int64 LongField + .field public uint64 UlongField + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass CustomClassField + .field private class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .method public hidebysig specialname + instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + get_CustomClassProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_CustomClassProp + + .method public hidebysig specialname + instance void set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_CustomClassProp + + .method public hidebysig specialname + instance uint8 get_ByteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_ByteProp + + .method public hidebysig specialname + instance void set_ByteProp(uint8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_ByteProp + + .method public hidebysig specialname + instance int8 get_SbyteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_SbyteProp + + .method public hidebysig specialname + instance void set_SbyteProp(int8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_SbyteProp + + .method public hidebysig specialname + instance int16 get_ShortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_ShortProp + + .method public hidebysig specialname + instance void set_ShortProp(int16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_ShortProp + + .method public hidebysig specialname + instance uint16 get_UshortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_UshortProp + + .method public hidebysig specialname + instance void set_UshortProp(uint16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_UshortProp + + .method public hidebysig specialname + instance int32 get_IntProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_IntProp + + .method public hidebysig specialname + instance void set_IntProp(int32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_IntProp + + .method public hidebysig specialname + instance uint32 get_UintProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_UintProp + + .method public hidebysig specialname + instance void set_UintProp(uint32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_UintProp + + .method public hidebysig specialname + instance int64 get_LongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_LongProp + + .method public hidebysig specialname + instance void set_LongProp(int64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_LongProp + + .method public hidebysig specialname + instance uint64 get_UlongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_UlongProp + + .method public hidebysig specialname + instance void set_UlongProp(uint64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_UlongProp + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomStruct::op_Addition + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomStruct::op_Subtraction + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomStruct::op_Multiply + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomStruct::op_Division + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomStruct::op_Modulus + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + int32 rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomStruct::op_LeftShift + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + int32 rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomStruct::op_RightShift + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomStruct::op_BitwiseAnd + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomStruct::op_BitwiseOr + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomStruct::op_ExclusiveOr + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomStruct::op_Increment + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomStruct::op_Decrement + + .property instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + CustomClassProp() + { + .get instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_CustomClassProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + } // end of property CustomStruct::CustomClassProp + .property instance uint8 ByteProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_ByteProp(uint8) + .get instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_ByteProp() + } // end of property CustomStruct::ByteProp + .property instance int8 SbyteProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_SbyteProp(int8) + .get instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_SbyteProp() + } // end of property CustomStruct::SbyteProp + .property instance int16 ShortProp() + { + .get instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_ShortProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_ShortProp(int16) + } // end of property CustomStruct::ShortProp + .property instance uint16 UshortProp() + { + .get instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_UshortProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_UshortProp(uint16) + } // end of property CustomStruct::UshortProp + .property instance int32 IntProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_IntProp(int32) + .get instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_IntProp() + } // end of property CustomStruct::IntProp + .property instance uint32 UintProp() + { + .get instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_UintProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_UintProp(uint32) + } // end of property CustomStruct::UintProp + .property instance int64 LongProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_LongProp(int64) + .get instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_LongProp() + } // end of property CustomStruct::LongProp + .property instance uint64 UlongProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_UlongProp(uint64) + .get instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_UlongProp() + } // end of property CustomStruct::UlongProp + } // end of class CustomStruct + + .class sequential ansi sealed nested public beforefieldinit CustomStruct2 + extends [mscorlib]System.ValueType + { + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass CustomClassField + .field public valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct CustomStructField + .field public uint8 ByteField + .field public int8 SbyteField + .field public int16 ShortField + .field public uint16 UshortField + .field public int32 IntField + .field public uint32 UintField + .field public int64 LongField + .field public uint64 UlongField + .field private class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .method public hidebysig specialname + instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + get_CustomClassProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_CustomClassProp + + .method public hidebysig specialname + instance void set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_CustomClassProp + + .method public hidebysig specialname + instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + get_CustomStructProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_CustomStructProp + + .method public hidebysig specialname + instance void set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_CustomStructProp + + .method public hidebysig specialname + instance uint8 get_ByteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_ByteProp + + .method public hidebysig specialname + instance void set_ByteProp(uint8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_ByteProp + + .method public hidebysig specialname + instance int8 get_SbyteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_SbyteProp + + .method public hidebysig specialname + instance void set_SbyteProp(int8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_SbyteProp + + .method public hidebysig specialname + instance int16 get_ShortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_ShortProp + + .method public hidebysig specialname + instance void set_ShortProp(int16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_ShortProp + + .method public hidebysig specialname + instance uint16 get_UshortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_UshortProp + + .method public hidebysig specialname + instance void set_UshortProp(uint16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_UshortProp + + .method public hidebysig specialname + instance int32 get_IntProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_IntProp + + .method public hidebysig specialname + instance void set_IntProp(int32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_IntProp + + .method public hidebysig specialname + instance uint32 get_UintProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_UintProp + + .method public hidebysig specialname + instance void set_UintProp(uint32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_UintProp + + .method public hidebysig specialname + instance int64 get_LongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_LongProp + + .method public hidebysig specialname + instance void set_LongProp(int64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_LongProp + + .method public hidebysig specialname + instance uint64 get_UlongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_UlongProp + + .method public hidebysig specialname + instance void set_UlongProp(uint64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_UlongProp + + .property instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + CustomClassProp() + { + .get instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + } // end of property CustomStruct2::CustomClassProp + .property instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + CustomStructProp() + { + .get instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + } // end of property CustomStruct2::CustomStructProp + .property instance uint8 ByteProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + .get instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + } // end of property CustomStruct2::ByteProp + .property instance int8 SbyteProp() + { + .get instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + } // end of property CustomStruct2::SbyteProp + .property instance int16 ShortProp() + { + .get instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + } // end of property CustomStruct2::ShortProp + .property instance uint16 UshortProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + .get instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + } // end of property CustomStruct2::UshortProp + .property instance int32 IntProp() + { + .get instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + } // end of property CustomStruct2::IntProp + .property instance uint32 UintProp() + { + .get instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + } // end of property CustomStruct2::UintProp + .property instance int64 LongProp() + { + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + .get instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + } // end of property CustomStruct2::LongProp + .property instance uint64 UlongProp() + { + .get instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + } // end of property CustomStruct2::UlongProp + } // end of class CustomStruct2 + + .field private int32 test1 + .field private int32[] array1 + .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer field1 + .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum enumField + .field private class [mscorlib]System.Collections.Generic.Dictionary`2 ushortDict + .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum shortEnumField + .field public static int32 StaticField + .field public static int16 StaticShortField + .field private static class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass customClassField + .field private static valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct customStructField + .field private static valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 otherCustomStructField + .field private static uint8 byteField + .field private static int8 sbyteField + .field private static int16 shortField + .field private static uint16 ushortField + .field private static int32 intField + .field private static uint32 uintField + .field private static int64 longField + .field private static uint64 ulongField + .field private static class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static uint8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static int8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static int16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static uint16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static int32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static uint32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static int64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static uint64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static int32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .method private hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + get_CustomClassProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_CustomClassProp + + .method private hidebysig specialname static + void set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_CustomClassProp + + .method private hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + get_CustomStructProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_CustomStructProp + + .method private hidebysig specialname static + void set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_CustomStructProp + + .method private hidebysig specialname static + uint8 get_ByteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_ByteProp + + .method private hidebysig specialname static + void set_ByteProp(uint8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_ByteProp + + .method private hidebysig specialname static + int8 get_SbyteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_SbyteProp + + .method private hidebysig specialname static + void set_SbyteProp(int8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_SbyteProp + + .method private hidebysig specialname static + int16 get_ShortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_ShortProp + + .method private hidebysig specialname static + void set_ShortProp(int16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_ShortProp + + .method private hidebysig specialname static + uint16 get_UshortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_UshortProp + + .method private hidebysig specialname static + void set_UshortProp(uint16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_UshortProp + + .method private hidebysig specialname static + int32 get_IntProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_IntProp + + .method private hidebysig specialname static + void set_IntProp(int32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_IntProp + + .method private hidebysig specialname static + uint32 get_UintProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_UintProp + + .method private hidebysig specialname static + void set_UintProp(uint32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_UintProp + + .method private hidebysig specialname static + int64 get_LongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_LongProp + + .method private hidebysig specialname static + void set_LongProp(int64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_LongProp + + .method private hidebysig specialname static + uint64 get_UlongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_UlongProp + + .method private hidebysig specialname static + void set_UlongProp(uint64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_UlongProp + + .method public hidebysig specialname static + int32 get_StaticProperty() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_StaticProperty + + .method public hidebysig specialname static + void set_StaticProperty(int32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_StaticProperty + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum + get_StaticShortProperty() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_StaticShortProperty + + .method public hidebysig specialname static + void set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_StaticShortProperty + + .method private hidebysig static class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + GetClass() cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CompoundAssignmentTest::GetClass + + .method private hidebysig static void X(!!T result) cil managed + { + // Code size 1 (0x1) + .maxstack 8 + IL_0000: ret + } // end of method CompoundAssignmentTest::X + + .method private hidebysig instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass + M() cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::.ctor() + IL_0005: ret + } // end of method CompoundAssignmentTest::M + + .method private hidebysig instance int32[0...,0...] + Array() cil managed + { + // Code size 2 (0x2) + .maxstack 8 + IL_0000: ldnull + IL_0001: ret + } // end of method CompoundAssignmentTest::Array + + .method private hidebysig instance int32* + GetPointer() cil managed + { + // Code size 3 (0x3) + .maxstack 8 + IL_0000: ldc.i4.0 + IL_0001: conv.u + IL_0002: ret + } // end of method CompoundAssignmentTest::GetPointer + + .method public hidebysig instance int32 + GetIndex() cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.Random::.ctor() + IL_0005: ldc.i4.0 + IL_0006: ldc.i4.s 100 + IL_0008: callvirt instance int32 [mscorlib]System.Random::Next(int32, + int32) + IL_000d: ret + } // end of method CompoundAssignmentTest::GetIndex + + .method public hidebysig instance int32[] + GetArray() cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CompoundAssignmentTest::GetArray + + .method public hidebysig instance int32 + GetValue(int32 'value') cil managed + { + // Code size 2 (0x2) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ret + } // end of method CompoundAssignmentTest::GetValue + + .method public hidebysig instance bool + IsUpperCaseA(char a) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.s 65 + IL_0003: ceq + IL_0005: ret + } // end of method CompoundAssignmentTest::IsUpperCaseA + + .method public hidebysig instance void + Int32_Local_Add(int32 i) cil managed + { + // Code size 44 (0x2c) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.1 + IL_0002: add + IL_0003: starg.s i + IL_0005: ldarg.1 + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: starg.s i + IL_000b: call void [mscorlib]System.Console::WriteLine(int32) + IL_0010: ldarg.1 + IL_0011: ldc.i4.1 + IL_0012: add + IL_0013: dup + IL_0014: starg.s i + IL_0016: call void [mscorlib]System.Console::WriteLine(int32) + IL_001b: ldarg.1 + IL_001c: ldc.i4.5 + IL_001d: add + IL_001e: starg.s i + IL_0020: ldarg.1 + IL_0021: ldc.i4.5 + IL_0022: add + IL_0023: dup + IL_0024: starg.s i + IL_0026: call void [mscorlib]System.Console::WriteLine(int32) + IL_002b: ret + } // end of method CompoundAssignmentTest::Int32_Local_Add + + .method public hidebysig instance void + Int32_Local_Sub(int32 i) cil managed + { + // Code size 44 (0x2c) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.1 + IL_0002: sub + IL_0003: starg.s i + IL_0005: ldarg.1 + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: sub + IL_0009: starg.s i + IL_000b: call void [mscorlib]System.Console::WriteLine(int32) + IL_0010: ldarg.1 + IL_0011: ldc.i4.1 + IL_0012: sub + IL_0013: dup + IL_0014: starg.s i + IL_0016: call void [mscorlib]System.Console::WriteLine(int32) + IL_001b: ldarg.1 + IL_001c: ldc.i4.5 + IL_001d: sub + IL_001e: starg.s i + IL_0020: ldarg.1 + IL_0021: ldc.i4.5 + IL_0022: sub + IL_0023: dup + IL_0024: starg.s i + IL_0026: call void [mscorlib]System.Console::WriteLine(int32) + IL_002b: ret + } // end of method CompoundAssignmentTest::Int32_Local_Sub + + .method public hidebysig instance void + Int32_Local_Mul(int32 i) cil managed + { + // Code size 17 (0x11) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.5 + IL_0002: mul + IL_0003: starg.s i + IL_0005: ldarg.1 + IL_0006: ldc.i4.5 + IL_0007: mul + IL_0008: dup + IL_0009: starg.s i + IL_000b: call void [mscorlib]System.Console::WriteLine(int32) + IL_0010: ret + } // end of method CompoundAssignmentTest::Int32_Local_Mul + + .method public hidebysig instance void + Int32_Local_Div(int32 i) cil managed + { + // Code size 17 (0x11) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.5 + IL_0002: div + IL_0003: starg.s i + IL_0005: ldarg.1 + IL_0006: ldc.i4.5 + IL_0007: div + IL_0008: dup + IL_0009: starg.s i + IL_000b: call void [mscorlib]System.Console::WriteLine(int32) + IL_0010: ret + } // end of method CompoundAssignmentTest::Int32_Local_Div + + .method public hidebysig instance void + Int32_Local_Rem(int32 i) cil managed + { + // Code size 17 (0x11) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.5 + IL_0002: rem + IL_0003: starg.s i + IL_0005: ldarg.1 + IL_0006: ldc.i4.5 + IL_0007: rem + IL_0008: dup + IL_0009: starg.s i + IL_000b: call void [mscorlib]System.Console::WriteLine(int32) + IL_0010: ret + } // end of method CompoundAssignmentTest::Int32_Local_Rem + + .method public hidebysig instance void + Int32_Local_BitAnd(int32 i) cil managed + { + // Code size 17 (0x11) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.5 + IL_0002: and + IL_0003: starg.s i + IL_0005: ldarg.1 + IL_0006: ldc.i4.5 + IL_0007: and + IL_0008: dup + IL_0009: starg.s i + IL_000b: call void [mscorlib]System.Console::WriteLine(int32) + IL_0010: ret + } // end of method CompoundAssignmentTest::Int32_Local_BitAnd + + .method public hidebysig instance void + Int32_Local_BitOr(int32 i) cil managed + { + // Code size 17 (0x11) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.5 + IL_0002: or + IL_0003: starg.s i + IL_0005: ldarg.1 + IL_0006: ldc.i4.5 + IL_0007: or + IL_0008: dup + IL_0009: starg.s i + IL_000b: call void [mscorlib]System.Console::WriteLine(int32) + IL_0010: ret + } // end of method CompoundAssignmentTest::Int32_Local_BitOr + + .method public hidebysig instance void + Int32_Local_BitXor(int32 i) cil managed + { + // Code size 17 (0x11) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.5 + IL_0002: xor + IL_0003: starg.s i + IL_0005: ldarg.1 + IL_0006: ldc.i4.5 + IL_0007: xor + IL_0008: dup + IL_0009: starg.s i + IL_000b: call void [mscorlib]System.Console::WriteLine(int32) + IL_0010: ret + } // end of method CompoundAssignmentTest::Int32_Local_BitXor + + .method public hidebysig instance void + Int32_Local_ShiftLeft(int32 i) cil managed + { + // Code size 17 (0x11) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.5 + IL_0002: shl + IL_0003: starg.s i + IL_0005: ldarg.1 + IL_0006: ldc.i4.5 + IL_0007: shl + IL_0008: dup + IL_0009: starg.s i + IL_000b: call void [mscorlib]System.Console::WriteLine(int32) + IL_0010: ret + } // end of method CompoundAssignmentTest::Int32_Local_ShiftLeft + + .method public hidebysig instance void + Int32_Local_ShiftRight(int32 i) cil managed + { + // Code size 17 (0x11) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.5 + IL_0002: shr + IL_0003: starg.s i + IL_0005: ldarg.1 + IL_0006: ldc.i4.5 + IL_0007: shr + IL_0008: dup + IL_0009: starg.s i + IL_000b: call void [mscorlib]System.Console::WriteLine(int32) + IL_0010: ret + } // end of method CompoundAssignmentTest::Int32_Local_ShiftRight + + .method public hidebysig instance void + IntegerWithInline(int32 i) cil managed + { + // Code size 18 (0x12) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.5 + IL_0002: add + IL_0003: dup + IL_0004: starg.s i + IL_0006: call void [mscorlib]System.Console::WriteLine(int32) + IL_000b: ldarg.1 + IL_000c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0011: ret + } // end of method CompoundAssignmentTest::IntegerWithInline + + .method public hidebysig instance void + IntegerField(int32 i) cil managed + { + // Code size 67 (0x43) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: ldarg.0 + IL_0001: dup + IL_0002: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_0007: ldarg.1 + IL_0008: add + IL_0009: dup + IL_000a: stloc.0 + IL_000b: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_0010: ldloc.0 + IL_0011: call void [mscorlib]System.Console::WriteLine(int32) + IL_0016: ldarg.0 + IL_0017: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_001c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0021: ldarg.0 + IL_0022: dup + IL_0023: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_0028: ldarg.1 + IL_0029: sub + IL_002a: dup + IL_002b: stloc.1 + IL_002c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_0031: ldloc.1 + IL_0032: call void [mscorlib]System.Console::WriteLine(int32) + IL_0037: ldarg.0 + IL_0038: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_003d: call void [mscorlib]System.Console::WriteLine(int32) + IL_0042: ret + } // end of method CompoundAssignmentTest::IntegerField + + .method public hidebysig instance void + Array(int32 i) cil managed + { + // Code size 71 (0x47) + .maxstack 4 + .locals init (int32 V_0, + int32 V_1) + IL_0000: ldarg.0 + IL_0001: ldfld int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::array1 + IL_0006: ldarg.1 + IL_0007: ldelema [mscorlib]System.Int32 + IL_000c: dup + IL_000d: ldobj [mscorlib]System.Int32 + IL_0012: ldarg.1 + IL_0013: add + IL_0014: dup + IL_0015: stloc.0 + IL_0016: stobj [mscorlib]System.Int32 + IL_001b: ldloc.0 + IL_001c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0021: ldarg.0 + IL_0022: ldfld int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::array1 + IL_0027: ldarg.1 + IL_0028: ldc.i4.2 + IL_0029: mul + IL_002a: ldelema [mscorlib]System.Int32 + IL_002f: dup + IL_0030: ldobj [mscorlib]System.Int32 + IL_0035: ldarg.1 + IL_0036: ldc.i4.2 + IL_0037: mul + IL_0038: add + IL_0039: dup + IL_003a: stloc.1 + IL_003b: stobj [mscorlib]System.Int32 + IL_0040: ldloc.1 + IL_0041: call void [mscorlib]System.Console::WriteLine(int32) + IL_0046: ret + } // end of method CompoundAssignmentTest::Array + + .method public hidebysig instance int32 + ArrayUsageWithMethods() cil managed + { + // Code size 34 (0x22) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.0 + IL_0001: call instance int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetArray() + IL_0006: ldarg.0 + IL_0007: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetIndex() + IL_000c: ldelema [mscorlib]System.Int32 + IL_0011: dup + IL_0012: ldobj [mscorlib]System.Int32 + IL_0017: dup + IL_0018: stloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stobj [mscorlib]System.Int32 + IL_0020: ldloc.0 + IL_0021: ret + } // end of method CompoundAssignmentTest::ArrayUsageWithMethods + + .method public hidebysig instance void + NestedField() cil managed + { + // Code size 87 (0x57) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: ldarg.0 + IL_0001: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 + IL_0006: ldfld bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::HasIndex + IL_000b: brfalse.s IL_0056 + + IL_000d: ldarg.0 + IL_000e: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 + IL_0013: dup + IL_0014: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field + IL_0019: ldc.i4.2 + IL_001a: mul + IL_001b: dup + IL_001c: stloc.0 + IL_001d: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field + IL_0022: ldloc.0 + IL_0023: call void [mscorlib]System.Console::WriteLine(int32) + IL_0028: ldarg.0 + IL_0029: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 + IL_002e: dup + IL_002f: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field + IL_0034: ldc.i4.1 + IL_0035: add + IL_0036: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field + IL_003b: ldarg.0 + IL_003c: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 + IL_0041: dup + IL_0042: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field + IL_0047: dup + IL_0048: stloc.1 + IL_0049: ldc.i4.1 + IL_004a: add + IL_004b: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field + IL_0050: ldloc.1 + IL_0051: call void [mscorlib]System.Console::WriteLine(int32) + IL_0056: ret + } // end of method CompoundAssignmentTest::NestedField + + .method public hidebysig instance void + Enum() cil managed + { + // Code size 58 (0x3a) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: dup + IL_0002: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_0007: ldc.i4.2 + IL_0008: or + IL_0009: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_000e: ldarg.0 + IL_000f: dup + IL_0010: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_0015: ldc.i4.s -5 + IL_0017: and + IL_0018: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_001d: ldarg.0 + IL_001e: dup + IL_001f: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_0024: ldc.i4.2 + IL_0025: add + IL_0026: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_002b: ldarg.0 + IL_002c: dup + IL_002d: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_0032: ldc.i4.3 + IL_0033: sub + IL_0034: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_0039: ret + } // end of method CompoundAssignmentTest::Enum + + .method public hidebysig instance void + ShortEnumTest() cil managed + { + // Code size 61 (0x3d) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: dup + IL_0002: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_0007: ldc.i4.2 + IL_0008: or + IL_0009: conv.i2 + IL_000a: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_000f: ldarg.0 + IL_0010: dup + IL_0011: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_0016: ldc.i4.4 + IL_0017: and + IL_0018: conv.i2 + IL_0019: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_001e: ldarg.0 + IL_001f: dup + IL_0020: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_0025: ldc.i4.2 + IL_0026: add + IL_0027: conv.i2 + IL_0028: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_002d: ldarg.0 + IL_002e: dup + IL_002f: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_0034: ldc.i4.3 + IL_0035: sub + IL_0036: conv.i2 + IL_0037: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_003c: ret + } // end of method CompoundAssignmentTest::ShortEnumTest + + .method public hidebysig instance int32 + PreIncrementInAddition(int32 i, + int32 j) cil managed + { + // Code size 9 (0x9) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldarg.2 + IL_0002: ldc.i4.1 + IL_0003: add + IL_0004: dup + IL_0005: starg.s j + IL_0007: add + IL_0008: ret + } // end of method CompoundAssignmentTest::PreIncrementInAddition + + .method public hidebysig instance int32 + PreIncrementArrayElement(int32[] 'array', + int32 pos) cil managed + { + // Code size 24 (0x18) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.1 + IL_0001: ldarg.2 + IL_0002: ldelema [mscorlib]System.Int32 + IL_0007: dup + IL_0008: ldobj [mscorlib]System.Int32 + IL_000d: ldc.i4.1 + IL_000e: sub + IL_000f: dup + IL_0010: stloc.0 + IL_0011: stobj [mscorlib]System.Int32 + IL_0016: ldloc.0 + IL_0017: ret + } // end of method CompoundAssignmentTest::PreIncrementArrayElement + + .method public hidebysig instance int32 + PostIncrementArrayElement(int32[] 'array', + int32 pos) cil managed + { + // Code size 24 (0x18) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.1 + IL_0001: ldarg.2 + IL_0002: ldelema [mscorlib]System.Int32 + IL_0007: dup + IL_0008: ldobj [mscorlib]System.Int32 + IL_000d: dup + IL_000e: stloc.0 + IL_000f: ldc.i4.1 + IL_0010: add + IL_0011: stobj [mscorlib]System.Int32 + IL_0016: ldloc.0 + IL_0017: ret + } // end of method CompoundAssignmentTest::PostIncrementArrayElement + + .method public hidebysig instance void + IncrementArrayElement(int32[] 'array', + int32 pos) cil managed + { + // Code size 21 (0x15) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldarg.2 + IL_0002: ldelema [mscorlib]System.Int32 + IL_0007: dup + IL_0008: ldobj [mscorlib]System.Int32 + IL_000d: ldc.i4.1 + IL_000e: add + IL_000f: stobj [mscorlib]System.Int32 + IL_0014: ret + } // end of method CompoundAssignmentTest::IncrementArrayElement + + .method public hidebysig instance void + DoubleArrayElement(int32[] 'array', + int32 pos) cil managed + { + // Code size 21 (0x15) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldarg.2 + IL_0002: ldelema [mscorlib]System.Int32 + IL_0007: dup + IL_0008: ldobj [mscorlib]System.Int32 + IL_000d: ldc.i4.2 + IL_000e: mul + IL_000f: stobj [mscorlib]System.Int32 + IL_0014: ret + } // end of method CompoundAssignmentTest::DoubleArrayElement + + .method public hidebysig instance int32 + DoubleArrayElementAndReturn(int32[] 'array', + int32 pos) cil managed + { + // Code size 24 (0x18) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.1 + IL_0001: ldarg.2 + IL_0002: ldelema [mscorlib]System.Int32 + IL_0007: dup + IL_0008: ldobj [mscorlib]System.Int32 + IL_000d: ldc.i4.2 + IL_000e: mul + IL_000f: dup + IL_0010: stloc.0 + IL_0011: stobj [mscorlib]System.Int32 + IL_0016: ldloc.0 + IL_0017: ret + } // end of method CompoundAssignmentTest::DoubleArrayElementAndReturn + + .method public hidebysig instance int32 + PreIncrementArrayElementShort(int16[] 'array', + int32 pos) cil managed + { + // Code size 25 (0x19) + .maxstack 3 + .locals init (int16 V_0) + IL_0000: ldarg.1 + IL_0001: ldarg.2 + IL_0002: ldelema [mscorlib]System.Int16 + IL_0007: dup + IL_0008: ldobj [mscorlib]System.Int16 + IL_000d: ldc.i4.1 + IL_000e: sub + IL_000f: conv.i2 + IL_0010: dup + IL_0011: stloc.0 + IL_0012: stobj [mscorlib]System.Int16 + IL_0017: ldloc.0 + IL_0018: ret + } // end of method CompoundAssignmentTest::PreIncrementArrayElementShort + + .method public hidebysig instance int32 + PostIncrementArrayElementShort(int16[] 'array', + int32 pos) cil managed + { + // Code size 25 (0x19) + .maxstack 3 + .locals init (int16 V_0) + IL_0000: ldarg.1 + IL_0001: ldarg.2 + IL_0002: ldelema [mscorlib]System.Int16 + IL_0007: dup + IL_0008: ldobj [mscorlib]System.Int16 + IL_000d: dup + IL_000e: stloc.0 + IL_000f: ldc.i4.1 + IL_0010: add + IL_0011: conv.i2 + IL_0012: stobj [mscorlib]System.Int16 + IL_0017: ldloc.0 + IL_0018: ret + } // end of method CompoundAssignmentTest::PostIncrementArrayElementShort + + .method public hidebysig instance void + IncrementArrayElementShort(int16[] 'array', + int32 pos) cil managed + { + // Code size 22 (0x16) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldarg.2 + IL_0002: ldelema [mscorlib]System.Int16 + IL_0007: dup + IL_0008: ldobj [mscorlib]System.Int16 + IL_000d: ldc.i4.1 + IL_000e: add + IL_000f: conv.i2 + IL_0010: stobj [mscorlib]System.Int16 + IL_0015: ret + } // end of method CompoundAssignmentTest::IncrementArrayElementShort + + .method public hidebysig instance void + DoubleArrayElementShort(int16[] 'array', + int32 pos) cil managed + { + // Code size 22 (0x16) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldarg.2 + IL_0002: ldelema [mscorlib]System.Int16 + IL_0007: dup + IL_0008: ldobj [mscorlib]System.Int16 + IL_000d: ldc.i4.2 + IL_000e: mul + IL_000f: conv.i2 + IL_0010: stobj [mscorlib]System.Int16 + IL_0015: ret + } // end of method CompoundAssignmentTest::DoubleArrayElementShort + + .method public hidebysig instance int16 + DoubleArrayElementShortAndReturn(int16[] 'array', + int32 pos) cil managed + { + // Code size 25 (0x19) + .maxstack 3 + .locals init (int16 V_0) + IL_0000: ldarg.1 + IL_0001: ldarg.2 + IL_0002: ldelema [mscorlib]System.Int16 + IL_0007: dup + IL_0008: ldobj [mscorlib]System.Int16 + IL_000d: ldc.i4.2 + IL_000e: mul + IL_000f: conv.i2 + IL_0010: dup + IL_0011: stloc.0 + IL_0012: stobj [mscorlib]System.Int16 + IL_0017: ldloc.0 + IL_0018: ret + } // end of method CompoundAssignmentTest::DoubleArrayElementShortAndReturn + + .method public hidebysig instance int32 + PreIncrementInstanceField() cil managed + { + // Code size 23 (0x17) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_000c: ldc.i4.1 + IL_000d: add + IL_000e: dup + IL_000f: stloc.0 + IL_0010: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0015: ldloc.0 + IL_0016: ret + } // end of method CompoundAssignmentTest::PreIncrementInstanceField + + .method public hidebysig instance int32 + PostIncrementInstanceField() cil managed + { + // Code size 23 (0x17) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_000c: dup + IL_000d: stloc.0 + IL_000e: ldc.i4.1 + IL_000f: add + IL_0010: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0015: ldloc.0 + IL_0016: ret + } // end of method CompoundAssignmentTest::PostIncrementInstanceField + + .method public hidebysig instance void + IncrementInstanceField() cil managed + { + // Code size 20 (0x14) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_000c: ldc.i4.1 + IL_000d: add + IL_000e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0013: ret + } // end of method CompoundAssignmentTest::IncrementInstanceField + + .method public hidebysig instance void + DoubleInstanceField() cil managed + { + // Code size 20 (0x14) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_000c: ldc.i4.2 + IL_000d: mul + IL_000e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0013: ret + } // end of method CompoundAssignmentTest::DoubleInstanceField + + .method public hidebysig instance int32 + DoubleInstanceFieldAndReturn() cil managed + { + // Code size 23 (0x17) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_000c: ldc.i4.2 + IL_000d: mul + IL_000e: dup + IL_000f: stloc.0 + IL_0010: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0015: ldloc.0 + IL_0016: ret + } // end of method CompoundAssignmentTest::DoubleInstanceFieldAndReturn + + .method public hidebysig instance int32 + PreIncrementInstanceField2(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass m) cil managed + { + // Code size 18 (0x12) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.1 + IL_0001: dup + IL_0002: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: dup + IL_000a: stloc.0 + IL_000b: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0010: ldloc.0 + IL_0011: ret + } // end of method CompoundAssignmentTest::PreIncrementInstanceField2 + + .method public hidebysig instance int32 + PostIncrementInstanceField2(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass m) cil managed + { + // Code size 18 (0x12) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.1 + IL_0001: dup + IL_0002: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0007: dup + IL_0008: stloc.0 + IL_0009: ldc.i4.1 + IL_000a: add + IL_000b: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0010: ldloc.0 + IL_0011: ret + } // end of method CompoundAssignmentTest::PostIncrementInstanceField2 + + .method public hidebysig instance void + IncrementInstanceField2(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass m) cil managed + { + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: dup + IL_0002: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_000e: ret + } // end of method CompoundAssignmentTest::IncrementInstanceField2 + + .method public hidebysig instance int32 + PreIncrementInstanceFieldShort() cil managed + { + // Code size 24 (0x18) + .maxstack 3 + .locals init (int16 V_0) + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField + IL_000c: ldc.i4.1 + IL_000d: add + IL_000e: conv.i2 + IL_000f: dup + IL_0010: stloc.0 + IL_0011: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField + IL_0016: ldloc.0 + IL_0017: ret + } // end of method CompoundAssignmentTest::PreIncrementInstanceFieldShort + + .method public hidebysig instance int32 + PostIncrementInstanceFieldShort() cil managed + { + // Code size 24 (0x18) + .maxstack 3 + .locals init (int16 V_0) + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField + IL_000c: dup + IL_000d: stloc.0 + IL_000e: ldc.i4.1 + IL_000f: add + IL_0010: conv.i2 + IL_0011: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField + IL_0016: ldloc.0 + IL_0017: ret + } // end of method CompoundAssignmentTest::PostIncrementInstanceFieldShort + + .method public hidebysig instance void + IncrementInstanceFieldShort() cil managed + { + // Code size 21 (0x15) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField + IL_000c: ldc.i4.1 + IL_000d: add + IL_000e: conv.i2 + IL_000f: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField + IL_0014: ret + } // end of method CompoundAssignmentTest::IncrementInstanceFieldShort + + .method public hidebysig instance int32 + PreIncrementInstanceProperty() cil managed + { + // Code size 23 (0x17) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() + IL_000c: ldc.i4.1 + IL_000d: add + IL_000e: dup + IL_000f: stloc.0 + IL_0010: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) + IL_0015: ldloc.0 + IL_0016: ret + } // end of method CompoundAssignmentTest::PreIncrementInstanceProperty + + .method public hidebysig instance int32 + PostIncrementInstanceProperty() cil managed + { + // Code size 23 (0x17) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() + IL_000c: dup + IL_000d: stloc.0 + IL_000e: ldc.i4.1 + IL_000f: add + IL_0010: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) + IL_0015: ldloc.0 + IL_0016: ret + } // end of method CompoundAssignmentTest::PostIncrementInstanceProperty + + .method public hidebysig instance void + IncrementInstanceProperty() cil managed + { + // Code size 20 (0x14) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() + IL_000c: ldc.i4.1 + IL_000d: add + IL_000e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) + IL_0013: ret + } // end of method CompoundAssignmentTest::IncrementInstanceProperty + + .method public hidebysig instance void + DoubleInstanceProperty() cil managed + { + // Code size 20 (0x14) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() + IL_000c: ldc.i4.2 + IL_000d: mul + IL_000e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) + IL_0013: ret + } // end of method CompoundAssignmentTest::DoubleInstanceProperty + + .method public hidebysig instance int32 + DoubleInstancePropertyAndReturn() cil managed + { + // Code size 23 (0x17) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() + IL_000c: ldc.i4.2 + IL_000d: mul + IL_000e: dup + IL_000f: stloc.0 + IL_0010: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) + IL_0015: ldloc.0 + IL_0016: ret + } // end of method CompoundAssignmentTest::DoubleInstancePropertyAndReturn + + .method public hidebysig instance int32 + PreIncrementInstancePropertyByte() cil managed + { + // Code size 24 (0x18) + .maxstack 3 + .locals init (uint8 V_0) + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() + IL_000c: ldc.i4.1 + IL_000d: add + IL_000e: conv.u1 + IL_000f: dup + IL_0010: stloc.0 + IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) + IL_0016: ldloc.0 + IL_0017: ret + } // end of method CompoundAssignmentTest::PreIncrementInstancePropertyByte + + .method public hidebysig instance int32 + PostIncrementInstancePropertyByte() cil managed + { + // Code size 24 (0x18) + .maxstack 3 + .locals init (uint8 V_0) + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() + IL_000c: dup + IL_000d: stloc.0 + IL_000e: ldc.i4.1 + IL_000f: add + IL_0010: conv.u1 + IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) + IL_0016: ldloc.0 + IL_0017: ret + } // end of method CompoundAssignmentTest::PostIncrementInstancePropertyByte + + .method public hidebysig instance void + IncrementInstancePropertyByte() cil managed + { + // Code size 21 (0x15) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() + IL_000c: ldc.i4.1 + IL_000d: add + IL_000e: conv.u1 + IL_000f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) + IL_0014: ret + } // end of method CompoundAssignmentTest::IncrementInstancePropertyByte + + .method public hidebysig instance void + DoubleInstancePropertyByte() cil managed + { + // Code size 21 (0x15) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() + IL_000c: ldc.i4.2 + IL_000d: mul + IL_000e: conv.u1 + IL_000f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) + IL_0014: ret + } // end of method CompoundAssignmentTest::DoubleInstancePropertyByte + + .method public hidebysig instance int32 + DoubleInstancePropertyByteAndReturn() cil managed + { + // Code size 24 (0x18) + .maxstack 3 + .locals init (uint8 V_0) + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() + IL_000c: ldc.i4.2 + IL_000d: mul + IL_000e: conv.u1 + IL_000f: dup + IL_0010: stloc.0 + IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) + IL_0016: ldloc.0 + IL_0017: ret + } // end of method CompoundAssignmentTest::DoubleInstancePropertyByteAndReturn + + .method public hidebysig instance int32 + PreIncrementStaticField() cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: dup + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_000d: ret + } // end of method CompoundAssignmentTest::PreIncrementStaticField + + .method public hidebysig instance int32 + PostIncrementStaticField() cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_000d: ret + } // end of method CompoundAssignmentTest::PostIncrementStaticField + + .method public hidebysig instance void + IncrementStaticField() cil managed + { + // Code size 13 (0xd) + .maxstack 8 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_000c: ret + } // end of method CompoundAssignmentTest::IncrementStaticField + + .method public hidebysig instance void + DoubleStaticField() cil managed + { + // Code size 13 (0xd) + .maxstack 8 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_0005: ldc.i4.2 + IL_0006: mul + IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_000c: ret + } // end of method CompoundAssignmentTest::DoubleStaticField + + .method public hidebysig instance int32 + DoubleStaticFieldAndReturn() cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_0005: ldc.i4.2 + IL_0006: mul + IL_0007: dup + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_000d: ret + } // end of method CompoundAssignmentTest::DoubleStaticFieldAndReturn + + .method public hidebysig instance int32 + PreIncrementStaticFieldShort() cil managed + { + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: conv.i2 + IL_0008: dup + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_000e: ret + } // end of method CompoundAssignmentTest::PreIncrementStaticFieldShort + + .method public hidebysig instance int32 + PostIncrementStaticFieldShort() cil managed + { + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_000e: ret + } // end of method CompoundAssignmentTest::PostIncrementStaticFieldShort + + .method public hidebysig instance void + IncrementStaticFieldShort() cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: conv.i2 + IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_000d: ret + } // end of method CompoundAssignmentTest::IncrementStaticFieldShort + + .method public hidebysig instance void + DoubleStaticFieldShort() cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_0005: ldc.i4.2 + IL_0006: mul + IL_0007: conv.i2 + IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_000d: ret + } // end of method CompoundAssignmentTest::DoubleStaticFieldShort + + .method public hidebysig instance int16 + DoubleStaticFieldAndReturnShort() cil managed + { + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_0005: ldc.i4.2 + IL_0006: mul + IL_0007: conv.i2 + IL_0008: dup + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_000e: ret + } // end of method CompoundAssignmentTest::DoubleStaticFieldAndReturnShort + + .method public hidebysig instance int32 + PreIncrementStaticProperty() cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: dup + IL_0008: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) + IL_000d: ret + } // end of method CompoundAssignmentTest::PreIncrementStaticProperty + + .method public hidebysig instance int32 + PostIncrementStaticProperty() cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) + IL_000d: ret + } // end of method CompoundAssignmentTest::PostIncrementStaticProperty + + .method public hidebysig instance void + IncrementStaticProperty() cil managed + { + // Code size 13 (0xd) + .maxstack 8 + IL_0000: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) + IL_000c: ret + } // end of method CompoundAssignmentTest::IncrementStaticProperty + + .method public hidebysig instance void + DoubleStaticProperty() cil managed + { + // Code size 13 (0xd) + .maxstack 8 + IL_0000: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() + IL_0005: ldc.i4.2 + IL_0006: mul + IL_0007: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) + IL_000c: ret + } // end of method CompoundAssignmentTest::DoubleStaticProperty + + .method public hidebysig instance int32 + DoubleStaticPropertyAndReturn() cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() + IL_0005: ldc.i4.2 + IL_0006: mul + IL_0007: dup + IL_0008: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) + IL_000d: ret + } // end of method CompoundAssignmentTest::DoubleStaticPropertyAndReturn + + .method public hidebysig instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum + PreIncrementStaticPropertyShort() cil managed + { + // Code size 15 (0xf) + .maxstack 8 + IL_0000: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticShortProperty() + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: conv.i2 + IL_0008: dup + IL_0009: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum) + IL_000e: ret + } // end of method CompoundAssignmentTest::PreIncrementStaticPropertyShort + + .method public hidebysig instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum + PostIncrementStaticPropertyShort() cil managed + { + // Code size 15 (0xf) + .maxstack 8 + IL_0000: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticShortProperty() + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.i2 + IL_0009: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum) + IL_000e: ret + } // end of method CompoundAssignmentTest::PostIncrementStaticPropertyShort .method public hidebysig instance void - Int32_Local_Mul(int32 i) cil managed + IncrementStaticPropertyShort() cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticShortProperty() + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: conv.i2 + IL_0008: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum) + IL_000d: ret + } // end of method CompoundAssignmentTest::IncrementStaticPropertyShort + + .method public hidebysig static void ByteAddTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: ldc.i4.5 + IL_0006: add + IL_0007: conv.u1 + IL_0008: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000d: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0012: ldc.i4.5 + IL_0013: add + IL_0014: conv.u1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0021: ldc.i4.5 + IL_0022: add + IL_0023: conv.u1 + IL_0024: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0030: ldc.i4.5 + IL_0031: add + IL_0032: conv.u1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0040: ldc.i4.5 + IL_0041: add + IL_0042: conv.u1 + IL_0043: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0050: ldc.i4.5 + IL_0051: add + IL_0052: conv.u1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0063: ldc.i4.5 + IL_0064: add + IL_0065: conv.u1 + IL_0066: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0076: ldc.i4.5 + IL_0077: add + IL_0078: conv.u1 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0089: ldc.i4.5 + IL_008a: add + IL_008b: conv.u1 + IL_008c: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_009c: ldc.i4.5 + IL_009d: add + IL_009e: conv.u1 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00af: ldc.i4.5 + IL_00b0: add + IL_00b1: conv.u1 + IL_00b2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c2: ldc.i4.5 + IL_00c3: add + IL_00c4: conv.u1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d5: ldc.i4.5 + IL_00d6: add + IL_00d7: conv.u1 + IL_00d8: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e8: ldc.i4.5 + IL_00e9: add + IL_00ea: conv.u1 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f0: ret + } // end of method CompoundAssignmentTest::ByteAddTest + + .method public hidebysig static void ByteSubtractTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: ldc.i4.5 + IL_0006: sub + IL_0007: conv.u1 + IL_0008: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000d: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0012: ldc.i4.5 + IL_0013: sub + IL_0014: conv.u1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0021: ldc.i4.5 + IL_0022: sub + IL_0023: conv.u1 + IL_0024: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0030: ldc.i4.5 + IL_0031: sub + IL_0032: conv.u1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0040: ldc.i4.5 + IL_0041: sub + IL_0042: conv.u1 + IL_0043: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0050: ldc.i4.5 + IL_0051: sub + IL_0052: conv.u1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0063: ldc.i4.5 + IL_0064: sub + IL_0065: conv.u1 + IL_0066: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0076: ldc.i4.5 + IL_0077: sub + IL_0078: conv.u1 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0089: ldc.i4.5 + IL_008a: sub + IL_008b: conv.u1 + IL_008c: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_009c: ldc.i4.5 + IL_009d: sub + IL_009e: conv.u1 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00af: ldc.i4.5 + IL_00b0: sub + IL_00b1: conv.u1 + IL_00b2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c2: ldc.i4.5 + IL_00c3: sub + IL_00c4: conv.u1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d5: ldc.i4.5 + IL_00d6: sub + IL_00d7: conv.u1 + IL_00d8: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e8: ldc.i4.5 + IL_00e9: sub + IL_00ea: conv.u1 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f0: ret + } // end of method CompoundAssignmentTest::ByteSubtractTest + + .method public hidebysig static void ByteMultiplyTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: ldc.i4.5 + IL_0006: mul + IL_0007: conv.u1 + IL_0008: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000d: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0012: ldc.i4.5 + IL_0013: mul + IL_0014: conv.u1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0021: ldc.i4.5 + IL_0022: mul + IL_0023: conv.u1 + IL_0024: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0030: ldc.i4.5 + IL_0031: mul + IL_0032: conv.u1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0040: ldc.i4.5 + IL_0041: mul + IL_0042: conv.u1 + IL_0043: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0050: ldc.i4.5 + IL_0051: mul + IL_0052: conv.u1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0063: ldc.i4.5 + IL_0064: mul + IL_0065: conv.u1 + IL_0066: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0076: ldc.i4.5 + IL_0077: mul + IL_0078: conv.u1 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0089: ldc.i4.5 + IL_008a: mul + IL_008b: conv.u1 + IL_008c: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_009c: ldc.i4.5 + IL_009d: mul + IL_009e: conv.u1 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00af: ldc.i4.5 + IL_00b0: mul + IL_00b1: conv.u1 + IL_00b2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c2: ldc.i4.5 + IL_00c3: mul + IL_00c4: conv.u1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d5: ldc.i4.5 + IL_00d6: mul + IL_00d7: conv.u1 + IL_00d8: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e8: ldc.i4.5 + IL_00e9: mul + IL_00ea: conv.u1 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f0: ret + } // end of method CompoundAssignmentTest::ByteMultiplyTest + + .method public hidebysig static void ByteDivideTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: ldc.i4.5 + IL_0006: div + IL_0007: conv.u1 + IL_0008: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000d: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0012: ldc.i4.5 + IL_0013: div + IL_0014: conv.u1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0021: ldc.i4.5 + IL_0022: div + IL_0023: conv.u1 + IL_0024: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0030: ldc.i4.5 + IL_0031: div + IL_0032: conv.u1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0040: ldc.i4.5 + IL_0041: div + IL_0042: conv.u1 + IL_0043: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0050: ldc.i4.5 + IL_0051: div + IL_0052: conv.u1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0063: ldc.i4.5 + IL_0064: div + IL_0065: conv.u1 + IL_0066: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0076: ldc.i4.5 + IL_0077: div + IL_0078: conv.u1 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0089: ldc.i4.5 + IL_008a: div + IL_008b: conv.u1 + IL_008c: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_009c: ldc.i4.5 + IL_009d: div + IL_009e: conv.u1 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00af: ldc.i4.5 + IL_00b0: div + IL_00b1: conv.u1 + IL_00b2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c2: ldc.i4.5 + IL_00c3: div + IL_00c4: conv.u1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d5: ldc.i4.5 + IL_00d6: div + IL_00d7: conv.u1 + IL_00d8: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e8: ldc.i4.5 + IL_00e9: div + IL_00ea: conv.u1 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f0: ret + } // end of method CompoundAssignmentTest::ByteDivideTest + + .method public hidebysig static void ByteModulusTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: ldc.i4.5 + IL_0006: rem + IL_0007: conv.u1 + IL_0008: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000d: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0012: ldc.i4.5 + IL_0013: rem + IL_0014: conv.u1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0021: ldc.i4.5 + IL_0022: rem + IL_0023: conv.u1 + IL_0024: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0030: ldc.i4.5 + IL_0031: rem + IL_0032: conv.u1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0040: ldc.i4.5 + IL_0041: rem + IL_0042: conv.u1 + IL_0043: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0050: ldc.i4.5 + IL_0051: rem + IL_0052: conv.u1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0063: ldc.i4.5 + IL_0064: rem + IL_0065: conv.u1 + IL_0066: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0076: ldc.i4.5 + IL_0077: rem + IL_0078: conv.u1 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0089: ldc.i4.5 + IL_008a: rem + IL_008b: conv.u1 + IL_008c: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_009c: ldc.i4.5 + IL_009d: rem + IL_009e: conv.u1 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00af: ldc.i4.5 + IL_00b0: rem + IL_00b1: conv.u1 + IL_00b2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c2: ldc.i4.5 + IL_00c3: rem + IL_00c4: conv.u1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d5: ldc.i4.5 + IL_00d6: rem + IL_00d7: conv.u1 + IL_00d8: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e8: ldc.i4.5 + IL_00e9: rem + IL_00ea: conv.u1 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f0: ret + } // end of method CompoundAssignmentTest::ByteModulusTest + + .method public hidebysig static void ByteLeftShiftTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: ldc.i4.5 + IL_0006: shl + IL_0007: conv.u1 + IL_0008: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000d: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0012: ldc.i4.5 + IL_0013: shl + IL_0014: conv.u1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0021: ldc.i4.5 + IL_0022: shl + IL_0023: conv.u1 + IL_0024: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0030: ldc.i4.5 + IL_0031: shl + IL_0032: conv.u1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0040: ldc.i4.5 + IL_0041: shl + IL_0042: conv.u1 + IL_0043: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0050: ldc.i4.5 + IL_0051: shl + IL_0052: conv.u1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0063: ldc.i4.5 + IL_0064: shl + IL_0065: conv.u1 + IL_0066: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0076: ldc.i4.5 + IL_0077: shl + IL_0078: conv.u1 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0089: ldc.i4.5 + IL_008a: shl + IL_008b: conv.u1 + IL_008c: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_009c: ldc.i4.5 + IL_009d: shl + IL_009e: conv.u1 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00af: ldc.i4.5 + IL_00b0: shl + IL_00b1: conv.u1 + IL_00b2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c2: ldc.i4.5 + IL_00c3: shl + IL_00c4: conv.u1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d5: ldc.i4.5 + IL_00d6: shl + IL_00d7: conv.u1 + IL_00d8: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e8: ldc.i4.5 + IL_00e9: shl + IL_00ea: conv.u1 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f0: ret + } // end of method CompoundAssignmentTest::ByteLeftShiftTest + + .method public hidebysig static void ByteRightShiftTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: ldc.i4.5 + IL_0006: shr + IL_0007: conv.u1 + IL_0008: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000d: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0012: ldc.i4.5 + IL_0013: shr + IL_0014: conv.u1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0021: ldc.i4.5 + IL_0022: shr + IL_0023: conv.u1 + IL_0024: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0030: ldc.i4.5 + IL_0031: shr + IL_0032: conv.u1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0040: ldc.i4.5 + IL_0041: shr + IL_0042: conv.u1 + IL_0043: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0050: ldc.i4.5 + IL_0051: shr + IL_0052: conv.u1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0063: ldc.i4.5 + IL_0064: shr + IL_0065: conv.u1 + IL_0066: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0076: ldc.i4.5 + IL_0077: shr + IL_0078: conv.u1 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0089: ldc.i4.5 + IL_008a: shr + IL_008b: conv.u1 + IL_008c: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_009c: ldc.i4.5 + IL_009d: shr + IL_009e: conv.u1 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00af: ldc.i4.5 + IL_00b0: shr + IL_00b1: conv.u1 + IL_00b2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c2: ldc.i4.5 + IL_00c3: shr + IL_00c4: conv.u1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d5: ldc.i4.5 + IL_00d6: shr + IL_00d7: conv.u1 + IL_00d8: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e8: ldc.i4.5 + IL_00e9: shr + IL_00ea: conv.u1 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f0: ret + } // end of method CompoundAssignmentTest::ByteRightShiftTest + + .method public hidebysig static void ByteBitAndTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: ldc.i4.5 + IL_0006: and + IL_0007: conv.u1 + IL_0008: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000d: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0012: ldc.i4.5 + IL_0013: and + IL_0014: conv.u1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0021: ldc.i4.5 + IL_0022: and + IL_0023: conv.u1 + IL_0024: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0030: ldc.i4.5 + IL_0031: and + IL_0032: conv.u1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0040: ldc.i4.5 + IL_0041: and + IL_0042: conv.u1 + IL_0043: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0050: ldc.i4.5 + IL_0051: and + IL_0052: conv.u1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0063: ldc.i4.5 + IL_0064: and + IL_0065: conv.u1 + IL_0066: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0076: ldc.i4.5 + IL_0077: and + IL_0078: conv.u1 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0089: ldc.i4.5 + IL_008a: and + IL_008b: conv.u1 + IL_008c: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_009c: ldc.i4.5 + IL_009d: and + IL_009e: conv.u1 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00af: ldc.i4.5 + IL_00b0: and + IL_00b1: conv.u1 + IL_00b2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c2: ldc.i4.5 + IL_00c3: and + IL_00c4: conv.u1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d5: ldc.i4.5 + IL_00d6: and + IL_00d7: conv.u1 + IL_00d8: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e8: ldc.i4.5 + IL_00e9: and + IL_00ea: conv.u1 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f0: ret + } // end of method CompoundAssignmentTest::ByteBitAndTest + + .method public hidebysig static void ByteBitOrTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: ldc.i4.5 + IL_0006: or + IL_0007: conv.u1 + IL_0008: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000d: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0012: ldc.i4.5 + IL_0013: or + IL_0014: conv.u1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0021: ldc.i4.5 + IL_0022: or + IL_0023: conv.u1 + IL_0024: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0030: ldc.i4.5 + IL_0031: or + IL_0032: conv.u1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0040: ldc.i4.5 + IL_0041: or + IL_0042: conv.u1 + IL_0043: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0050: ldc.i4.5 + IL_0051: or + IL_0052: conv.u1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0063: ldc.i4.5 + IL_0064: or + IL_0065: conv.u1 + IL_0066: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0076: ldc.i4.5 + IL_0077: or + IL_0078: conv.u1 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0089: ldc.i4.5 + IL_008a: or + IL_008b: conv.u1 + IL_008c: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_009c: ldc.i4.5 + IL_009d: or + IL_009e: conv.u1 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00af: ldc.i4.5 + IL_00b0: or + IL_00b1: conv.u1 + IL_00b2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c2: ldc.i4.5 + IL_00c3: or + IL_00c4: conv.u1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d5: ldc.i4.5 + IL_00d6: or + IL_00d7: conv.u1 + IL_00d8: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e8: ldc.i4.5 + IL_00e9: or + IL_00ea: conv.u1 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f0: ret + } // end of method CompoundAssignmentTest::ByteBitOrTest + + .method public hidebysig static void ByteBitXorTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: ldc.i4.5 + IL_0006: xor + IL_0007: conv.u1 + IL_0008: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000d: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0012: ldc.i4.5 + IL_0013: xor + IL_0014: conv.u1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0021: ldc.i4.5 + IL_0022: xor + IL_0023: conv.u1 + IL_0024: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0030: ldc.i4.5 + IL_0031: xor + IL_0032: conv.u1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0040: ldc.i4.5 + IL_0041: xor + IL_0042: conv.u1 + IL_0043: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0050: ldc.i4.5 + IL_0051: xor + IL_0052: conv.u1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0063: ldc.i4.5 + IL_0064: xor + IL_0065: conv.u1 + IL_0066: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0076: ldc.i4.5 + IL_0077: xor + IL_0078: conv.u1 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0089: ldc.i4.5 + IL_008a: xor + IL_008b: conv.u1 + IL_008c: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_009c: ldc.i4.5 + IL_009d: xor + IL_009e: conv.u1 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00af: ldc.i4.5 + IL_00b0: xor + IL_00b1: conv.u1 + IL_00b2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c2: ldc.i4.5 + IL_00c3: xor + IL_00c4: conv.u1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d5: ldc.i4.5 + IL_00d6: xor + IL_00d7: conv.u1 + IL_00d8: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e8: ldc.i4.5 + IL_00e9: xor + IL_00ea: conv.u1 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f0: ret + } // end of method CompoundAssignmentTest::ByteBitXorTest + + .method public hidebysig static void BytePostIncTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 365 (0x16d) + .maxstack 3 + .locals init (uint8 V_0, + uint8 V_1, + uint8 V_2, + uint8 V_3, + uint8 V_4, + uint8 V_5, + uint8 V_6, + uint8 V_7, + uint8 V_8, + uint8 V_9, + uint8 V_10, + uint8 V_11) + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.u1 + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0018: dup + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: conv.u1 + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002d: dup + IL_002e: stloc.0 + IL_002f: ldc.i4.1 + IL_0030: add + IL_0031: conv.u1 + IL_0032: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0044: dup + IL_0045: stloc.1 + IL_0046: ldc.i4.1 + IL_0047: add + IL_0048: conv.u1 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_004e: ldloc.1 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_005c: dup + IL_005d: stloc.2 + IL_005e: ldc.i4.1 + IL_005f: add + IL_0060: conv.u1 + IL_0061: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0066: ldloc.2 + IL_0067: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0074: dup + IL_0075: stloc.3 + IL_0076: ldc.i4.1 + IL_0077: add + IL_0078: conv.u1 + IL_0079: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_007e: ldloc.3 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_008f: dup + IL_0090: stloc.s V_4 + IL_0092: ldc.i4.1 + IL_0093: add + IL_0094: conv.u1 + IL_0095: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_009a: ldloc.s V_4 + IL_009c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a6: dup + IL_00a7: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00ac: dup + IL_00ad: stloc.s V_5 + IL_00af: ldc.i4.1 + IL_00b0: add + IL_00b1: conv.u1 + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00b7: ldloc.s V_5 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c3: dup + IL_00c4: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00c9: dup + IL_00ca: stloc.s V_6 + IL_00cc: ldc.i4.1 + IL_00cd: add + IL_00ce: conv.u1 + IL_00cf: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00d4: ldloc.s V_6 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00e6: dup + IL_00e7: stloc.s V_7 + IL_00e9: ldc.i4.1 + IL_00ea: add + IL_00eb: conv.u1 + IL_00ec: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00f1: ldloc.s V_7 + IL_00f3: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fd: dup + IL_00fe: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0103: dup + IL_0104: stloc.s V_8 + IL_0106: ldc.i4.1 + IL_0107: add + IL_0108: conv.u1 + IL_0109: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_010e: ldloc.s V_8 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011a: dup + IL_011b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0120: dup + IL_0121: stloc.s V_9 + IL_0123: ldc.i4.1 + IL_0124: add + IL_0125: conv.u1 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_012b: ldloc.s V_9 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0137: dup + IL_0138: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_013d: dup + IL_013e: stloc.s V_10 + IL_0140: ldc.i4.1 + IL_0141: add + IL_0142: conv.u1 + IL_0143: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0148: ldloc.s V_10 + IL_014a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_015a: dup + IL_015b: stloc.s V_11 + IL_015d: ldc.i4.1 + IL_015e: add + IL_015f: conv.u1 + IL_0160: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0165: ldloc.s V_11 + IL_0167: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016c: ret + } // end of method CompoundAssignmentTest::BytePostIncTest + + .method public hidebysig static void BytePreIncTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 365 (0x16d) + .maxstack 3 + .locals init (uint8 V_0, + uint8 V_1, + uint8 V_2, + uint8 V_3, + uint8 V_4, + uint8 V_5, + uint8 V_6, + uint8 V_7, + uint8 V_8, + uint8 V_9, + uint8 V_10, + uint8 V_11) + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: conv.u1 + IL_0008: dup + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0018: ldc.i4.1 + IL_0019: add + IL_001a: conv.u1 + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002d: ldc.i4.1 + IL_002e: add + IL_002f: conv.u1 + IL_0030: dup + IL_0031: stloc.0 + IL_0032: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0044: ldc.i4.1 + IL_0045: add + IL_0046: conv.u1 + IL_0047: dup + IL_0048: stloc.1 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_004e: ldloc.1 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_005c: ldc.i4.1 + IL_005d: add + IL_005e: conv.u1 + IL_005f: dup + IL_0060: stloc.2 + IL_0061: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0066: ldloc.2 + IL_0067: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0074: ldc.i4.1 + IL_0075: add + IL_0076: conv.u1 + IL_0077: dup + IL_0078: stloc.3 + IL_0079: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_007e: ldloc.3 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_008f: ldc.i4.1 + IL_0090: add + IL_0091: conv.u1 + IL_0092: dup + IL_0093: stloc.s V_4 + IL_0095: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_009a: ldloc.s V_4 + IL_009c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a6: dup + IL_00a7: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00ac: ldc.i4.1 + IL_00ad: add + IL_00ae: conv.u1 + IL_00af: dup + IL_00b0: stloc.s V_5 + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00b7: ldloc.s V_5 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c3: dup + IL_00c4: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00c9: ldc.i4.1 + IL_00ca: add + IL_00cb: conv.u1 + IL_00cc: dup + IL_00cd: stloc.s V_6 + IL_00cf: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00d4: ldloc.s V_6 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00e6: ldc.i4.1 + IL_00e7: add + IL_00e8: conv.u1 + IL_00e9: dup + IL_00ea: stloc.s V_7 + IL_00ec: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00f1: ldloc.s V_7 + IL_00f3: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fd: dup + IL_00fe: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0103: ldc.i4.1 + IL_0104: add + IL_0105: conv.u1 + IL_0106: dup + IL_0107: stloc.s V_8 + IL_0109: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_010e: ldloc.s V_8 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011a: dup + IL_011b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0120: ldc.i4.1 + IL_0121: add + IL_0122: conv.u1 + IL_0123: dup + IL_0124: stloc.s V_9 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_012b: ldloc.s V_9 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0137: dup + IL_0138: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_013d: ldc.i4.1 + IL_013e: add + IL_013f: conv.u1 + IL_0140: dup + IL_0141: stloc.s V_10 + IL_0143: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0148: ldloc.s V_10 + IL_014a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_015a: ldc.i4.1 + IL_015b: add + IL_015c: conv.u1 + IL_015d: dup + IL_015e: stloc.s V_11 + IL_0160: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0165: ldloc.s V_11 + IL_0167: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016c: ret + } // end of method CompoundAssignmentTest::BytePreIncTest + + .method public hidebysig static void BytePostDecTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 365 (0x16d) + .maxstack 3 + .locals init (uint8 V_0, + uint8 V_1, + uint8 V_2, + uint8 V_3, + uint8 V_4, + uint8 V_5, + uint8 V_6, + uint8 V_7, + uint8 V_8, + uint8 V_9, + uint8 V_10, + uint8 V_11) + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: sub + IL_0008: conv.u1 + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0018: dup + IL_0019: ldc.i4.1 + IL_001a: sub + IL_001b: conv.u1 + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002d: dup + IL_002e: stloc.0 + IL_002f: ldc.i4.1 + IL_0030: sub + IL_0031: conv.u1 + IL_0032: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0044: dup + IL_0045: stloc.1 + IL_0046: ldc.i4.1 + IL_0047: sub + IL_0048: conv.u1 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_004e: ldloc.1 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_005c: dup + IL_005d: stloc.2 + IL_005e: ldc.i4.1 + IL_005f: sub + IL_0060: conv.u1 + IL_0061: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0066: ldloc.2 + IL_0067: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0074: dup + IL_0075: stloc.3 + IL_0076: ldc.i4.1 + IL_0077: sub + IL_0078: conv.u1 + IL_0079: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_007e: ldloc.3 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_008f: dup + IL_0090: stloc.s V_4 + IL_0092: ldc.i4.1 + IL_0093: sub + IL_0094: conv.u1 + IL_0095: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_009a: ldloc.s V_4 + IL_009c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a6: dup + IL_00a7: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00ac: dup + IL_00ad: stloc.s V_5 + IL_00af: ldc.i4.1 + IL_00b0: sub + IL_00b1: conv.u1 + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00b7: ldloc.s V_5 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c3: dup + IL_00c4: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00c9: dup + IL_00ca: stloc.s V_6 + IL_00cc: ldc.i4.1 + IL_00cd: sub + IL_00ce: conv.u1 + IL_00cf: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00d4: ldloc.s V_6 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00e6: dup + IL_00e7: stloc.s V_7 + IL_00e9: ldc.i4.1 + IL_00ea: sub + IL_00eb: conv.u1 + IL_00ec: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00f1: ldloc.s V_7 + IL_00f3: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fd: dup + IL_00fe: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0103: dup + IL_0104: stloc.s V_8 + IL_0106: ldc.i4.1 + IL_0107: sub + IL_0108: conv.u1 + IL_0109: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_010e: ldloc.s V_8 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011a: dup + IL_011b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0120: dup + IL_0121: stloc.s V_9 + IL_0123: ldc.i4.1 + IL_0124: sub + IL_0125: conv.u1 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_012b: ldloc.s V_9 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0137: dup + IL_0138: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_013d: dup + IL_013e: stloc.s V_10 + IL_0140: ldc.i4.1 + IL_0141: sub + IL_0142: conv.u1 + IL_0143: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0148: ldloc.s V_10 + IL_014a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_015a: dup + IL_015b: stloc.s V_11 + IL_015d: ldc.i4.1 + IL_015e: sub + IL_015f: conv.u1 + IL_0160: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0165: ldloc.s V_11 + IL_0167: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016c: ret + } // end of method CompoundAssignmentTest::BytePostDecTest + + .method public hidebysig static void BytePreDecTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 365 (0x16d) + .maxstack 3 + .locals init (uint8 V_0, + uint8 V_1, + uint8 V_2, + uint8 V_3, + uint8 V_4, + uint8 V_5, + uint8 V_6, + uint8 V_7, + uint8 V_8, + uint8 V_9, + uint8 V_10, + uint8 V_11) + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: ldc.i4.1 + IL_0006: sub + IL_0007: conv.u1 + IL_0008: dup + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0018: ldc.i4.1 + IL_0019: sub + IL_001a: conv.u1 + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002d: ldc.i4.1 + IL_002e: sub + IL_002f: conv.u1 + IL_0030: dup + IL_0031: stloc.0 + IL_0032: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0044: ldc.i4.1 + IL_0045: sub + IL_0046: conv.u1 + IL_0047: dup + IL_0048: stloc.1 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_004e: ldloc.1 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_005c: ldc.i4.1 + IL_005d: sub + IL_005e: conv.u1 + IL_005f: dup + IL_0060: stloc.2 + IL_0061: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0066: ldloc.2 + IL_0067: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0074: ldc.i4.1 + IL_0075: sub + IL_0076: conv.u1 + IL_0077: dup + IL_0078: stloc.3 + IL_0079: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_007e: ldloc.3 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_008f: ldc.i4.1 + IL_0090: sub + IL_0091: conv.u1 + IL_0092: dup + IL_0093: stloc.s V_4 + IL_0095: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_009a: ldloc.s V_4 + IL_009c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a6: dup + IL_00a7: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00ac: ldc.i4.1 + IL_00ad: sub + IL_00ae: conv.u1 + IL_00af: dup + IL_00b0: stloc.s V_5 + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00b7: ldloc.s V_5 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c3: dup + IL_00c4: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00c9: ldc.i4.1 + IL_00ca: sub + IL_00cb: conv.u1 + IL_00cc: dup + IL_00cd: stloc.s V_6 + IL_00cf: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00d4: ldloc.s V_6 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00e6: ldc.i4.1 + IL_00e7: sub + IL_00e8: conv.u1 + IL_00e9: dup + IL_00ea: stloc.s V_7 + IL_00ec: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00f1: ldloc.s V_7 + IL_00f3: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fd: dup + IL_00fe: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0103: ldc.i4.1 + IL_0104: sub + IL_0105: conv.u1 + IL_0106: dup + IL_0107: stloc.s V_8 + IL_0109: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_010e: ldloc.s V_8 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011a: dup + IL_011b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0120: ldc.i4.1 + IL_0121: sub + IL_0122: conv.u1 + IL_0123: dup + IL_0124: stloc.s V_9 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_012b: ldloc.s V_9 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0137: dup + IL_0138: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_013d: ldc.i4.1 + IL_013e: sub + IL_013f: conv.u1 + IL_0140: dup + IL_0141: stloc.s V_10 + IL_0143: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0148: ldloc.s V_10 + IL_014a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_015a: ldc.i4.1 + IL_015b: sub + IL_015c: conv.u1 + IL_015d: dup + IL_015e: stloc.s V_11 + IL_0160: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0165: ldloc.s V_11 + IL_0167: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016c: ret + } // end of method CompoundAssignmentTest::BytePreDecTest + + .method public hidebysig static void SbyteAddTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: ldc.i4.5 + IL_0006: add + IL_0007: conv.i1 + IL_0008: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000d: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0012: ldc.i4.5 + IL_0013: add + IL_0014: conv.i1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0021: ldc.i4.5 + IL_0022: add + IL_0023: conv.i1 + IL_0024: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0030: ldc.i4.5 + IL_0031: add + IL_0032: conv.i1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0040: ldc.i4.5 + IL_0041: add + IL_0042: conv.i1 + IL_0043: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0050: ldc.i4.5 + IL_0051: add + IL_0052: conv.i1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0063: ldc.i4.5 + IL_0064: add + IL_0065: conv.i1 + IL_0066: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0076: ldc.i4.5 + IL_0077: add + IL_0078: conv.i1 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0089: ldc.i4.5 + IL_008a: add + IL_008b: conv.i1 + IL_008c: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_009c: ldc.i4.5 + IL_009d: add + IL_009e: conv.i1 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00af: ldc.i4.5 + IL_00b0: add + IL_00b1: conv.i1 + IL_00b2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c2: ldc.i4.5 + IL_00c3: add + IL_00c4: conv.i1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d5: ldc.i4.5 + IL_00d6: add + IL_00d7: conv.i1 + IL_00d8: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e8: ldc.i4.5 + IL_00e9: add + IL_00ea: conv.i1 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f0: ret + } // end of method CompoundAssignmentTest::SbyteAddTest + + .method public hidebysig static void SbyteSubtractTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: ldc.i4.5 + IL_0006: sub + IL_0007: conv.i1 + IL_0008: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000d: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0012: ldc.i4.5 + IL_0013: sub + IL_0014: conv.i1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0021: ldc.i4.5 + IL_0022: sub + IL_0023: conv.i1 + IL_0024: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0030: ldc.i4.5 + IL_0031: sub + IL_0032: conv.i1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0040: ldc.i4.5 + IL_0041: sub + IL_0042: conv.i1 + IL_0043: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0050: ldc.i4.5 + IL_0051: sub + IL_0052: conv.i1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0063: ldc.i4.5 + IL_0064: sub + IL_0065: conv.i1 + IL_0066: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0076: ldc.i4.5 + IL_0077: sub + IL_0078: conv.i1 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0089: ldc.i4.5 + IL_008a: sub + IL_008b: conv.i1 + IL_008c: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_009c: ldc.i4.5 + IL_009d: sub + IL_009e: conv.i1 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00af: ldc.i4.5 + IL_00b0: sub + IL_00b1: conv.i1 + IL_00b2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c2: ldc.i4.5 + IL_00c3: sub + IL_00c4: conv.i1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d5: ldc.i4.5 + IL_00d6: sub + IL_00d7: conv.i1 + IL_00d8: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e8: ldc.i4.5 + IL_00e9: sub + IL_00ea: conv.i1 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f0: ret + } // end of method CompoundAssignmentTest::SbyteSubtractTest + + .method public hidebysig static void SbyteMultiplyTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: ldc.i4.5 + IL_0006: mul + IL_0007: conv.i1 + IL_0008: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000d: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0012: ldc.i4.5 + IL_0013: mul + IL_0014: conv.i1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0021: ldc.i4.5 + IL_0022: mul + IL_0023: conv.i1 + IL_0024: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0030: ldc.i4.5 + IL_0031: mul + IL_0032: conv.i1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0040: ldc.i4.5 + IL_0041: mul + IL_0042: conv.i1 + IL_0043: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0050: ldc.i4.5 + IL_0051: mul + IL_0052: conv.i1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0063: ldc.i4.5 + IL_0064: mul + IL_0065: conv.i1 + IL_0066: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0076: ldc.i4.5 + IL_0077: mul + IL_0078: conv.i1 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0089: ldc.i4.5 + IL_008a: mul + IL_008b: conv.i1 + IL_008c: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_009c: ldc.i4.5 + IL_009d: mul + IL_009e: conv.i1 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00af: ldc.i4.5 + IL_00b0: mul + IL_00b1: conv.i1 + IL_00b2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c2: ldc.i4.5 + IL_00c3: mul + IL_00c4: conv.i1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d5: ldc.i4.5 + IL_00d6: mul + IL_00d7: conv.i1 + IL_00d8: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e8: ldc.i4.5 + IL_00e9: mul + IL_00ea: conv.i1 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f0: ret + } // end of method CompoundAssignmentTest::SbyteMultiplyTest + + .method public hidebysig static void SbyteDivideTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: ldc.i4.5 + IL_0006: div + IL_0007: conv.i1 + IL_0008: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000d: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0012: ldc.i4.5 + IL_0013: div + IL_0014: conv.i1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0021: ldc.i4.5 + IL_0022: div + IL_0023: conv.i1 + IL_0024: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0030: ldc.i4.5 + IL_0031: div + IL_0032: conv.i1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0040: ldc.i4.5 + IL_0041: div + IL_0042: conv.i1 + IL_0043: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0050: ldc.i4.5 + IL_0051: div + IL_0052: conv.i1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0063: ldc.i4.5 + IL_0064: div + IL_0065: conv.i1 + IL_0066: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0076: ldc.i4.5 + IL_0077: div + IL_0078: conv.i1 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0089: ldc.i4.5 + IL_008a: div + IL_008b: conv.i1 + IL_008c: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_009c: ldc.i4.5 + IL_009d: div + IL_009e: conv.i1 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00af: ldc.i4.5 + IL_00b0: div + IL_00b1: conv.i1 + IL_00b2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c2: ldc.i4.5 + IL_00c3: div + IL_00c4: conv.i1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d5: ldc.i4.5 + IL_00d6: div + IL_00d7: conv.i1 + IL_00d8: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e8: ldc.i4.5 + IL_00e9: div + IL_00ea: conv.i1 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f0: ret + } // end of method CompoundAssignmentTest::SbyteDivideTest + + .method public hidebysig static void SbyteModulusTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: ldc.i4.5 + IL_0006: rem + IL_0007: conv.i1 + IL_0008: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000d: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0012: ldc.i4.5 + IL_0013: rem + IL_0014: conv.i1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0021: ldc.i4.5 + IL_0022: rem + IL_0023: conv.i1 + IL_0024: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0030: ldc.i4.5 + IL_0031: rem + IL_0032: conv.i1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0040: ldc.i4.5 + IL_0041: rem + IL_0042: conv.i1 + IL_0043: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0050: ldc.i4.5 + IL_0051: rem + IL_0052: conv.i1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0063: ldc.i4.5 + IL_0064: rem + IL_0065: conv.i1 + IL_0066: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0076: ldc.i4.5 + IL_0077: rem + IL_0078: conv.i1 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0089: ldc.i4.5 + IL_008a: rem + IL_008b: conv.i1 + IL_008c: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_009c: ldc.i4.5 + IL_009d: rem + IL_009e: conv.i1 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00af: ldc.i4.5 + IL_00b0: rem + IL_00b1: conv.i1 + IL_00b2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c2: ldc.i4.5 + IL_00c3: rem + IL_00c4: conv.i1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d5: ldc.i4.5 + IL_00d6: rem + IL_00d7: conv.i1 + IL_00d8: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e8: ldc.i4.5 + IL_00e9: rem + IL_00ea: conv.i1 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f0: ret + } // end of method CompoundAssignmentTest::SbyteModulusTest + + .method public hidebysig static void SbyteLeftShiftTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: ldc.i4.5 + IL_0006: shl + IL_0007: conv.i1 + IL_0008: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000d: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0012: ldc.i4.5 + IL_0013: shl + IL_0014: conv.i1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0021: ldc.i4.5 + IL_0022: shl + IL_0023: conv.i1 + IL_0024: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0030: ldc.i4.5 + IL_0031: shl + IL_0032: conv.i1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0040: ldc.i4.5 + IL_0041: shl + IL_0042: conv.i1 + IL_0043: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0050: ldc.i4.5 + IL_0051: shl + IL_0052: conv.i1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0063: ldc.i4.5 + IL_0064: shl + IL_0065: conv.i1 + IL_0066: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0076: ldc.i4.5 + IL_0077: shl + IL_0078: conv.i1 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0089: ldc.i4.5 + IL_008a: shl + IL_008b: conv.i1 + IL_008c: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_009c: ldc.i4.5 + IL_009d: shl + IL_009e: conv.i1 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00af: ldc.i4.5 + IL_00b0: shl + IL_00b1: conv.i1 + IL_00b2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c2: ldc.i4.5 + IL_00c3: shl + IL_00c4: conv.i1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d5: ldc.i4.5 + IL_00d6: shl + IL_00d7: conv.i1 + IL_00d8: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e8: ldc.i4.5 + IL_00e9: shl + IL_00ea: conv.i1 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f0: ret + } // end of method CompoundAssignmentTest::SbyteLeftShiftTest + + .method public hidebysig static void SbyteRightShiftTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: ldc.i4.5 + IL_0006: shr + IL_0007: conv.i1 + IL_0008: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000d: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0012: ldc.i4.5 + IL_0013: shr + IL_0014: conv.i1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0021: ldc.i4.5 + IL_0022: shr + IL_0023: conv.i1 + IL_0024: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0030: ldc.i4.5 + IL_0031: shr + IL_0032: conv.i1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0040: ldc.i4.5 + IL_0041: shr + IL_0042: conv.i1 + IL_0043: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0050: ldc.i4.5 + IL_0051: shr + IL_0052: conv.i1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0063: ldc.i4.5 + IL_0064: shr + IL_0065: conv.i1 + IL_0066: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0076: ldc.i4.5 + IL_0077: shr + IL_0078: conv.i1 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0089: ldc.i4.5 + IL_008a: shr + IL_008b: conv.i1 + IL_008c: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_009c: ldc.i4.5 + IL_009d: shr + IL_009e: conv.i1 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00af: ldc.i4.5 + IL_00b0: shr + IL_00b1: conv.i1 + IL_00b2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c2: ldc.i4.5 + IL_00c3: shr + IL_00c4: conv.i1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d5: ldc.i4.5 + IL_00d6: shr + IL_00d7: conv.i1 + IL_00d8: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e8: ldc.i4.5 + IL_00e9: shr + IL_00ea: conv.i1 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f0: ret + } // end of method CompoundAssignmentTest::SbyteRightShiftTest + + .method public hidebysig static void SbyteBitAndTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: ldc.i4.5 + IL_0006: and + IL_0007: conv.i1 + IL_0008: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000d: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0012: ldc.i4.5 + IL_0013: and + IL_0014: conv.i1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0021: ldc.i4.5 + IL_0022: and + IL_0023: conv.i1 + IL_0024: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0030: ldc.i4.5 + IL_0031: and + IL_0032: conv.i1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0040: ldc.i4.5 + IL_0041: and + IL_0042: conv.i1 + IL_0043: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0050: ldc.i4.5 + IL_0051: and + IL_0052: conv.i1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0063: ldc.i4.5 + IL_0064: and + IL_0065: conv.i1 + IL_0066: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0076: ldc.i4.5 + IL_0077: and + IL_0078: conv.i1 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0089: ldc.i4.5 + IL_008a: and + IL_008b: conv.i1 + IL_008c: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_009c: ldc.i4.5 + IL_009d: and + IL_009e: conv.i1 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00af: ldc.i4.5 + IL_00b0: and + IL_00b1: conv.i1 + IL_00b2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c2: ldc.i4.5 + IL_00c3: and + IL_00c4: conv.i1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d5: ldc.i4.5 + IL_00d6: and + IL_00d7: conv.i1 + IL_00d8: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e8: ldc.i4.5 + IL_00e9: and + IL_00ea: conv.i1 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f0: ret + } // end of method CompoundAssignmentTest::SbyteBitAndTest + + .method public hidebysig static void SbyteBitOrTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: ldc.i4.5 + IL_0006: or + IL_0007: conv.i1 + IL_0008: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000d: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0012: ldc.i4.5 + IL_0013: or + IL_0014: conv.i1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0021: ldc.i4.5 + IL_0022: or + IL_0023: conv.i1 + IL_0024: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0030: ldc.i4.5 + IL_0031: or + IL_0032: conv.i1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0040: ldc.i4.5 + IL_0041: or + IL_0042: conv.i1 + IL_0043: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0050: ldc.i4.5 + IL_0051: or + IL_0052: conv.i1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0063: ldc.i4.5 + IL_0064: or + IL_0065: conv.i1 + IL_0066: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0076: ldc.i4.5 + IL_0077: or + IL_0078: conv.i1 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0089: ldc.i4.5 + IL_008a: or + IL_008b: conv.i1 + IL_008c: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_009c: ldc.i4.5 + IL_009d: or + IL_009e: conv.i1 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00af: ldc.i4.5 + IL_00b0: or + IL_00b1: conv.i1 + IL_00b2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c2: ldc.i4.5 + IL_00c3: or + IL_00c4: conv.i1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d5: ldc.i4.5 + IL_00d6: or + IL_00d7: conv.i1 + IL_00d8: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e8: ldc.i4.5 + IL_00e9: or + IL_00ea: conv.i1 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f0: ret + } // end of method CompoundAssignmentTest::SbyteBitOrTest + + .method public hidebysig static void SbyteBitXorTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: ldc.i4.5 + IL_0006: xor + IL_0007: conv.i1 + IL_0008: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000d: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0012: ldc.i4.5 + IL_0013: xor + IL_0014: conv.i1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0021: ldc.i4.5 + IL_0022: xor + IL_0023: conv.i1 + IL_0024: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0030: ldc.i4.5 + IL_0031: xor + IL_0032: conv.i1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0040: ldc.i4.5 + IL_0041: xor + IL_0042: conv.i1 + IL_0043: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0050: ldc.i4.5 + IL_0051: xor + IL_0052: conv.i1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0063: ldc.i4.5 + IL_0064: xor + IL_0065: conv.i1 + IL_0066: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0076: ldc.i4.5 + IL_0077: xor + IL_0078: conv.i1 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0089: ldc.i4.5 + IL_008a: xor + IL_008b: conv.i1 + IL_008c: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_009c: ldc.i4.5 + IL_009d: xor + IL_009e: conv.i1 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00af: ldc.i4.5 + IL_00b0: xor + IL_00b1: conv.i1 + IL_00b2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c2: ldc.i4.5 + IL_00c3: xor + IL_00c4: conv.i1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d5: ldc.i4.5 + IL_00d6: xor + IL_00d7: conv.i1 + IL_00d8: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e8: ldc.i4.5 + IL_00e9: xor + IL_00ea: conv.i1 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f0: ret + } // end of method CompoundAssignmentTest::SbyteBitXorTest + + .method public hidebysig static void SbytePostIncTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 365 (0x16d) + .maxstack 3 + .locals init (int8 V_0, + int8 V_1, + int8 V_2, + int8 V_3, + int8 V_4, + int8 V_5, + int8 V_6, + int8 V_7, + int8 V_8, + int8 V_9, + int8 V_10, + int8 V_11) + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.i1 + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0018: dup + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: conv.i1 + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002d: dup + IL_002e: stloc.0 + IL_002f: ldc.i4.1 + IL_0030: add + IL_0031: conv.i1 + IL_0032: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0044: dup + IL_0045: stloc.1 + IL_0046: ldc.i4.1 + IL_0047: add + IL_0048: conv.i1 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_004e: ldloc.1 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_005c: dup + IL_005d: stloc.2 + IL_005e: ldc.i4.1 + IL_005f: add + IL_0060: conv.i1 + IL_0061: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0066: ldloc.2 + IL_0067: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0074: dup + IL_0075: stloc.3 + IL_0076: ldc.i4.1 + IL_0077: add + IL_0078: conv.i1 + IL_0079: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_007e: ldloc.3 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_008f: dup + IL_0090: stloc.s V_4 + IL_0092: ldc.i4.1 + IL_0093: add + IL_0094: conv.i1 + IL_0095: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_009a: ldloc.s V_4 + IL_009c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a6: dup + IL_00a7: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00ac: dup + IL_00ad: stloc.s V_5 + IL_00af: ldc.i4.1 + IL_00b0: add + IL_00b1: conv.i1 + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00b7: ldloc.s V_5 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c3: dup + IL_00c4: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00c9: dup + IL_00ca: stloc.s V_6 + IL_00cc: ldc.i4.1 + IL_00cd: add + IL_00ce: conv.i1 + IL_00cf: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00d4: ldloc.s V_6 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00e6: dup + IL_00e7: stloc.s V_7 + IL_00e9: ldc.i4.1 + IL_00ea: add + IL_00eb: conv.i1 + IL_00ec: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00f1: ldloc.s V_7 + IL_00f3: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fd: dup + IL_00fe: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0103: dup + IL_0104: stloc.s V_8 + IL_0106: ldc.i4.1 + IL_0107: add + IL_0108: conv.i1 + IL_0109: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_010e: ldloc.s V_8 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011a: dup + IL_011b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0120: dup + IL_0121: stloc.s V_9 + IL_0123: ldc.i4.1 + IL_0124: add + IL_0125: conv.i1 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_012b: ldloc.s V_9 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0137: dup + IL_0138: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_013d: dup + IL_013e: stloc.s V_10 + IL_0140: ldc.i4.1 + IL_0141: add + IL_0142: conv.i1 + IL_0143: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0148: ldloc.s V_10 + IL_014a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_015a: dup + IL_015b: stloc.s V_11 + IL_015d: ldc.i4.1 + IL_015e: add + IL_015f: conv.i1 + IL_0160: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0165: ldloc.s V_11 + IL_0167: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016c: ret + } // end of method CompoundAssignmentTest::SbytePostIncTest + + .method public hidebysig static void SbytePreIncTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 365 (0x16d) + .maxstack 3 + .locals init (int8 V_0, + int8 V_1, + int8 V_2, + int8 V_3, + int8 V_4, + int8 V_5, + int8 V_6, + int8 V_7, + int8 V_8, + int8 V_9, + int8 V_10, + int8 V_11) + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: conv.i1 + IL_0008: dup + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0018: ldc.i4.1 + IL_0019: add + IL_001a: conv.i1 + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002d: ldc.i4.1 + IL_002e: add + IL_002f: conv.i1 + IL_0030: dup + IL_0031: stloc.0 + IL_0032: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0044: ldc.i4.1 + IL_0045: add + IL_0046: conv.i1 + IL_0047: dup + IL_0048: stloc.1 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_004e: ldloc.1 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_005c: ldc.i4.1 + IL_005d: add + IL_005e: conv.i1 + IL_005f: dup + IL_0060: stloc.2 + IL_0061: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0066: ldloc.2 + IL_0067: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0074: ldc.i4.1 + IL_0075: add + IL_0076: conv.i1 + IL_0077: dup + IL_0078: stloc.3 + IL_0079: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_007e: ldloc.3 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_008f: ldc.i4.1 + IL_0090: add + IL_0091: conv.i1 + IL_0092: dup + IL_0093: stloc.s V_4 + IL_0095: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_009a: ldloc.s V_4 + IL_009c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a6: dup + IL_00a7: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00ac: ldc.i4.1 + IL_00ad: add + IL_00ae: conv.i1 + IL_00af: dup + IL_00b0: stloc.s V_5 + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00b7: ldloc.s V_5 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c3: dup + IL_00c4: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00c9: ldc.i4.1 + IL_00ca: add + IL_00cb: conv.i1 + IL_00cc: dup + IL_00cd: stloc.s V_6 + IL_00cf: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00d4: ldloc.s V_6 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00e6: ldc.i4.1 + IL_00e7: add + IL_00e8: conv.i1 + IL_00e9: dup + IL_00ea: stloc.s V_7 + IL_00ec: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00f1: ldloc.s V_7 + IL_00f3: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fd: dup + IL_00fe: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0103: ldc.i4.1 + IL_0104: add + IL_0105: conv.i1 + IL_0106: dup + IL_0107: stloc.s V_8 + IL_0109: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_010e: ldloc.s V_8 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011a: dup + IL_011b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0120: ldc.i4.1 + IL_0121: add + IL_0122: conv.i1 + IL_0123: dup + IL_0124: stloc.s V_9 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_012b: ldloc.s V_9 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0137: dup + IL_0138: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_013d: ldc.i4.1 + IL_013e: add + IL_013f: conv.i1 + IL_0140: dup + IL_0141: stloc.s V_10 + IL_0143: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0148: ldloc.s V_10 + IL_014a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_015a: ldc.i4.1 + IL_015b: add + IL_015c: conv.i1 + IL_015d: dup + IL_015e: stloc.s V_11 + IL_0160: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0165: ldloc.s V_11 + IL_0167: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016c: ret + } // end of method CompoundAssignmentTest::SbytePreIncTest + + .method public hidebysig static void SbytePostDecTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 365 (0x16d) + .maxstack 3 + .locals init (int8 V_0, + int8 V_1, + int8 V_2, + int8 V_3, + int8 V_4, + int8 V_5, + int8 V_6, + int8 V_7, + int8 V_8, + int8 V_9, + int8 V_10, + int8 V_11) + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: sub + IL_0008: conv.i1 + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0018: dup + IL_0019: ldc.i4.1 + IL_001a: sub + IL_001b: conv.i1 + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002d: dup + IL_002e: stloc.0 + IL_002f: ldc.i4.1 + IL_0030: sub + IL_0031: conv.i1 + IL_0032: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0044: dup + IL_0045: stloc.1 + IL_0046: ldc.i4.1 + IL_0047: sub + IL_0048: conv.i1 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_004e: ldloc.1 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_005c: dup + IL_005d: stloc.2 + IL_005e: ldc.i4.1 + IL_005f: sub + IL_0060: conv.i1 + IL_0061: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0066: ldloc.2 + IL_0067: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0074: dup + IL_0075: stloc.3 + IL_0076: ldc.i4.1 + IL_0077: sub + IL_0078: conv.i1 + IL_0079: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_007e: ldloc.3 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_008f: dup + IL_0090: stloc.s V_4 + IL_0092: ldc.i4.1 + IL_0093: sub + IL_0094: conv.i1 + IL_0095: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_009a: ldloc.s V_4 + IL_009c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a6: dup + IL_00a7: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00ac: dup + IL_00ad: stloc.s V_5 + IL_00af: ldc.i4.1 + IL_00b0: sub + IL_00b1: conv.i1 + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00b7: ldloc.s V_5 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c3: dup + IL_00c4: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00c9: dup + IL_00ca: stloc.s V_6 + IL_00cc: ldc.i4.1 + IL_00cd: sub + IL_00ce: conv.i1 + IL_00cf: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00d4: ldloc.s V_6 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00e6: dup + IL_00e7: stloc.s V_7 + IL_00e9: ldc.i4.1 + IL_00ea: sub + IL_00eb: conv.i1 + IL_00ec: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00f1: ldloc.s V_7 + IL_00f3: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fd: dup + IL_00fe: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0103: dup + IL_0104: stloc.s V_8 + IL_0106: ldc.i4.1 + IL_0107: sub + IL_0108: conv.i1 + IL_0109: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_010e: ldloc.s V_8 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011a: dup + IL_011b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0120: dup + IL_0121: stloc.s V_9 + IL_0123: ldc.i4.1 + IL_0124: sub + IL_0125: conv.i1 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_012b: ldloc.s V_9 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0137: dup + IL_0138: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_013d: dup + IL_013e: stloc.s V_10 + IL_0140: ldc.i4.1 + IL_0141: sub + IL_0142: conv.i1 + IL_0143: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0148: ldloc.s V_10 + IL_014a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_015a: dup + IL_015b: stloc.s V_11 + IL_015d: ldc.i4.1 + IL_015e: sub + IL_015f: conv.i1 + IL_0160: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0165: ldloc.s V_11 + IL_0167: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016c: ret + } // end of method CompoundAssignmentTest::SbytePostDecTest + + .method public hidebysig static void SbytePreDecTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 365 (0x16d) + .maxstack 3 + .locals init (int8 V_0, + int8 V_1, + int8 V_2, + int8 V_3, + int8 V_4, + int8 V_5, + int8 V_6, + int8 V_7, + int8 V_8, + int8 V_9, + int8 V_10, + int8 V_11) + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: ldc.i4.1 + IL_0006: sub + IL_0007: conv.i1 + IL_0008: dup + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0018: ldc.i4.1 + IL_0019: sub + IL_001a: conv.i1 + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002d: ldc.i4.1 + IL_002e: sub + IL_002f: conv.i1 + IL_0030: dup + IL_0031: stloc.0 + IL_0032: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0044: ldc.i4.1 + IL_0045: sub + IL_0046: conv.i1 + IL_0047: dup + IL_0048: stloc.1 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_004e: ldloc.1 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_005c: ldc.i4.1 + IL_005d: sub + IL_005e: conv.i1 + IL_005f: dup + IL_0060: stloc.2 + IL_0061: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0066: ldloc.2 + IL_0067: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0074: ldc.i4.1 + IL_0075: sub + IL_0076: conv.i1 + IL_0077: dup + IL_0078: stloc.3 + IL_0079: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_007e: ldloc.3 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_008f: ldc.i4.1 + IL_0090: sub + IL_0091: conv.i1 + IL_0092: dup + IL_0093: stloc.s V_4 + IL_0095: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_009a: ldloc.s V_4 + IL_009c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a6: dup + IL_00a7: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00ac: ldc.i4.1 + IL_00ad: sub + IL_00ae: conv.i1 + IL_00af: dup + IL_00b0: stloc.s V_5 + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00b7: ldloc.s V_5 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c3: dup + IL_00c4: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00c9: ldc.i4.1 + IL_00ca: sub + IL_00cb: conv.i1 + IL_00cc: dup + IL_00cd: stloc.s V_6 + IL_00cf: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00d4: ldloc.s V_6 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00e6: ldc.i4.1 + IL_00e7: sub + IL_00e8: conv.i1 + IL_00e9: dup + IL_00ea: stloc.s V_7 + IL_00ec: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00f1: ldloc.s V_7 + IL_00f3: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fd: dup + IL_00fe: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0103: ldc.i4.1 + IL_0104: sub + IL_0105: conv.i1 + IL_0106: dup + IL_0107: stloc.s V_8 + IL_0109: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_010e: ldloc.s V_8 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011a: dup + IL_011b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0120: ldc.i4.1 + IL_0121: sub + IL_0122: conv.i1 + IL_0123: dup + IL_0124: stloc.s V_9 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_012b: ldloc.s V_9 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0137: dup + IL_0138: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_013d: ldc.i4.1 + IL_013e: sub + IL_013f: conv.i1 + IL_0140: dup + IL_0141: stloc.s V_10 + IL_0143: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0148: ldloc.s V_10 + IL_014a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_015a: ldc.i4.1 + IL_015b: sub + IL_015c: conv.i1 + IL_015d: dup + IL_015e: stloc.s V_11 + IL_0160: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0165: ldloc.s V_11 + IL_0167: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016c: ret + } // end of method CompoundAssignmentTest::SbytePreDecTest + + .method public hidebysig static void ShortAddTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: ldc.i4.5 + IL_0006: add + IL_0007: conv.i2 + IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000d: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0012: ldc.i4.5 + IL_0013: add + IL_0014: conv.i2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0021: ldc.i4.5 + IL_0022: add + IL_0023: conv.i2 + IL_0024: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0030: ldc.i4.5 + IL_0031: add + IL_0032: conv.i2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0040: ldc.i4.5 + IL_0041: add + IL_0042: conv.i2 + IL_0043: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0050: ldc.i4.5 + IL_0051: add + IL_0052: conv.i2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0063: ldc.i4.5 + IL_0064: add + IL_0065: conv.i2 + IL_0066: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0076: ldc.i4.5 + IL_0077: add + IL_0078: conv.i2 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0089: ldc.i4.5 + IL_008a: add + IL_008b: conv.i2 + IL_008c: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_009c: ldc.i4.5 + IL_009d: add + IL_009e: conv.i2 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00af: ldc.i4.5 + IL_00b0: add + IL_00b1: conv.i2 + IL_00b2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c2: ldc.i4.5 + IL_00c3: add + IL_00c4: conv.i2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d5: ldc.i4.5 + IL_00d6: add + IL_00d7: conv.i2 + IL_00d8: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e8: ldc.i4.5 + IL_00e9: add + IL_00ea: conv.i2 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f0: ret + } // end of method CompoundAssignmentTest::ShortAddTest + + .method public hidebysig static void ShortSubtractTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 17 (0x11) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldc.i4.5 - IL_0002: mul - IL_0003: starg.s i - IL_0005: ldarg.1 - IL_0006: ldc.i4.5 - IL_0007: mul + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: ldc.i4.5 + IL_0006: sub + IL_0007: conv.i2 + IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000d: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0012: ldc.i4.5 + IL_0013: sub + IL_0014: conv.i2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0021: ldc.i4.5 + IL_0022: sub + IL_0023: conv.i2 + IL_0024: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0030: ldc.i4.5 + IL_0031: sub + IL_0032: conv.i2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0040: ldc.i4.5 + IL_0041: sub + IL_0042: conv.i2 + IL_0043: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0050: ldc.i4.5 + IL_0051: sub + IL_0052: conv.i2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0063: ldc.i4.5 + IL_0064: sub + IL_0065: conv.i2 + IL_0066: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0076: ldc.i4.5 + IL_0077: sub + IL_0078: conv.i2 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0089: ldc.i4.5 + IL_008a: sub + IL_008b: conv.i2 + IL_008c: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_009c: ldc.i4.5 + IL_009d: sub + IL_009e: conv.i2 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00af: ldc.i4.5 + IL_00b0: sub + IL_00b1: conv.i2 + IL_00b2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c2: ldc.i4.5 + IL_00c3: sub + IL_00c4: conv.i2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d5: ldc.i4.5 + IL_00d6: sub + IL_00d7: conv.i2 + IL_00d8: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e8: ldc.i4.5 + IL_00e9: sub + IL_00ea: conv.i2 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f0: ret + } // end of method CompoundAssignmentTest::ShortSubtractTest + + .method public hidebysig static void ShortMultiplyTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: ldc.i4.5 + IL_0006: mul + IL_0007: conv.i2 + IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000d: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0012: ldc.i4.5 + IL_0013: mul + IL_0014: conv.i2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0021: ldc.i4.5 + IL_0022: mul + IL_0023: conv.i2 + IL_0024: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0030: ldc.i4.5 + IL_0031: mul + IL_0032: conv.i2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0040: ldc.i4.5 + IL_0041: mul + IL_0042: conv.i2 + IL_0043: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0050: ldc.i4.5 + IL_0051: mul + IL_0052: conv.i2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0063: ldc.i4.5 + IL_0064: mul + IL_0065: conv.i2 + IL_0066: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0076: ldc.i4.5 + IL_0077: mul + IL_0078: conv.i2 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0089: ldc.i4.5 + IL_008a: mul + IL_008b: conv.i2 + IL_008c: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_009c: ldc.i4.5 + IL_009d: mul + IL_009e: conv.i2 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00af: ldc.i4.5 + IL_00b0: mul + IL_00b1: conv.i2 + IL_00b2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c2: ldc.i4.5 + IL_00c3: mul + IL_00c4: conv.i2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d5: ldc.i4.5 + IL_00d6: mul + IL_00d7: conv.i2 + IL_00d8: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e8: ldc.i4.5 + IL_00e9: mul + IL_00ea: conv.i2 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f0: ret + } // end of method CompoundAssignmentTest::ShortMultiplyTest + + .method public hidebysig static void ShortDivideTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: ldc.i4.5 + IL_0006: div + IL_0007: conv.i2 + IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000d: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0012: ldc.i4.5 + IL_0013: div + IL_0014: conv.i2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0021: ldc.i4.5 + IL_0022: div + IL_0023: conv.i2 + IL_0024: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0030: ldc.i4.5 + IL_0031: div + IL_0032: conv.i2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0040: ldc.i4.5 + IL_0041: div + IL_0042: conv.i2 + IL_0043: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0050: ldc.i4.5 + IL_0051: div + IL_0052: conv.i2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0063: ldc.i4.5 + IL_0064: div + IL_0065: conv.i2 + IL_0066: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0076: ldc.i4.5 + IL_0077: div + IL_0078: conv.i2 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0089: ldc.i4.5 + IL_008a: div + IL_008b: conv.i2 + IL_008c: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_009c: ldc.i4.5 + IL_009d: div + IL_009e: conv.i2 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00af: ldc.i4.5 + IL_00b0: div + IL_00b1: conv.i2 + IL_00b2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c2: ldc.i4.5 + IL_00c3: div + IL_00c4: conv.i2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d5: ldc.i4.5 + IL_00d6: div + IL_00d7: conv.i2 + IL_00d8: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e8: ldc.i4.5 + IL_00e9: div + IL_00ea: conv.i2 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f0: ret + } // end of method CompoundAssignmentTest::ShortDivideTest + + .method public hidebysig static void ShortModulusTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: ldc.i4.5 + IL_0006: rem + IL_0007: conv.i2 + IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000d: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0012: ldc.i4.5 + IL_0013: rem + IL_0014: conv.i2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0021: ldc.i4.5 + IL_0022: rem + IL_0023: conv.i2 + IL_0024: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0030: ldc.i4.5 + IL_0031: rem + IL_0032: conv.i2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0040: ldc.i4.5 + IL_0041: rem + IL_0042: conv.i2 + IL_0043: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0050: ldc.i4.5 + IL_0051: rem + IL_0052: conv.i2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0063: ldc.i4.5 + IL_0064: rem + IL_0065: conv.i2 + IL_0066: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0076: ldc.i4.5 + IL_0077: rem + IL_0078: conv.i2 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0089: ldc.i4.5 + IL_008a: rem + IL_008b: conv.i2 + IL_008c: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_009c: ldc.i4.5 + IL_009d: rem + IL_009e: conv.i2 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00af: ldc.i4.5 + IL_00b0: rem + IL_00b1: conv.i2 + IL_00b2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c2: ldc.i4.5 + IL_00c3: rem + IL_00c4: conv.i2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d5: ldc.i4.5 + IL_00d6: rem + IL_00d7: conv.i2 + IL_00d8: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e8: ldc.i4.5 + IL_00e9: rem + IL_00ea: conv.i2 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f0: ret + } // end of method CompoundAssignmentTest::ShortModulusTest + + .method public hidebysig static void ShortLeftShiftTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: ldc.i4.5 + IL_0006: shl + IL_0007: conv.i2 + IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000d: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0012: ldc.i4.5 + IL_0013: shl + IL_0014: conv.i2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0021: ldc.i4.5 + IL_0022: shl + IL_0023: conv.i2 + IL_0024: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0030: ldc.i4.5 + IL_0031: shl + IL_0032: conv.i2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0040: ldc.i4.5 + IL_0041: shl + IL_0042: conv.i2 + IL_0043: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0050: ldc.i4.5 + IL_0051: shl + IL_0052: conv.i2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0063: ldc.i4.5 + IL_0064: shl + IL_0065: conv.i2 + IL_0066: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0076: ldc.i4.5 + IL_0077: shl + IL_0078: conv.i2 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0089: ldc.i4.5 + IL_008a: shl + IL_008b: conv.i2 + IL_008c: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_009c: ldc.i4.5 + IL_009d: shl + IL_009e: conv.i2 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00af: ldc.i4.5 + IL_00b0: shl + IL_00b1: conv.i2 + IL_00b2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c2: ldc.i4.5 + IL_00c3: shl + IL_00c4: conv.i2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d5: ldc.i4.5 + IL_00d6: shl + IL_00d7: conv.i2 + IL_00d8: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e8: ldc.i4.5 + IL_00e9: shl + IL_00ea: conv.i2 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f0: ret + } // end of method CompoundAssignmentTest::ShortLeftShiftTest + + .method public hidebysig static void ShortRightShiftTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: ldc.i4.5 + IL_0006: shr + IL_0007: conv.i2 + IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000d: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0012: ldc.i4.5 + IL_0013: shr + IL_0014: conv.i2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0021: ldc.i4.5 + IL_0022: shr + IL_0023: conv.i2 + IL_0024: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0030: ldc.i4.5 + IL_0031: shr + IL_0032: conv.i2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0040: ldc.i4.5 + IL_0041: shr + IL_0042: conv.i2 + IL_0043: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0050: ldc.i4.5 + IL_0051: shr + IL_0052: conv.i2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0063: ldc.i4.5 + IL_0064: shr + IL_0065: conv.i2 + IL_0066: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0076: ldc.i4.5 + IL_0077: shr + IL_0078: conv.i2 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0089: ldc.i4.5 + IL_008a: shr + IL_008b: conv.i2 + IL_008c: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_009c: ldc.i4.5 + IL_009d: shr + IL_009e: conv.i2 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00af: ldc.i4.5 + IL_00b0: shr + IL_00b1: conv.i2 + IL_00b2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c2: ldc.i4.5 + IL_00c3: shr + IL_00c4: conv.i2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d5: ldc.i4.5 + IL_00d6: shr + IL_00d7: conv.i2 + IL_00d8: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e8: ldc.i4.5 + IL_00e9: shr + IL_00ea: conv.i2 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f0: ret + } // end of method CompoundAssignmentTest::ShortRightShiftTest + + .method public hidebysig static void ShortBitAndTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: ldc.i4.5 + IL_0006: and + IL_0007: conv.i2 + IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000d: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0012: ldc.i4.5 + IL_0013: and + IL_0014: conv.i2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0021: ldc.i4.5 + IL_0022: and + IL_0023: conv.i2 + IL_0024: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0030: ldc.i4.5 + IL_0031: and + IL_0032: conv.i2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0040: ldc.i4.5 + IL_0041: and + IL_0042: conv.i2 + IL_0043: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0050: ldc.i4.5 + IL_0051: and + IL_0052: conv.i2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0063: ldc.i4.5 + IL_0064: and + IL_0065: conv.i2 + IL_0066: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0076: ldc.i4.5 + IL_0077: and + IL_0078: conv.i2 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0089: ldc.i4.5 + IL_008a: and + IL_008b: conv.i2 + IL_008c: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_009c: ldc.i4.5 + IL_009d: and + IL_009e: conv.i2 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00af: ldc.i4.5 + IL_00b0: and + IL_00b1: conv.i2 + IL_00b2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c2: ldc.i4.5 + IL_00c3: and + IL_00c4: conv.i2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d5: ldc.i4.5 + IL_00d6: and + IL_00d7: conv.i2 + IL_00d8: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e8: ldc.i4.5 + IL_00e9: and + IL_00ea: conv.i2 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f0: ret + } // end of method CompoundAssignmentTest::ShortBitAndTest + + .method public hidebysig static void ShortBitOrTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: ldc.i4.5 + IL_0006: or + IL_0007: conv.i2 + IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000d: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0012: ldc.i4.5 + IL_0013: or + IL_0014: conv.i2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0021: ldc.i4.5 + IL_0022: or + IL_0023: conv.i2 + IL_0024: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0030: ldc.i4.5 + IL_0031: or + IL_0032: conv.i2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0040: ldc.i4.5 + IL_0041: or + IL_0042: conv.i2 + IL_0043: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0050: ldc.i4.5 + IL_0051: or + IL_0052: conv.i2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0063: ldc.i4.5 + IL_0064: or + IL_0065: conv.i2 + IL_0066: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0076: ldc.i4.5 + IL_0077: or + IL_0078: conv.i2 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0089: ldc.i4.5 + IL_008a: or + IL_008b: conv.i2 + IL_008c: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_009c: ldc.i4.5 + IL_009d: or + IL_009e: conv.i2 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00af: ldc.i4.5 + IL_00b0: or + IL_00b1: conv.i2 + IL_00b2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c2: ldc.i4.5 + IL_00c3: or + IL_00c4: conv.i2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d5: ldc.i4.5 + IL_00d6: or + IL_00d7: conv.i2 + IL_00d8: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e8: ldc.i4.5 + IL_00e9: or + IL_00ea: conv.i2 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f0: ret + } // end of method CompoundAssignmentTest::ShortBitOrTest + + .method public hidebysig static void ShortBitXorTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: ldc.i4.5 + IL_0006: xor + IL_0007: conv.i2 + IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000d: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0012: ldc.i4.5 + IL_0013: xor + IL_0014: conv.i2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0021: ldc.i4.5 + IL_0022: xor + IL_0023: conv.i2 + IL_0024: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0030: ldc.i4.5 + IL_0031: xor + IL_0032: conv.i2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0040: ldc.i4.5 + IL_0041: xor + IL_0042: conv.i2 + IL_0043: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0050: ldc.i4.5 + IL_0051: xor + IL_0052: conv.i2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0063: ldc.i4.5 + IL_0064: xor + IL_0065: conv.i2 + IL_0066: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0076: ldc.i4.5 + IL_0077: xor + IL_0078: conv.i2 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0089: ldc.i4.5 + IL_008a: xor + IL_008b: conv.i2 + IL_008c: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_009c: ldc.i4.5 + IL_009d: xor + IL_009e: conv.i2 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00af: ldc.i4.5 + IL_00b0: xor + IL_00b1: conv.i2 + IL_00b2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c2: ldc.i4.5 + IL_00c3: xor + IL_00c4: conv.i2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d5: ldc.i4.5 + IL_00d6: xor + IL_00d7: conv.i2 + IL_00d8: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e8: ldc.i4.5 + IL_00e9: xor + IL_00ea: conv.i2 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f0: ret + } // end of method CompoundAssignmentTest::ShortBitXorTest + + .method public hidebysig static void ShortPostIncTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 365 (0x16d) + .maxstack 3 + .locals init (int16 V_0, + int16 V_1, + int16 V_2, + int16 V_3, + int16 V_4, + int16 V_5, + int16 V_6, + int16 V_7, + int16 V_8, + int16 V_9, + int16 V_10, + int16 V_11) + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0018: dup + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: conv.i2 + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002d: dup + IL_002e: stloc.0 + IL_002f: ldc.i4.1 + IL_0030: add + IL_0031: conv.i2 + IL_0032: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0044: dup + IL_0045: stloc.1 + IL_0046: ldc.i4.1 + IL_0047: add + IL_0048: conv.i2 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_004e: ldloc.1 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_005c: dup + IL_005d: stloc.2 + IL_005e: ldc.i4.1 + IL_005f: add + IL_0060: conv.i2 + IL_0061: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0066: ldloc.2 + IL_0067: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0074: dup + IL_0075: stloc.3 + IL_0076: ldc.i4.1 + IL_0077: add + IL_0078: conv.i2 + IL_0079: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_007e: ldloc.3 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_008f: dup + IL_0090: stloc.s V_4 + IL_0092: ldc.i4.1 + IL_0093: add + IL_0094: conv.i2 + IL_0095: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_009a: ldloc.s V_4 + IL_009c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a6: dup + IL_00a7: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00ac: dup + IL_00ad: stloc.s V_5 + IL_00af: ldc.i4.1 + IL_00b0: add + IL_00b1: conv.i2 + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00b7: ldloc.s V_5 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c3: dup + IL_00c4: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00c9: dup + IL_00ca: stloc.s V_6 + IL_00cc: ldc.i4.1 + IL_00cd: add + IL_00ce: conv.i2 + IL_00cf: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00d4: ldloc.s V_6 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00e6: dup + IL_00e7: stloc.s V_7 + IL_00e9: ldc.i4.1 + IL_00ea: add + IL_00eb: conv.i2 + IL_00ec: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00f1: ldloc.s V_7 + IL_00f3: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fd: dup + IL_00fe: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0103: dup + IL_0104: stloc.s V_8 + IL_0106: ldc.i4.1 + IL_0107: add + IL_0108: conv.i2 + IL_0109: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_010e: ldloc.s V_8 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011a: dup + IL_011b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0120: dup + IL_0121: stloc.s V_9 + IL_0123: ldc.i4.1 + IL_0124: add + IL_0125: conv.i2 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_012b: ldloc.s V_9 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0137: dup + IL_0138: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_013d: dup + IL_013e: stloc.s V_10 + IL_0140: ldc.i4.1 + IL_0141: add + IL_0142: conv.i2 + IL_0143: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0148: ldloc.s V_10 + IL_014a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_015a: dup + IL_015b: stloc.s V_11 + IL_015d: ldc.i4.1 + IL_015e: add + IL_015f: conv.i2 + IL_0160: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0165: ldloc.s V_11 + IL_0167: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016c: ret + } // end of method CompoundAssignmentTest::ShortPostIncTest + + .method public hidebysig static void ShortPreIncTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 365 (0x16d) + .maxstack 3 + .locals init (int16 V_0, + int16 V_1, + int16 V_2, + int16 V_3, + int16 V_4, + int16 V_5, + int16 V_6, + int16 V_7, + int16 V_8, + int16 V_9, + int16 V_10, + int16 V_11) + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: conv.i2 IL_0008: dup - IL_0009: starg.s i - IL_000b: call void [mscorlib]System.Console::WriteLine(int32) - IL_0010: ret - } // end of method CompoundAssignmentTest::Int32_Local_Mul + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0018: ldc.i4.1 + IL_0019: add + IL_001a: conv.i2 + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002d: ldc.i4.1 + IL_002e: add + IL_002f: conv.i2 + IL_0030: dup + IL_0031: stloc.0 + IL_0032: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0044: ldc.i4.1 + IL_0045: add + IL_0046: conv.i2 + IL_0047: dup + IL_0048: stloc.1 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_004e: ldloc.1 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_005c: ldc.i4.1 + IL_005d: add + IL_005e: conv.i2 + IL_005f: dup + IL_0060: stloc.2 + IL_0061: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0066: ldloc.2 + IL_0067: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0074: ldc.i4.1 + IL_0075: add + IL_0076: conv.i2 + IL_0077: dup + IL_0078: stloc.3 + IL_0079: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_007e: ldloc.3 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_008f: ldc.i4.1 + IL_0090: add + IL_0091: conv.i2 + IL_0092: dup + IL_0093: stloc.s V_4 + IL_0095: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_009a: ldloc.s V_4 + IL_009c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a6: dup + IL_00a7: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00ac: ldc.i4.1 + IL_00ad: add + IL_00ae: conv.i2 + IL_00af: dup + IL_00b0: stloc.s V_5 + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00b7: ldloc.s V_5 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c3: dup + IL_00c4: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00c9: ldc.i4.1 + IL_00ca: add + IL_00cb: conv.i2 + IL_00cc: dup + IL_00cd: stloc.s V_6 + IL_00cf: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00d4: ldloc.s V_6 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00e6: ldc.i4.1 + IL_00e7: add + IL_00e8: conv.i2 + IL_00e9: dup + IL_00ea: stloc.s V_7 + IL_00ec: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00f1: ldloc.s V_7 + IL_00f3: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fd: dup + IL_00fe: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0103: ldc.i4.1 + IL_0104: add + IL_0105: conv.i2 + IL_0106: dup + IL_0107: stloc.s V_8 + IL_0109: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_010e: ldloc.s V_8 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011a: dup + IL_011b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0120: ldc.i4.1 + IL_0121: add + IL_0122: conv.i2 + IL_0123: dup + IL_0124: stloc.s V_9 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_012b: ldloc.s V_9 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0137: dup + IL_0138: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_013d: ldc.i4.1 + IL_013e: add + IL_013f: conv.i2 + IL_0140: dup + IL_0141: stloc.s V_10 + IL_0143: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0148: ldloc.s V_10 + IL_014a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_015a: ldc.i4.1 + IL_015b: add + IL_015c: conv.i2 + IL_015d: dup + IL_015e: stloc.s V_11 + IL_0160: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0165: ldloc.s V_11 + IL_0167: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016c: ret + } // end of method CompoundAssignmentTest::ShortPreIncTest + + .method public hidebysig static void ShortPostDecTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 365 (0x16d) + .maxstack 3 + .locals init (int16 V_0, + int16 V_1, + int16 V_2, + int16 V_3, + int16 V_4, + int16 V_5, + int16 V_6, + int16 V_7, + int16 V_8, + int16 V_9, + int16 V_10, + int16 V_11) + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: sub + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0018: dup + IL_0019: ldc.i4.1 + IL_001a: sub + IL_001b: conv.i2 + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002d: dup + IL_002e: stloc.0 + IL_002f: ldc.i4.1 + IL_0030: sub + IL_0031: conv.i2 + IL_0032: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0044: dup + IL_0045: stloc.1 + IL_0046: ldc.i4.1 + IL_0047: sub + IL_0048: conv.i2 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_004e: ldloc.1 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_005c: dup + IL_005d: stloc.2 + IL_005e: ldc.i4.1 + IL_005f: sub + IL_0060: conv.i2 + IL_0061: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0066: ldloc.2 + IL_0067: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0074: dup + IL_0075: stloc.3 + IL_0076: ldc.i4.1 + IL_0077: sub + IL_0078: conv.i2 + IL_0079: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_007e: ldloc.3 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_008f: dup + IL_0090: stloc.s V_4 + IL_0092: ldc.i4.1 + IL_0093: sub + IL_0094: conv.i2 + IL_0095: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_009a: ldloc.s V_4 + IL_009c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a6: dup + IL_00a7: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00ac: dup + IL_00ad: stloc.s V_5 + IL_00af: ldc.i4.1 + IL_00b0: sub + IL_00b1: conv.i2 + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00b7: ldloc.s V_5 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c3: dup + IL_00c4: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00c9: dup + IL_00ca: stloc.s V_6 + IL_00cc: ldc.i4.1 + IL_00cd: sub + IL_00ce: conv.i2 + IL_00cf: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00d4: ldloc.s V_6 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00e6: dup + IL_00e7: stloc.s V_7 + IL_00e9: ldc.i4.1 + IL_00ea: sub + IL_00eb: conv.i2 + IL_00ec: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00f1: ldloc.s V_7 + IL_00f3: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fd: dup + IL_00fe: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0103: dup + IL_0104: stloc.s V_8 + IL_0106: ldc.i4.1 + IL_0107: sub + IL_0108: conv.i2 + IL_0109: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_010e: ldloc.s V_8 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011a: dup + IL_011b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0120: dup + IL_0121: stloc.s V_9 + IL_0123: ldc.i4.1 + IL_0124: sub + IL_0125: conv.i2 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_012b: ldloc.s V_9 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0137: dup + IL_0138: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_013d: dup + IL_013e: stloc.s V_10 + IL_0140: ldc.i4.1 + IL_0141: sub + IL_0142: conv.i2 + IL_0143: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0148: ldloc.s V_10 + IL_014a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_015a: dup + IL_015b: stloc.s V_11 + IL_015d: ldc.i4.1 + IL_015e: sub + IL_015f: conv.i2 + IL_0160: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0165: ldloc.s V_11 + IL_0167: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016c: ret + } // end of method CompoundAssignmentTest::ShortPostDecTest + + .method public hidebysig static void ShortPreDecTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 365 (0x16d) + .maxstack 3 + .locals init (int16 V_0, + int16 V_1, + int16 V_2, + int16 V_3, + int16 V_4, + int16 V_5, + int16 V_6, + int16 V_7, + int16 V_8, + int16 V_9, + int16 V_10, + int16 V_11) + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: ldc.i4.1 + IL_0006: sub + IL_0007: conv.i2 + IL_0008: dup + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0018: ldc.i4.1 + IL_0019: sub + IL_001a: conv.i2 + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002d: ldc.i4.1 + IL_002e: sub + IL_002f: conv.i2 + IL_0030: dup + IL_0031: stloc.0 + IL_0032: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0044: ldc.i4.1 + IL_0045: sub + IL_0046: conv.i2 + IL_0047: dup + IL_0048: stloc.1 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_004e: ldloc.1 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_005c: ldc.i4.1 + IL_005d: sub + IL_005e: conv.i2 + IL_005f: dup + IL_0060: stloc.2 + IL_0061: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0066: ldloc.2 + IL_0067: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0074: ldc.i4.1 + IL_0075: sub + IL_0076: conv.i2 + IL_0077: dup + IL_0078: stloc.3 + IL_0079: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_007e: ldloc.3 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_008f: ldc.i4.1 + IL_0090: sub + IL_0091: conv.i2 + IL_0092: dup + IL_0093: stloc.s V_4 + IL_0095: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_009a: ldloc.s V_4 + IL_009c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a6: dup + IL_00a7: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00ac: ldc.i4.1 + IL_00ad: sub + IL_00ae: conv.i2 + IL_00af: dup + IL_00b0: stloc.s V_5 + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00b7: ldloc.s V_5 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c3: dup + IL_00c4: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00c9: ldc.i4.1 + IL_00ca: sub + IL_00cb: conv.i2 + IL_00cc: dup + IL_00cd: stloc.s V_6 + IL_00cf: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00d4: ldloc.s V_6 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00e6: ldc.i4.1 + IL_00e7: sub + IL_00e8: conv.i2 + IL_00e9: dup + IL_00ea: stloc.s V_7 + IL_00ec: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00f1: ldloc.s V_7 + IL_00f3: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fd: dup + IL_00fe: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0103: ldc.i4.1 + IL_0104: sub + IL_0105: conv.i2 + IL_0106: dup + IL_0107: stloc.s V_8 + IL_0109: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_010e: ldloc.s V_8 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011a: dup + IL_011b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0120: ldc.i4.1 + IL_0121: sub + IL_0122: conv.i2 + IL_0123: dup + IL_0124: stloc.s V_9 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_012b: ldloc.s V_9 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0137: dup + IL_0138: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_013d: ldc.i4.1 + IL_013e: sub + IL_013f: conv.i2 + IL_0140: dup + IL_0141: stloc.s V_10 + IL_0143: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0148: ldloc.s V_10 + IL_014a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_015a: ldc.i4.1 + IL_015b: sub + IL_015c: conv.i2 + IL_015d: dup + IL_015e: stloc.s V_11 + IL_0160: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0165: ldloc.s V_11 + IL_0167: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016c: ret + } // end of method CompoundAssignmentTest::ShortPreDecTest + + .method public hidebysig static void UshortAddTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: ldc.i4.5 + IL_0006: add + IL_0007: conv.u2 + IL_0008: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000d: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0012: ldc.i4.5 + IL_0013: add + IL_0014: conv.u2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0021: ldc.i4.5 + IL_0022: add + IL_0023: conv.u2 + IL_0024: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0030: ldc.i4.5 + IL_0031: add + IL_0032: conv.u2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0040: ldc.i4.5 + IL_0041: add + IL_0042: conv.u2 + IL_0043: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0050: ldc.i4.5 + IL_0051: add + IL_0052: conv.u2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0063: ldc.i4.5 + IL_0064: add + IL_0065: conv.u2 + IL_0066: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0076: ldc.i4.5 + IL_0077: add + IL_0078: conv.u2 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0089: ldc.i4.5 + IL_008a: add + IL_008b: conv.u2 + IL_008c: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_009c: ldc.i4.5 + IL_009d: add + IL_009e: conv.u2 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00af: ldc.i4.5 + IL_00b0: add + IL_00b1: conv.u2 + IL_00b2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c2: ldc.i4.5 + IL_00c3: add + IL_00c4: conv.u2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d5: ldc.i4.5 + IL_00d6: add + IL_00d7: conv.u2 + IL_00d8: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e8: ldc.i4.5 + IL_00e9: add + IL_00ea: conv.u2 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f0: ret + } // end of method CompoundAssignmentTest::UshortAddTest + + .method public hidebysig static void UshortSubtractTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: ldc.i4.5 + IL_0006: sub + IL_0007: conv.u2 + IL_0008: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000d: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0012: ldc.i4.5 + IL_0013: sub + IL_0014: conv.u2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0021: ldc.i4.5 + IL_0022: sub + IL_0023: conv.u2 + IL_0024: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0030: ldc.i4.5 + IL_0031: sub + IL_0032: conv.u2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0040: ldc.i4.5 + IL_0041: sub + IL_0042: conv.u2 + IL_0043: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0050: ldc.i4.5 + IL_0051: sub + IL_0052: conv.u2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0063: ldc.i4.5 + IL_0064: sub + IL_0065: conv.u2 + IL_0066: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0076: ldc.i4.5 + IL_0077: sub + IL_0078: conv.u2 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0089: ldc.i4.5 + IL_008a: sub + IL_008b: conv.u2 + IL_008c: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_009c: ldc.i4.5 + IL_009d: sub + IL_009e: conv.u2 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00af: ldc.i4.5 + IL_00b0: sub + IL_00b1: conv.u2 + IL_00b2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c2: ldc.i4.5 + IL_00c3: sub + IL_00c4: conv.u2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d5: ldc.i4.5 + IL_00d6: sub + IL_00d7: conv.u2 + IL_00d8: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e8: ldc.i4.5 + IL_00e9: sub + IL_00ea: conv.u2 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f0: ret + } // end of method CompoundAssignmentTest::UshortSubtractTest + + .method public hidebysig static void UshortMultiplyTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: ldc.i4.5 + IL_0006: mul + IL_0007: conv.u2 + IL_0008: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000d: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0012: ldc.i4.5 + IL_0013: mul + IL_0014: conv.u2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0021: ldc.i4.5 + IL_0022: mul + IL_0023: conv.u2 + IL_0024: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0030: ldc.i4.5 + IL_0031: mul + IL_0032: conv.u2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0040: ldc.i4.5 + IL_0041: mul + IL_0042: conv.u2 + IL_0043: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0050: ldc.i4.5 + IL_0051: mul + IL_0052: conv.u2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0063: ldc.i4.5 + IL_0064: mul + IL_0065: conv.u2 + IL_0066: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0076: ldc.i4.5 + IL_0077: mul + IL_0078: conv.u2 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0089: ldc.i4.5 + IL_008a: mul + IL_008b: conv.u2 + IL_008c: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_009c: ldc.i4.5 + IL_009d: mul + IL_009e: conv.u2 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00af: ldc.i4.5 + IL_00b0: mul + IL_00b1: conv.u2 + IL_00b2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c2: ldc.i4.5 + IL_00c3: mul + IL_00c4: conv.u2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d5: ldc.i4.5 + IL_00d6: mul + IL_00d7: conv.u2 + IL_00d8: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e8: ldc.i4.5 + IL_00e9: mul + IL_00ea: conv.u2 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f0: ret + } // end of method CompoundAssignmentTest::UshortMultiplyTest + + .method public hidebysig static void UshortDivideTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: ldc.i4.5 + IL_0006: div + IL_0007: conv.u2 + IL_0008: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000d: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0012: ldc.i4.5 + IL_0013: div + IL_0014: conv.u2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0021: ldc.i4.5 + IL_0022: div + IL_0023: conv.u2 + IL_0024: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0030: ldc.i4.5 + IL_0031: div + IL_0032: conv.u2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0040: ldc.i4.5 + IL_0041: div + IL_0042: conv.u2 + IL_0043: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0050: ldc.i4.5 + IL_0051: div + IL_0052: conv.u2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0063: ldc.i4.5 + IL_0064: div + IL_0065: conv.u2 + IL_0066: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0076: ldc.i4.5 + IL_0077: div + IL_0078: conv.u2 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0089: ldc.i4.5 + IL_008a: div + IL_008b: conv.u2 + IL_008c: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_009c: ldc.i4.5 + IL_009d: div + IL_009e: conv.u2 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00af: ldc.i4.5 + IL_00b0: div + IL_00b1: conv.u2 + IL_00b2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c2: ldc.i4.5 + IL_00c3: div + IL_00c4: conv.u2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d5: ldc.i4.5 + IL_00d6: div + IL_00d7: conv.u2 + IL_00d8: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e8: ldc.i4.5 + IL_00e9: div + IL_00ea: conv.u2 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f0: ret + } // end of method CompoundAssignmentTest::UshortDivideTest + + .method public hidebysig static void UshortModulusTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: ldc.i4.5 + IL_0006: rem + IL_0007: conv.u2 + IL_0008: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000d: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0012: ldc.i4.5 + IL_0013: rem + IL_0014: conv.u2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0021: ldc.i4.5 + IL_0022: rem + IL_0023: conv.u2 + IL_0024: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0030: ldc.i4.5 + IL_0031: rem + IL_0032: conv.u2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0040: ldc.i4.5 + IL_0041: rem + IL_0042: conv.u2 + IL_0043: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0050: ldc.i4.5 + IL_0051: rem + IL_0052: conv.u2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0063: ldc.i4.5 + IL_0064: rem + IL_0065: conv.u2 + IL_0066: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0076: ldc.i4.5 + IL_0077: rem + IL_0078: conv.u2 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0089: ldc.i4.5 + IL_008a: rem + IL_008b: conv.u2 + IL_008c: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_009c: ldc.i4.5 + IL_009d: rem + IL_009e: conv.u2 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00af: ldc.i4.5 + IL_00b0: rem + IL_00b1: conv.u2 + IL_00b2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c2: ldc.i4.5 + IL_00c3: rem + IL_00c4: conv.u2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d5: ldc.i4.5 + IL_00d6: rem + IL_00d7: conv.u2 + IL_00d8: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e8: ldc.i4.5 + IL_00e9: rem + IL_00ea: conv.u2 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f0: ret + } // end of method CompoundAssignmentTest::UshortModulusTest + + .method public hidebysig static void UshortLeftShiftTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: ldc.i4.5 + IL_0006: shl + IL_0007: conv.u2 + IL_0008: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000d: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0012: ldc.i4.5 + IL_0013: shl + IL_0014: conv.u2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0021: ldc.i4.5 + IL_0022: shl + IL_0023: conv.u2 + IL_0024: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0030: ldc.i4.5 + IL_0031: shl + IL_0032: conv.u2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0040: ldc.i4.5 + IL_0041: shl + IL_0042: conv.u2 + IL_0043: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0050: ldc.i4.5 + IL_0051: shl + IL_0052: conv.u2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0063: ldc.i4.5 + IL_0064: shl + IL_0065: conv.u2 + IL_0066: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0076: ldc.i4.5 + IL_0077: shl + IL_0078: conv.u2 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0089: ldc.i4.5 + IL_008a: shl + IL_008b: conv.u2 + IL_008c: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_009c: ldc.i4.5 + IL_009d: shl + IL_009e: conv.u2 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00af: ldc.i4.5 + IL_00b0: shl + IL_00b1: conv.u2 + IL_00b2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c2: ldc.i4.5 + IL_00c3: shl + IL_00c4: conv.u2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d5: ldc.i4.5 + IL_00d6: shl + IL_00d7: conv.u2 + IL_00d8: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e8: ldc.i4.5 + IL_00e9: shl + IL_00ea: conv.u2 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f0: ret + } // end of method CompoundAssignmentTest::UshortLeftShiftTest + + .method public hidebysig static void UshortRightShiftTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: ldc.i4.5 + IL_0006: shr + IL_0007: conv.u2 + IL_0008: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000d: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0012: ldc.i4.5 + IL_0013: shr + IL_0014: conv.u2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0021: ldc.i4.5 + IL_0022: shr + IL_0023: conv.u2 + IL_0024: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0030: ldc.i4.5 + IL_0031: shr + IL_0032: conv.u2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0040: ldc.i4.5 + IL_0041: shr + IL_0042: conv.u2 + IL_0043: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0050: ldc.i4.5 + IL_0051: shr + IL_0052: conv.u2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0063: ldc.i4.5 + IL_0064: shr + IL_0065: conv.u2 + IL_0066: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0076: ldc.i4.5 + IL_0077: shr + IL_0078: conv.u2 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0089: ldc.i4.5 + IL_008a: shr + IL_008b: conv.u2 + IL_008c: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_009c: ldc.i4.5 + IL_009d: shr + IL_009e: conv.u2 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00af: ldc.i4.5 + IL_00b0: shr + IL_00b1: conv.u2 + IL_00b2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c2: ldc.i4.5 + IL_00c3: shr + IL_00c4: conv.u2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d5: ldc.i4.5 + IL_00d6: shr + IL_00d7: conv.u2 + IL_00d8: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e8: ldc.i4.5 + IL_00e9: shr + IL_00ea: conv.u2 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f0: ret + } // end of method CompoundAssignmentTest::UshortRightShiftTest + + .method public hidebysig static void UshortBitAndTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: ldc.i4.5 + IL_0006: and + IL_0007: conv.u2 + IL_0008: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000d: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0012: ldc.i4.5 + IL_0013: and + IL_0014: conv.u2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0021: ldc.i4.5 + IL_0022: and + IL_0023: conv.u2 + IL_0024: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0030: ldc.i4.5 + IL_0031: and + IL_0032: conv.u2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0040: ldc.i4.5 + IL_0041: and + IL_0042: conv.u2 + IL_0043: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0050: ldc.i4.5 + IL_0051: and + IL_0052: conv.u2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0063: ldc.i4.5 + IL_0064: and + IL_0065: conv.u2 + IL_0066: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0076: ldc.i4.5 + IL_0077: and + IL_0078: conv.u2 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0089: ldc.i4.5 + IL_008a: and + IL_008b: conv.u2 + IL_008c: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_009c: ldc.i4.5 + IL_009d: and + IL_009e: conv.u2 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00af: ldc.i4.5 + IL_00b0: and + IL_00b1: conv.u2 + IL_00b2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c2: ldc.i4.5 + IL_00c3: and + IL_00c4: conv.u2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d5: ldc.i4.5 + IL_00d6: and + IL_00d7: conv.u2 + IL_00d8: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e8: ldc.i4.5 + IL_00e9: and + IL_00ea: conv.u2 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f0: ret + } // end of method CompoundAssignmentTest::UshortBitAndTest + + .method public hidebysig static void UshortBitOrTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: ldc.i4.5 + IL_0006: or + IL_0007: conv.u2 + IL_0008: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000d: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0012: ldc.i4.5 + IL_0013: or + IL_0014: conv.u2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0021: ldc.i4.5 + IL_0022: or + IL_0023: conv.u2 + IL_0024: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0030: ldc.i4.5 + IL_0031: or + IL_0032: conv.u2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0040: ldc.i4.5 + IL_0041: or + IL_0042: conv.u2 + IL_0043: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0050: ldc.i4.5 + IL_0051: or + IL_0052: conv.u2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0063: ldc.i4.5 + IL_0064: or + IL_0065: conv.u2 + IL_0066: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0076: ldc.i4.5 + IL_0077: or + IL_0078: conv.u2 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0089: ldc.i4.5 + IL_008a: or + IL_008b: conv.u2 + IL_008c: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_009c: ldc.i4.5 + IL_009d: or + IL_009e: conv.u2 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00af: ldc.i4.5 + IL_00b0: or + IL_00b1: conv.u2 + IL_00b2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c2: ldc.i4.5 + IL_00c3: or + IL_00c4: conv.u2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d5: ldc.i4.5 + IL_00d6: or + IL_00d7: conv.u2 + IL_00d8: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e8: ldc.i4.5 + IL_00e9: or + IL_00ea: conv.u2 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f0: ret + } // end of method CompoundAssignmentTest::UshortBitOrTest + + .method public hidebysig static void UshortBitXorTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: ldc.i4.5 + IL_0006: xor + IL_0007: conv.u2 + IL_0008: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000d: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0012: ldc.i4.5 + IL_0013: xor + IL_0014: conv.u2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0021: ldc.i4.5 + IL_0022: xor + IL_0023: conv.u2 + IL_0024: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0030: ldc.i4.5 + IL_0031: xor + IL_0032: conv.u2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0040: ldc.i4.5 + IL_0041: xor + IL_0042: conv.u2 + IL_0043: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0050: ldc.i4.5 + IL_0051: xor + IL_0052: conv.u2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0063: ldc.i4.5 + IL_0064: xor + IL_0065: conv.u2 + IL_0066: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0076: ldc.i4.5 + IL_0077: xor + IL_0078: conv.u2 + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0089: ldc.i4.5 + IL_008a: xor + IL_008b: conv.u2 + IL_008c: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_009c: ldc.i4.5 + IL_009d: xor + IL_009e: conv.u2 + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00af: ldc.i4.5 + IL_00b0: xor + IL_00b1: conv.u2 + IL_00b2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c2: ldc.i4.5 + IL_00c3: xor + IL_00c4: conv.u2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d5: ldc.i4.5 + IL_00d6: xor + IL_00d7: conv.u2 + IL_00d8: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e8: ldc.i4.5 + IL_00e9: xor + IL_00ea: conv.u2 + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f0: ret + } // end of method CompoundAssignmentTest::UshortBitXorTest + + .method public hidebysig static void UshortPostIncTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 365 (0x16d) + .maxstack 3 + .locals init (uint16 V_0, + uint16 V_1, + uint16 V_2, + uint16 V_3, + uint16 V_4, + uint16 V_5, + uint16 V_6, + uint16 V_7, + uint16 V_8, + uint16 V_9, + uint16 V_10, + uint16 V_11) + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.u2 + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0018: dup + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: conv.u2 + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002d: dup + IL_002e: stloc.0 + IL_002f: ldc.i4.1 + IL_0030: add + IL_0031: conv.u2 + IL_0032: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0044: dup + IL_0045: stloc.1 + IL_0046: ldc.i4.1 + IL_0047: add + IL_0048: conv.u2 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_004e: ldloc.1 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_005c: dup + IL_005d: stloc.2 + IL_005e: ldc.i4.1 + IL_005f: add + IL_0060: conv.u2 + IL_0061: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0066: ldloc.2 + IL_0067: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0074: dup + IL_0075: stloc.3 + IL_0076: ldc.i4.1 + IL_0077: add + IL_0078: conv.u2 + IL_0079: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_007e: ldloc.3 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_008f: dup + IL_0090: stloc.s V_4 + IL_0092: ldc.i4.1 + IL_0093: add + IL_0094: conv.u2 + IL_0095: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_009a: ldloc.s V_4 + IL_009c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a6: dup + IL_00a7: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00ac: dup + IL_00ad: stloc.s V_5 + IL_00af: ldc.i4.1 + IL_00b0: add + IL_00b1: conv.u2 + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00b7: ldloc.s V_5 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c3: dup + IL_00c4: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00c9: dup + IL_00ca: stloc.s V_6 + IL_00cc: ldc.i4.1 + IL_00cd: add + IL_00ce: conv.u2 + IL_00cf: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00d4: ldloc.s V_6 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00e6: dup + IL_00e7: stloc.s V_7 + IL_00e9: ldc.i4.1 + IL_00ea: add + IL_00eb: conv.u2 + IL_00ec: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00f1: ldloc.s V_7 + IL_00f3: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fd: dup + IL_00fe: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0103: dup + IL_0104: stloc.s V_8 + IL_0106: ldc.i4.1 + IL_0107: add + IL_0108: conv.u2 + IL_0109: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_010e: ldloc.s V_8 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011a: dup + IL_011b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0120: dup + IL_0121: stloc.s V_9 + IL_0123: ldc.i4.1 + IL_0124: add + IL_0125: conv.u2 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_012b: ldloc.s V_9 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0137: dup + IL_0138: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_013d: dup + IL_013e: stloc.s V_10 + IL_0140: ldc.i4.1 + IL_0141: add + IL_0142: conv.u2 + IL_0143: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0148: ldloc.s V_10 + IL_014a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_015a: dup + IL_015b: stloc.s V_11 + IL_015d: ldc.i4.1 + IL_015e: add + IL_015f: conv.u2 + IL_0160: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0165: ldloc.s V_11 + IL_0167: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016c: ret + } // end of method CompoundAssignmentTest::UshortPostIncTest + + .method public hidebysig static void UshortPreIncTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 365 (0x16d) + .maxstack 3 + .locals init (uint16 V_0, + uint16 V_1, + uint16 V_2, + uint16 V_3, + uint16 V_4, + uint16 V_5, + uint16 V_6, + uint16 V_7, + uint16 V_8, + uint16 V_9, + uint16 V_10, + uint16 V_11) + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: conv.u2 + IL_0008: dup + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0018: ldc.i4.1 + IL_0019: add + IL_001a: conv.u2 + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002d: ldc.i4.1 + IL_002e: add + IL_002f: conv.u2 + IL_0030: dup + IL_0031: stloc.0 + IL_0032: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0044: ldc.i4.1 + IL_0045: add + IL_0046: conv.u2 + IL_0047: dup + IL_0048: stloc.1 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_004e: ldloc.1 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_005c: ldc.i4.1 + IL_005d: add + IL_005e: conv.u2 + IL_005f: dup + IL_0060: stloc.2 + IL_0061: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0066: ldloc.2 + IL_0067: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0074: ldc.i4.1 + IL_0075: add + IL_0076: conv.u2 + IL_0077: dup + IL_0078: stloc.3 + IL_0079: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_007e: ldloc.3 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_008f: ldc.i4.1 + IL_0090: add + IL_0091: conv.u2 + IL_0092: dup + IL_0093: stloc.s V_4 + IL_0095: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_009a: ldloc.s V_4 + IL_009c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a6: dup + IL_00a7: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00ac: ldc.i4.1 + IL_00ad: add + IL_00ae: conv.u2 + IL_00af: dup + IL_00b0: stloc.s V_5 + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00b7: ldloc.s V_5 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c3: dup + IL_00c4: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00c9: ldc.i4.1 + IL_00ca: add + IL_00cb: conv.u2 + IL_00cc: dup + IL_00cd: stloc.s V_6 + IL_00cf: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00d4: ldloc.s V_6 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00e6: ldc.i4.1 + IL_00e7: add + IL_00e8: conv.u2 + IL_00e9: dup + IL_00ea: stloc.s V_7 + IL_00ec: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00f1: ldloc.s V_7 + IL_00f3: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fd: dup + IL_00fe: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0103: ldc.i4.1 + IL_0104: add + IL_0105: conv.u2 + IL_0106: dup + IL_0107: stloc.s V_8 + IL_0109: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_010e: ldloc.s V_8 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011a: dup + IL_011b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0120: ldc.i4.1 + IL_0121: add + IL_0122: conv.u2 + IL_0123: dup + IL_0124: stloc.s V_9 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_012b: ldloc.s V_9 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0137: dup + IL_0138: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_013d: ldc.i4.1 + IL_013e: add + IL_013f: conv.u2 + IL_0140: dup + IL_0141: stloc.s V_10 + IL_0143: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0148: ldloc.s V_10 + IL_014a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_015a: ldc.i4.1 + IL_015b: add + IL_015c: conv.u2 + IL_015d: dup + IL_015e: stloc.s V_11 + IL_0160: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0165: ldloc.s V_11 + IL_0167: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016c: ret + } // end of method CompoundAssignmentTest::UshortPreIncTest + + .method public hidebysig static void UshortPostDecTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 365 (0x16d) + .maxstack 3 + .locals init (uint16 V_0, + uint16 V_1, + uint16 V_2, + uint16 V_3, + uint16 V_4, + uint16 V_5, + uint16 V_6, + uint16 V_7, + uint16 V_8, + uint16 V_9, + uint16 V_10, + uint16 V_11) + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: sub + IL_0008: conv.u2 + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0018: dup + IL_0019: ldc.i4.1 + IL_001a: sub + IL_001b: conv.u2 + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002d: dup + IL_002e: stloc.0 + IL_002f: ldc.i4.1 + IL_0030: sub + IL_0031: conv.u2 + IL_0032: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0044: dup + IL_0045: stloc.1 + IL_0046: ldc.i4.1 + IL_0047: sub + IL_0048: conv.u2 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_004e: ldloc.1 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_005c: dup + IL_005d: stloc.2 + IL_005e: ldc.i4.1 + IL_005f: sub + IL_0060: conv.u2 + IL_0061: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0066: ldloc.2 + IL_0067: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0074: dup + IL_0075: stloc.3 + IL_0076: ldc.i4.1 + IL_0077: sub + IL_0078: conv.u2 + IL_0079: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_007e: ldloc.3 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_008f: dup + IL_0090: stloc.s V_4 + IL_0092: ldc.i4.1 + IL_0093: sub + IL_0094: conv.u2 + IL_0095: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_009a: ldloc.s V_4 + IL_009c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a6: dup + IL_00a7: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00ac: dup + IL_00ad: stloc.s V_5 + IL_00af: ldc.i4.1 + IL_00b0: sub + IL_00b1: conv.u2 + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00b7: ldloc.s V_5 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c3: dup + IL_00c4: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00c9: dup + IL_00ca: stloc.s V_6 + IL_00cc: ldc.i4.1 + IL_00cd: sub + IL_00ce: conv.u2 + IL_00cf: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00d4: ldloc.s V_6 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00e6: dup + IL_00e7: stloc.s V_7 + IL_00e9: ldc.i4.1 + IL_00ea: sub + IL_00eb: conv.u2 + IL_00ec: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00f1: ldloc.s V_7 + IL_00f3: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fd: dup + IL_00fe: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0103: dup + IL_0104: stloc.s V_8 + IL_0106: ldc.i4.1 + IL_0107: sub + IL_0108: conv.u2 + IL_0109: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_010e: ldloc.s V_8 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011a: dup + IL_011b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0120: dup + IL_0121: stloc.s V_9 + IL_0123: ldc.i4.1 + IL_0124: sub + IL_0125: conv.u2 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_012b: ldloc.s V_9 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0137: dup + IL_0138: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_013d: dup + IL_013e: stloc.s V_10 + IL_0140: ldc.i4.1 + IL_0141: sub + IL_0142: conv.u2 + IL_0143: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0148: ldloc.s V_10 + IL_014a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_015a: dup + IL_015b: stloc.s V_11 + IL_015d: ldc.i4.1 + IL_015e: sub + IL_015f: conv.u2 + IL_0160: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0165: ldloc.s V_11 + IL_0167: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016c: ret + } // end of method CompoundAssignmentTest::UshortPostDecTest + + .method public hidebysig static void UshortPreDecTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 365 (0x16d) + .maxstack 3 + .locals init (uint16 V_0, + uint16 V_1, + uint16 V_2, + uint16 V_3, + uint16 V_4, + uint16 V_5, + uint16 V_6, + uint16 V_7, + uint16 V_8, + uint16 V_9, + uint16 V_10, + uint16 V_11) + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: ldc.i4.1 + IL_0006: sub + IL_0007: conv.u2 + IL_0008: dup + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0018: ldc.i4.1 + IL_0019: sub + IL_001a: conv.u2 + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002d: ldc.i4.1 + IL_002e: sub + IL_002f: conv.u2 + IL_0030: dup + IL_0031: stloc.0 + IL_0032: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0044: ldc.i4.1 + IL_0045: sub + IL_0046: conv.u2 + IL_0047: dup + IL_0048: stloc.1 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_004e: ldloc.1 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_005c: ldc.i4.1 + IL_005d: sub + IL_005e: conv.u2 + IL_005f: dup + IL_0060: stloc.2 + IL_0061: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0066: ldloc.2 + IL_0067: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0074: ldc.i4.1 + IL_0075: sub + IL_0076: conv.u2 + IL_0077: dup + IL_0078: stloc.3 + IL_0079: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_007e: ldloc.3 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_008f: ldc.i4.1 + IL_0090: sub + IL_0091: conv.u2 + IL_0092: dup + IL_0093: stloc.s V_4 + IL_0095: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_009a: ldloc.s V_4 + IL_009c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a6: dup + IL_00a7: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00ac: ldc.i4.1 + IL_00ad: sub + IL_00ae: conv.u2 + IL_00af: dup + IL_00b0: stloc.s V_5 + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00b7: ldloc.s V_5 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c3: dup + IL_00c4: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00c9: ldc.i4.1 + IL_00ca: sub + IL_00cb: conv.u2 + IL_00cc: dup + IL_00cd: stloc.s V_6 + IL_00cf: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00d4: ldloc.s V_6 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00e6: ldc.i4.1 + IL_00e7: sub + IL_00e8: conv.u2 + IL_00e9: dup + IL_00ea: stloc.s V_7 + IL_00ec: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00f1: ldloc.s V_7 + IL_00f3: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fd: dup + IL_00fe: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0103: ldc.i4.1 + IL_0104: sub + IL_0105: conv.u2 + IL_0106: dup + IL_0107: stloc.s V_8 + IL_0109: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_010e: ldloc.s V_8 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011a: dup + IL_011b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0120: ldc.i4.1 + IL_0121: sub + IL_0122: conv.u2 + IL_0123: dup + IL_0124: stloc.s V_9 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_012b: ldloc.s V_9 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0137: dup + IL_0138: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_013d: ldc.i4.1 + IL_013e: sub + IL_013f: conv.u2 + IL_0140: dup + IL_0141: stloc.s V_10 + IL_0143: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0148: ldloc.s V_10 + IL_014a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_015a: ldc.i4.1 + IL_015b: sub + IL_015c: conv.u2 + IL_015d: dup + IL_015e: stloc.s V_11 + IL_0160: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0165: ldloc.s V_11 + IL_0167: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016c: ret + } // end of method CompoundAssignmentTest::UshortPreDecTest + + .method public hidebysig static void IntAddTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 227 (0xe3) + .maxstack 3 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: ldc.i4.5 + IL_0006: add + IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000c: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0011: ldc.i4.5 + IL_0012: add + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_001f: ldc.i4.5 + IL_0020: add + IL_0021: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002d: ldc.i4.5 + IL_002e: add + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0034: ldarga.s s + IL_0036: dup + IL_0037: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003c: ldc.i4.5 + IL_003d: add + IL_003e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004b: ldc.i4.5 + IL_004c: add + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0052: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0057: dup + IL_0058: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005d: ldc.i4.5 + IL_005e: add + IL_005f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0064: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0069: dup + IL_006a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_006f: ldc.i4.5 + IL_0070: add + IL_0071: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0076: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007b: dup + IL_007c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0081: ldc.i4.5 + IL_0082: add + IL_0083: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0088: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008d: dup + IL_008e: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0093: ldc.i4.5 + IL_0094: add + IL_0095: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a5: ldc.i4.5 + IL_00a6: add + IL_00a7: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b7: ldc.i4.5 + IL_00b8: add + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00be: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c3: dup + IL_00c4: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00c9: ldc.i4.5 + IL_00ca: add + IL_00cb: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d5: dup + IL_00d6: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00db: ldc.i4.5 + IL_00dc: add + IL_00dd: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e2: ret + } // end of method CompoundAssignmentTest::IntAddTest + + .method public hidebysig static void IntSubtractTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 227 (0xe3) + .maxstack 3 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: ldc.i4.5 + IL_0006: sub + IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000c: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0011: ldc.i4.5 + IL_0012: sub + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_001f: ldc.i4.5 + IL_0020: sub + IL_0021: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002d: ldc.i4.5 + IL_002e: sub + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0034: ldarga.s s + IL_0036: dup + IL_0037: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003c: ldc.i4.5 + IL_003d: sub + IL_003e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004b: ldc.i4.5 + IL_004c: sub + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0052: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0057: dup + IL_0058: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005d: ldc.i4.5 + IL_005e: sub + IL_005f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0064: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0069: dup + IL_006a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_006f: ldc.i4.5 + IL_0070: sub + IL_0071: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0076: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007b: dup + IL_007c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0081: ldc.i4.5 + IL_0082: sub + IL_0083: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0088: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008d: dup + IL_008e: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0093: ldc.i4.5 + IL_0094: sub + IL_0095: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a5: ldc.i4.5 + IL_00a6: sub + IL_00a7: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b7: ldc.i4.5 + IL_00b8: sub + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00be: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c3: dup + IL_00c4: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00c9: ldc.i4.5 + IL_00ca: sub + IL_00cb: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d5: dup + IL_00d6: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00db: ldc.i4.5 + IL_00dc: sub + IL_00dd: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e2: ret + } // end of method CompoundAssignmentTest::IntSubtractTest + + .method public hidebysig static void IntMultiplyTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 227 (0xe3) + .maxstack 3 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: ldc.i4.5 + IL_0006: mul + IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000c: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0011: ldc.i4.5 + IL_0012: mul + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_001f: ldc.i4.5 + IL_0020: mul + IL_0021: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002d: ldc.i4.5 + IL_002e: mul + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0034: ldarga.s s + IL_0036: dup + IL_0037: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003c: ldc.i4.5 + IL_003d: mul + IL_003e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004b: ldc.i4.5 + IL_004c: mul + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0052: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0057: dup + IL_0058: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005d: ldc.i4.5 + IL_005e: mul + IL_005f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0064: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0069: dup + IL_006a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_006f: ldc.i4.5 + IL_0070: mul + IL_0071: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0076: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007b: dup + IL_007c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0081: ldc.i4.5 + IL_0082: mul + IL_0083: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0088: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008d: dup + IL_008e: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0093: ldc.i4.5 + IL_0094: mul + IL_0095: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a5: ldc.i4.5 + IL_00a6: mul + IL_00a7: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b7: ldc.i4.5 + IL_00b8: mul + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00be: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c3: dup + IL_00c4: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00c9: ldc.i4.5 + IL_00ca: mul + IL_00cb: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d5: dup + IL_00d6: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00db: ldc.i4.5 + IL_00dc: mul + IL_00dd: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e2: ret + } // end of method CompoundAssignmentTest::IntMultiplyTest + + .method public hidebysig static void IntDivideTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 227 (0xe3) + .maxstack 3 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: ldc.i4.5 + IL_0006: div + IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000c: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0011: ldc.i4.5 + IL_0012: div + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_001f: ldc.i4.5 + IL_0020: div + IL_0021: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002d: ldc.i4.5 + IL_002e: div + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0034: ldarga.s s + IL_0036: dup + IL_0037: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003c: ldc.i4.5 + IL_003d: div + IL_003e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004b: ldc.i4.5 + IL_004c: div + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0052: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0057: dup + IL_0058: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005d: ldc.i4.5 + IL_005e: div + IL_005f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0064: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0069: dup + IL_006a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_006f: ldc.i4.5 + IL_0070: div + IL_0071: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0076: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007b: dup + IL_007c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0081: ldc.i4.5 + IL_0082: div + IL_0083: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0088: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008d: dup + IL_008e: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0093: ldc.i4.5 + IL_0094: div + IL_0095: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a5: ldc.i4.5 + IL_00a6: div + IL_00a7: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b7: ldc.i4.5 + IL_00b8: div + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00be: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c3: dup + IL_00c4: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00c9: ldc.i4.5 + IL_00ca: div + IL_00cb: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d5: dup + IL_00d6: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00db: ldc.i4.5 + IL_00dc: div + IL_00dd: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e2: ret + } // end of method CompoundAssignmentTest::IntDivideTest + + .method public hidebysig static void IntModulusTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 227 (0xe3) + .maxstack 3 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: ldc.i4.5 + IL_0006: rem + IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000c: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0011: ldc.i4.5 + IL_0012: rem + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_001f: ldc.i4.5 + IL_0020: rem + IL_0021: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002d: ldc.i4.5 + IL_002e: rem + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0034: ldarga.s s + IL_0036: dup + IL_0037: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003c: ldc.i4.5 + IL_003d: rem + IL_003e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004b: ldc.i4.5 + IL_004c: rem + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0052: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0057: dup + IL_0058: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005d: ldc.i4.5 + IL_005e: rem + IL_005f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0064: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0069: dup + IL_006a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_006f: ldc.i4.5 + IL_0070: rem + IL_0071: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0076: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007b: dup + IL_007c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0081: ldc.i4.5 + IL_0082: rem + IL_0083: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0088: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008d: dup + IL_008e: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0093: ldc.i4.5 + IL_0094: rem + IL_0095: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a5: ldc.i4.5 + IL_00a6: rem + IL_00a7: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b7: ldc.i4.5 + IL_00b8: rem + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00be: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c3: dup + IL_00c4: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00c9: ldc.i4.5 + IL_00ca: rem + IL_00cb: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d5: dup + IL_00d6: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00db: ldc.i4.5 + IL_00dc: rem + IL_00dd: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e2: ret + } // end of method CompoundAssignmentTest::IntModulusTest + + .method public hidebysig static void IntLeftShiftTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 227 (0xe3) + .maxstack 3 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: ldc.i4.5 + IL_0006: shl + IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000c: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0011: ldc.i4.5 + IL_0012: shl + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_001f: ldc.i4.5 + IL_0020: shl + IL_0021: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002d: ldc.i4.5 + IL_002e: shl + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0034: ldarga.s s + IL_0036: dup + IL_0037: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003c: ldc.i4.5 + IL_003d: shl + IL_003e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004b: ldc.i4.5 + IL_004c: shl + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0052: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0057: dup + IL_0058: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005d: ldc.i4.5 + IL_005e: shl + IL_005f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0064: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0069: dup + IL_006a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_006f: ldc.i4.5 + IL_0070: shl + IL_0071: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0076: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007b: dup + IL_007c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0081: ldc.i4.5 + IL_0082: shl + IL_0083: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0088: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008d: dup + IL_008e: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0093: ldc.i4.5 + IL_0094: shl + IL_0095: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a5: ldc.i4.5 + IL_00a6: shl + IL_00a7: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b7: ldc.i4.5 + IL_00b8: shl + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00be: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c3: dup + IL_00c4: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00c9: ldc.i4.5 + IL_00ca: shl + IL_00cb: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d5: dup + IL_00d6: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00db: ldc.i4.5 + IL_00dc: shl + IL_00dd: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e2: ret + } // end of method CompoundAssignmentTest::IntLeftShiftTest + + .method public hidebysig static void IntRightShiftTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 227 (0xe3) + .maxstack 3 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: ldc.i4.5 + IL_0006: shr + IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000c: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0011: ldc.i4.5 + IL_0012: shr + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_001f: ldc.i4.5 + IL_0020: shr + IL_0021: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002d: ldc.i4.5 + IL_002e: shr + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0034: ldarga.s s + IL_0036: dup + IL_0037: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003c: ldc.i4.5 + IL_003d: shr + IL_003e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004b: ldc.i4.5 + IL_004c: shr + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0052: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0057: dup + IL_0058: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005d: ldc.i4.5 + IL_005e: shr + IL_005f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0064: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0069: dup + IL_006a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_006f: ldc.i4.5 + IL_0070: shr + IL_0071: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0076: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007b: dup + IL_007c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0081: ldc.i4.5 + IL_0082: shr + IL_0083: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0088: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008d: dup + IL_008e: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0093: ldc.i4.5 + IL_0094: shr + IL_0095: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a5: ldc.i4.5 + IL_00a6: shr + IL_00a7: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b7: ldc.i4.5 + IL_00b8: shr + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00be: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c3: dup + IL_00c4: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00c9: ldc.i4.5 + IL_00ca: shr + IL_00cb: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d5: dup + IL_00d6: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00db: ldc.i4.5 + IL_00dc: shr + IL_00dd: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e2: ret + } // end of method CompoundAssignmentTest::IntRightShiftTest + + .method public hidebysig static void IntBitAndTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 227 (0xe3) + .maxstack 3 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: ldc.i4.5 + IL_0006: and + IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000c: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0011: ldc.i4.5 + IL_0012: and + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_001f: ldc.i4.5 + IL_0020: and + IL_0021: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002d: ldc.i4.5 + IL_002e: and + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0034: ldarga.s s + IL_0036: dup + IL_0037: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003c: ldc.i4.5 + IL_003d: and + IL_003e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004b: ldc.i4.5 + IL_004c: and + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0052: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0057: dup + IL_0058: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005d: ldc.i4.5 + IL_005e: and + IL_005f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0064: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0069: dup + IL_006a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_006f: ldc.i4.5 + IL_0070: and + IL_0071: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0076: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007b: dup + IL_007c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0081: ldc.i4.5 + IL_0082: and + IL_0083: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0088: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008d: dup + IL_008e: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0093: ldc.i4.5 + IL_0094: and + IL_0095: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a5: ldc.i4.5 + IL_00a6: and + IL_00a7: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b7: ldc.i4.5 + IL_00b8: and + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00be: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c3: dup + IL_00c4: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00c9: ldc.i4.5 + IL_00ca: and + IL_00cb: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d5: dup + IL_00d6: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00db: ldc.i4.5 + IL_00dc: and + IL_00dd: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e2: ret + } // end of method CompoundAssignmentTest::IntBitAndTest + + .method public hidebysig static void IntBitOrTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 227 (0xe3) + .maxstack 3 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: ldc.i4.5 + IL_0006: or + IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000c: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0011: ldc.i4.5 + IL_0012: or + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_001f: ldc.i4.5 + IL_0020: or + IL_0021: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002d: ldc.i4.5 + IL_002e: or + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0034: ldarga.s s + IL_0036: dup + IL_0037: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003c: ldc.i4.5 + IL_003d: or + IL_003e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004b: ldc.i4.5 + IL_004c: or + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0052: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0057: dup + IL_0058: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005d: ldc.i4.5 + IL_005e: or + IL_005f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0064: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0069: dup + IL_006a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_006f: ldc.i4.5 + IL_0070: or + IL_0071: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0076: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007b: dup + IL_007c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0081: ldc.i4.5 + IL_0082: or + IL_0083: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0088: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008d: dup + IL_008e: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0093: ldc.i4.5 + IL_0094: or + IL_0095: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a5: ldc.i4.5 + IL_00a6: or + IL_00a7: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b7: ldc.i4.5 + IL_00b8: or + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00be: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c3: dup + IL_00c4: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00c9: ldc.i4.5 + IL_00ca: or + IL_00cb: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d5: dup + IL_00d6: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00db: ldc.i4.5 + IL_00dc: or + IL_00dd: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e2: ret + } // end of method CompoundAssignmentTest::IntBitOrTest + + .method public hidebysig static void IntBitXorTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 227 (0xe3) + .maxstack 3 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: ldc.i4.5 + IL_0006: xor + IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000c: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0011: ldc.i4.5 + IL_0012: xor + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_001f: ldc.i4.5 + IL_0020: xor + IL_0021: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002d: ldc.i4.5 + IL_002e: xor + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0034: ldarga.s s + IL_0036: dup + IL_0037: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003c: ldc.i4.5 + IL_003d: xor + IL_003e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004b: ldc.i4.5 + IL_004c: xor + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0052: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0057: dup + IL_0058: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005d: ldc.i4.5 + IL_005e: xor + IL_005f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0064: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0069: dup + IL_006a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_006f: ldc.i4.5 + IL_0070: xor + IL_0071: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0076: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007b: dup + IL_007c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0081: ldc.i4.5 + IL_0082: xor + IL_0083: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0088: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008d: dup + IL_008e: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0093: ldc.i4.5 + IL_0094: xor + IL_0095: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a5: ldc.i4.5 + IL_00a6: xor + IL_00a7: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b7: ldc.i4.5 + IL_00b8: xor + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00be: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c3: dup + IL_00c4: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00c9: ldc.i4.5 + IL_00ca: xor + IL_00cb: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d5: dup + IL_00d6: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00db: ldc.i4.5 + IL_00dc: xor + IL_00dd: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e2: ret + } // end of method CompoundAssignmentTest::IntBitXorTest - .method public hidebysig instance void - Int32_Local_Div(int32 i) cil managed + .method public hidebysig static void IntPostIncTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 17 (0x11) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldc.i4.5 - IL_0002: div - IL_0003: starg.s i - IL_0005: ldarg.1 - IL_0006: ldc.i4.5 - IL_0007: div - IL_0008: dup - IL_0009: starg.s i - IL_000b: call void [mscorlib]System.Console::WriteLine(int32) - IL_0010: ret - } // end of method CompoundAssignmentTest::Int32_Local_Div + // Code size 351 (0x15f) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1, + int32 V_2, + int32 V_3, + int32 V_4, + int32 V_5, + int32 V_6, + int32 V_7, + int32 V_8, + int32 V_9, + int32 V_10, + int32 V_11) + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0012: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0017: dup + IL_0018: ldc.i4.1 + IL_0019: add + IL_001a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_001f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0024: ldarg.1 + IL_0025: dup + IL_0026: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_002b: dup + IL_002c: stloc.0 + IL_002d: ldc.i4.1 + IL_002e: add + IL_002f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0034: ldloc.0 + IL_0035: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003a: ldarg.1 + IL_003b: dup + IL_003c: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0041: dup + IL_0042: stloc.1 + IL_0043: ldc.i4.1 + IL_0044: add + IL_0045: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_004a: ldloc.1 + IL_004b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0050: ldarga.s s + IL_0052: dup + IL_0053: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0058: dup + IL_0059: stloc.2 + IL_005a: ldc.i4.1 + IL_005b: add + IL_005c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0061: ldloc.2 + IL_0062: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0067: ldarga.s s + IL_0069: dup + IL_006a: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_006f: dup + IL_0070: stloc.3 + IL_0071: ldc.i4.1 + IL_0072: add + IL_0073: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0078: ldloc.3 + IL_0079: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0083: dup + IL_0084: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0089: dup + IL_008a: stloc.s V_4 + IL_008c: ldc.i4.1 + IL_008d: add + IL_008e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0093: ldloc.s V_4 + IL_0095: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009f: dup + IL_00a0: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00a5: dup + IL_00a6: stloc.s V_5 + IL_00a8: ldc.i4.1 + IL_00a9: add + IL_00aa: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00af: ldloc.s V_5 + IL_00b1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bb: dup + IL_00bc: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00c1: dup + IL_00c2: stloc.s V_6 + IL_00c4: ldc.i4.1 + IL_00c5: add + IL_00c6: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00cb: ldloc.s V_6 + IL_00cd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d2: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d7: dup + IL_00d8: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00dd: dup + IL_00de: stloc.s V_7 + IL_00e0: ldc.i4.1 + IL_00e1: add + IL_00e2: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00e7: ldloc.s V_7 + IL_00e9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ee: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00f3: dup + IL_00f4: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00f9: dup + IL_00fa: stloc.s V_8 + IL_00fc: ldc.i4.1 + IL_00fd: add + IL_00fe: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0103: ldloc.s V_8 + IL_0105: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010f: dup + IL_0110: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0115: dup + IL_0116: stloc.s V_9 + IL_0118: ldc.i4.1 + IL_0119: add + IL_011a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_011f: ldloc.s V_9 + IL_0121: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0126: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_012b: dup + IL_012c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0131: dup + IL_0132: stloc.s V_10 + IL_0134: ldc.i4.1 + IL_0135: add + IL_0136: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_013b: ldloc.s V_10 + IL_013d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0142: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0147: dup + IL_0148: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_014d: dup + IL_014e: stloc.s V_11 + IL_0150: ldc.i4.1 + IL_0151: add + IL_0152: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0157: ldloc.s V_11 + IL_0159: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015e: ret + } // end of method CompoundAssignmentTest::IntPostIncTest - .method public hidebysig instance void - Int32_Local_Rem(int32 i) cil managed + .method public hidebysig static void IntPreIncTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 17 (0x11) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldc.i4.5 - IL_0002: rem - IL_0003: starg.s i - IL_0005: ldarg.1 - IL_0006: ldc.i4.5 - IL_0007: rem - IL_0008: dup - IL_0009: starg.s i - IL_000b: call void [mscorlib]System.Console::WriteLine(int32) - IL_0010: ret - } // end of method CompoundAssignmentTest::Int32_Local_Rem + // Code size 351 (0x15f) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1, + int32 V_2, + int32 V_3, + int32 V_4, + int32 V_5, + int32 V_6, + int32 V_7, + int32 V_8, + int32 V_9, + int32 V_10, + int32 V_11) + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: dup + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0012: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0017: ldc.i4.1 + IL_0018: add + IL_0019: dup + IL_001a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_001f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0024: ldarg.1 + IL_0025: dup + IL_0026: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_002b: ldc.i4.1 + IL_002c: add + IL_002d: dup + IL_002e: stloc.0 + IL_002f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0034: ldloc.0 + IL_0035: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003a: ldarg.1 + IL_003b: dup + IL_003c: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0041: ldc.i4.1 + IL_0042: add + IL_0043: dup + IL_0044: stloc.1 + IL_0045: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_004a: ldloc.1 + IL_004b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0050: ldarga.s s + IL_0052: dup + IL_0053: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0058: ldc.i4.1 + IL_0059: add + IL_005a: dup + IL_005b: stloc.2 + IL_005c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0061: ldloc.2 + IL_0062: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0067: ldarga.s s + IL_0069: dup + IL_006a: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_006f: ldc.i4.1 + IL_0070: add + IL_0071: dup + IL_0072: stloc.3 + IL_0073: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0078: ldloc.3 + IL_0079: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0083: dup + IL_0084: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0089: ldc.i4.1 + IL_008a: add + IL_008b: dup + IL_008c: stloc.s V_4 + IL_008e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0093: ldloc.s V_4 + IL_0095: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009f: dup + IL_00a0: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00a5: ldc.i4.1 + IL_00a6: add + IL_00a7: dup + IL_00a8: stloc.s V_5 + IL_00aa: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00af: ldloc.s V_5 + IL_00b1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bb: dup + IL_00bc: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00c1: ldc.i4.1 + IL_00c2: add + IL_00c3: dup + IL_00c4: stloc.s V_6 + IL_00c6: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00cb: ldloc.s V_6 + IL_00cd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d2: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d7: dup + IL_00d8: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00dd: ldc.i4.1 + IL_00de: add + IL_00df: dup + IL_00e0: stloc.s V_7 + IL_00e2: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00e7: ldloc.s V_7 + IL_00e9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ee: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00f3: dup + IL_00f4: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00f9: ldc.i4.1 + IL_00fa: add + IL_00fb: dup + IL_00fc: stloc.s V_8 + IL_00fe: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0103: ldloc.s V_8 + IL_0105: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010f: dup + IL_0110: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0115: ldc.i4.1 + IL_0116: add + IL_0117: dup + IL_0118: stloc.s V_9 + IL_011a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_011f: ldloc.s V_9 + IL_0121: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0126: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_012b: dup + IL_012c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0131: ldc.i4.1 + IL_0132: add + IL_0133: dup + IL_0134: stloc.s V_10 + IL_0136: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_013b: ldloc.s V_10 + IL_013d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0142: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0147: dup + IL_0148: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_014d: ldc.i4.1 + IL_014e: add + IL_014f: dup + IL_0150: stloc.s V_11 + IL_0152: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0157: ldloc.s V_11 + IL_0159: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015e: ret + } // end of method CompoundAssignmentTest::IntPreIncTest - .method public hidebysig instance void - Int32_Local_BitAnd(int32 i) cil managed + .method public hidebysig static void IntPostDecTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 17 (0x11) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldc.i4.5 - IL_0002: and - IL_0003: starg.s i - IL_0005: ldarg.1 - IL_0006: ldc.i4.5 - IL_0007: and - IL_0008: dup - IL_0009: starg.s i - IL_000b: call void [mscorlib]System.Console::WriteLine(int32) - IL_0010: ret - } // end of method CompoundAssignmentTest::Int32_Local_BitAnd + // Code size 351 (0x15f) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1, + int32 V_2, + int32 V_3, + int32 V_4, + int32 V_5, + int32 V_6, + int32 V_7, + int32 V_8, + int32 V_9, + int32 V_10, + int32 V_11) + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: sub + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0012: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0017: dup + IL_0018: ldc.i4.1 + IL_0019: sub + IL_001a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_001f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0024: ldarg.1 + IL_0025: dup + IL_0026: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_002b: dup + IL_002c: stloc.0 + IL_002d: ldc.i4.1 + IL_002e: sub + IL_002f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0034: ldloc.0 + IL_0035: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003a: ldarg.1 + IL_003b: dup + IL_003c: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0041: dup + IL_0042: stloc.1 + IL_0043: ldc.i4.1 + IL_0044: sub + IL_0045: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_004a: ldloc.1 + IL_004b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0050: ldarga.s s + IL_0052: dup + IL_0053: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0058: dup + IL_0059: stloc.2 + IL_005a: ldc.i4.1 + IL_005b: sub + IL_005c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0061: ldloc.2 + IL_0062: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0067: ldarga.s s + IL_0069: dup + IL_006a: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_006f: dup + IL_0070: stloc.3 + IL_0071: ldc.i4.1 + IL_0072: sub + IL_0073: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0078: ldloc.3 + IL_0079: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0083: dup + IL_0084: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0089: dup + IL_008a: stloc.s V_4 + IL_008c: ldc.i4.1 + IL_008d: sub + IL_008e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0093: ldloc.s V_4 + IL_0095: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009f: dup + IL_00a0: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00a5: dup + IL_00a6: stloc.s V_5 + IL_00a8: ldc.i4.1 + IL_00a9: sub + IL_00aa: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00af: ldloc.s V_5 + IL_00b1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bb: dup + IL_00bc: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00c1: dup + IL_00c2: stloc.s V_6 + IL_00c4: ldc.i4.1 + IL_00c5: sub + IL_00c6: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00cb: ldloc.s V_6 + IL_00cd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d2: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d7: dup + IL_00d8: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00dd: dup + IL_00de: stloc.s V_7 + IL_00e0: ldc.i4.1 + IL_00e1: sub + IL_00e2: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00e7: ldloc.s V_7 + IL_00e9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ee: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00f3: dup + IL_00f4: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00f9: dup + IL_00fa: stloc.s V_8 + IL_00fc: ldc.i4.1 + IL_00fd: sub + IL_00fe: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0103: ldloc.s V_8 + IL_0105: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010f: dup + IL_0110: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0115: dup + IL_0116: stloc.s V_9 + IL_0118: ldc.i4.1 + IL_0119: sub + IL_011a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_011f: ldloc.s V_9 + IL_0121: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0126: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_012b: dup + IL_012c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0131: dup + IL_0132: stloc.s V_10 + IL_0134: ldc.i4.1 + IL_0135: sub + IL_0136: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_013b: ldloc.s V_10 + IL_013d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0142: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0147: dup + IL_0148: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_014d: dup + IL_014e: stloc.s V_11 + IL_0150: ldc.i4.1 + IL_0151: sub + IL_0152: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0157: ldloc.s V_11 + IL_0159: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015e: ret + } // end of method CompoundAssignmentTest::IntPostDecTest - .method public hidebysig instance void - Int32_Local_BitOr(int32 i) cil managed + .method public hidebysig static void IntPreDecTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 17 (0x11) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldc.i4.5 - IL_0002: or - IL_0003: starg.s i - IL_0005: ldarg.1 - IL_0006: ldc.i4.5 - IL_0007: or - IL_0008: dup - IL_0009: starg.s i - IL_000b: call void [mscorlib]System.Console::WriteLine(int32) - IL_0010: ret - } // end of method CompoundAssignmentTest::Int32_Local_BitOr + // Code size 351 (0x15f) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1, + int32 V_2, + int32 V_3, + int32 V_4, + int32 V_5, + int32 V_6, + int32 V_7, + int32 V_8, + int32 V_9, + int32 V_10, + int32 V_11) + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: ldc.i4.1 + IL_0006: sub + IL_0007: dup + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0012: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0017: ldc.i4.1 + IL_0018: sub + IL_0019: dup + IL_001a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_001f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0024: ldarg.1 + IL_0025: dup + IL_0026: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_002b: ldc.i4.1 + IL_002c: sub + IL_002d: dup + IL_002e: stloc.0 + IL_002f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0034: ldloc.0 + IL_0035: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003a: ldarg.1 + IL_003b: dup + IL_003c: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0041: ldc.i4.1 + IL_0042: sub + IL_0043: dup + IL_0044: stloc.1 + IL_0045: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_004a: ldloc.1 + IL_004b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0050: ldarga.s s + IL_0052: dup + IL_0053: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0058: ldc.i4.1 + IL_0059: sub + IL_005a: dup + IL_005b: stloc.2 + IL_005c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0061: ldloc.2 + IL_0062: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0067: ldarga.s s + IL_0069: dup + IL_006a: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_006f: ldc.i4.1 + IL_0070: sub + IL_0071: dup + IL_0072: stloc.3 + IL_0073: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0078: ldloc.3 + IL_0079: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0083: dup + IL_0084: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0089: ldc.i4.1 + IL_008a: sub + IL_008b: dup + IL_008c: stloc.s V_4 + IL_008e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0093: ldloc.s V_4 + IL_0095: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009f: dup + IL_00a0: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00a5: ldc.i4.1 + IL_00a6: sub + IL_00a7: dup + IL_00a8: stloc.s V_5 + IL_00aa: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00af: ldloc.s V_5 + IL_00b1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bb: dup + IL_00bc: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00c1: ldc.i4.1 + IL_00c2: sub + IL_00c3: dup + IL_00c4: stloc.s V_6 + IL_00c6: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00cb: ldloc.s V_6 + IL_00cd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d2: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d7: dup + IL_00d8: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00dd: ldc.i4.1 + IL_00de: sub + IL_00df: dup + IL_00e0: stloc.s V_7 + IL_00e2: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00e7: ldloc.s V_7 + IL_00e9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ee: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00f3: dup + IL_00f4: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00f9: ldc.i4.1 + IL_00fa: sub + IL_00fb: dup + IL_00fc: stloc.s V_8 + IL_00fe: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0103: ldloc.s V_8 + IL_0105: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010f: dup + IL_0110: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0115: ldc.i4.1 + IL_0116: sub + IL_0117: dup + IL_0118: stloc.s V_9 + IL_011a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_011f: ldloc.s V_9 + IL_0121: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0126: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_012b: dup + IL_012c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0131: ldc.i4.1 + IL_0132: sub + IL_0133: dup + IL_0134: stloc.s V_10 + IL_0136: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_013b: ldloc.s V_10 + IL_013d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0142: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0147: dup + IL_0148: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_014d: ldc.i4.1 + IL_014e: sub + IL_014f: dup + IL_0150: stloc.s V_11 + IL_0152: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0157: ldloc.s V_11 + IL_0159: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015e: ret + } // end of method CompoundAssignmentTest::IntPreDecTest - .method public hidebysig instance void - Int32_Local_BitXor(int32 i) cil managed + .method public hidebysig static void UintAddTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 17 (0x11) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldc.i4.5 - IL_0002: xor - IL_0003: starg.s i - IL_0005: ldarg.1 - IL_0006: ldc.i4.5 - IL_0007: xor - IL_0008: dup - IL_0009: starg.s i - IL_000b: call void [mscorlib]System.Console::WriteLine(int32) - IL_0010: ret - } // end of method CompoundAssignmentTest::Int32_Local_BitXor + // Code size 227 (0xe3) + .maxstack 3 + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: ldc.i4.5 + IL_0006: add + IL_0007: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000c: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0011: ldc.i4.5 + IL_0012: add + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_001f: ldc.i4.5 + IL_0020: add + IL_0021: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002d: ldc.i4.5 + IL_002e: add + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0034: ldarga.s s + IL_0036: dup + IL_0037: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003c: ldc.i4.5 + IL_003d: add + IL_003e: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004b: ldc.i4.5 + IL_004c: add + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0052: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0057: dup + IL_0058: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005d: ldc.i4.5 + IL_005e: add + IL_005f: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0064: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0069: dup + IL_006a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_006f: ldc.i4.5 + IL_0070: add + IL_0071: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0076: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007b: dup + IL_007c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0081: ldc.i4.5 + IL_0082: add + IL_0083: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0088: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008d: dup + IL_008e: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0093: ldc.i4.5 + IL_0094: add + IL_0095: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a5: ldc.i4.5 + IL_00a6: add + IL_00a7: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b7: ldc.i4.5 + IL_00b8: add + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00be: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c3: dup + IL_00c4: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00c9: ldc.i4.5 + IL_00ca: add + IL_00cb: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d5: dup + IL_00d6: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00db: ldc.i4.5 + IL_00dc: add + IL_00dd: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e2: ret + } // end of method CompoundAssignmentTest::UintAddTest - .method public hidebysig instance void - Int32_Local_ShiftLeft(int32 i) cil managed + .method public hidebysig static void UintSubtractTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 17 (0x11) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldc.i4.5 - IL_0002: shl - IL_0003: starg.s i - IL_0005: ldarg.1 - IL_0006: ldc.i4.5 - IL_0007: shl - IL_0008: dup - IL_0009: starg.s i - IL_000b: call void [mscorlib]System.Console::WriteLine(int32) - IL_0010: ret - } // end of method CompoundAssignmentTest::Int32_Local_ShiftLeft + // Code size 227 (0xe3) + .maxstack 3 + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: ldc.i4.5 + IL_0006: sub + IL_0007: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000c: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0011: ldc.i4.5 + IL_0012: sub + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_001f: ldc.i4.5 + IL_0020: sub + IL_0021: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002d: ldc.i4.5 + IL_002e: sub + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0034: ldarga.s s + IL_0036: dup + IL_0037: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003c: ldc.i4.5 + IL_003d: sub + IL_003e: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004b: ldc.i4.5 + IL_004c: sub + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0052: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0057: dup + IL_0058: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005d: ldc.i4.5 + IL_005e: sub + IL_005f: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0064: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0069: dup + IL_006a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_006f: ldc.i4.5 + IL_0070: sub + IL_0071: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0076: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007b: dup + IL_007c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0081: ldc.i4.5 + IL_0082: sub + IL_0083: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0088: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008d: dup + IL_008e: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0093: ldc.i4.5 + IL_0094: sub + IL_0095: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a5: ldc.i4.5 + IL_00a6: sub + IL_00a7: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b7: ldc.i4.5 + IL_00b8: sub + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00be: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c3: dup + IL_00c4: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00c9: ldc.i4.5 + IL_00ca: sub + IL_00cb: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d5: dup + IL_00d6: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00db: ldc.i4.5 + IL_00dc: sub + IL_00dd: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e2: ret + } // end of method CompoundAssignmentTest::UintSubtractTest - .method public hidebysig instance void - Int32_Local_ShiftRight(int32 i) cil managed + .method public hidebysig static void UintMultiplyTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 17 (0x11) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldc.i4.5 - IL_0002: shr - IL_0003: starg.s i - IL_0005: ldarg.1 - IL_0006: ldc.i4.5 - IL_0007: shr - IL_0008: dup - IL_0009: starg.s i - IL_000b: call void [mscorlib]System.Console::WriteLine(int32) - IL_0010: ret - } // end of method CompoundAssignmentTest::Int32_Local_ShiftRight + // Code size 227 (0xe3) + .maxstack 3 + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: ldc.i4.5 + IL_0006: mul + IL_0007: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000c: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0011: ldc.i4.5 + IL_0012: mul + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_001f: ldc.i4.5 + IL_0020: mul + IL_0021: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002d: ldc.i4.5 + IL_002e: mul + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0034: ldarga.s s + IL_0036: dup + IL_0037: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003c: ldc.i4.5 + IL_003d: mul + IL_003e: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004b: ldc.i4.5 + IL_004c: mul + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0052: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0057: dup + IL_0058: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005d: ldc.i4.5 + IL_005e: mul + IL_005f: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0064: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0069: dup + IL_006a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_006f: ldc.i4.5 + IL_0070: mul + IL_0071: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0076: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007b: dup + IL_007c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0081: ldc.i4.5 + IL_0082: mul + IL_0083: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0088: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008d: dup + IL_008e: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0093: ldc.i4.5 + IL_0094: mul + IL_0095: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a5: ldc.i4.5 + IL_00a6: mul + IL_00a7: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b7: ldc.i4.5 + IL_00b8: mul + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00be: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c3: dup + IL_00c4: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00c9: ldc.i4.5 + IL_00ca: mul + IL_00cb: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d5: dup + IL_00d6: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00db: ldc.i4.5 + IL_00dc: mul + IL_00dd: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e2: ret + } // end of method CompoundAssignmentTest::UintMultiplyTest - .method public hidebysig instance void - IntegerWithInline(int32 i) cil managed + .method public hidebysig static void UintDivideTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 18 (0x12) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldc.i4.5 - IL_0002: add - IL_0003: dup - IL_0004: starg.s i - IL_0006: call void [mscorlib]System.Console::WriteLine(int32) - IL_000b: ldarg.1 - IL_000c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0011: ret - } // end of method CompoundAssignmentTest::IntegerWithInline + // Code size 227 (0xe3) + .maxstack 3 + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: ldc.i4.5 + IL_0006: div.un + IL_0007: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000c: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0011: ldc.i4.5 + IL_0012: div.un + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_001f: ldc.i4.5 + IL_0020: div.un + IL_0021: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002d: ldc.i4.5 + IL_002e: div.un + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0034: ldarga.s s + IL_0036: dup + IL_0037: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003c: ldc.i4.5 + IL_003d: div.un + IL_003e: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004b: ldc.i4.5 + IL_004c: div.un + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0052: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0057: dup + IL_0058: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005d: ldc.i4.5 + IL_005e: div.un + IL_005f: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0064: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0069: dup + IL_006a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_006f: ldc.i4.5 + IL_0070: div.un + IL_0071: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0076: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007b: dup + IL_007c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0081: ldc.i4.5 + IL_0082: div.un + IL_0083: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0088: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008d: dup + IL_008e: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0093: ldc.i4.5 + IL_0094: div.un + IL_0095: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a5: ldc.i4.5 + IL_00a6: div.un + IL_00a7: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b7: ldc.i4.5 + IL_00b8: div.un + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00be: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c3: dup + IL_00c4: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00c9: ldc.i4.5 + IL_00ca: div.un + IL_00cb: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d5: dup + IL_00d6: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00db: ldc.i4.5 + IL_00dc: div.un + IL_00dd: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e2: ret + } // end of method CompoundAssignmentTest::UintDivideTest - .method public hidebysig instance void - IntegerField(int32 i) cil managed + .method public hidebysig static void UintModulusTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 67 (0x43) + // Code size 227 (0xe3) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) - IL_0000: ldarg.0 - IL_0001: dup - IL_0002: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 - IL_0007: ldarg.1 - IL_0008: add - IL_0009: dup - IL_000a: stloc.0 - IL_000b: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 - IL_0010: ldloc.0 - IL_0011: call void [mscorlib]System.Console::WriteLine(int32) - IL_0016: ldarg.0 - IL_0017: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 - IL_001c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0021: ldarg.0 - IL_0022: dup - IL_0023: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 - IL_0028: ldarg.1 - IL_0029: sub - IL_002a: dup - IL_002b: stloc.1 - IL_002c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 - IL_0031: ldloc.1 - IL_0032: call void [mscorlib]System.Console::WriteLine(int32) - IL_0037: ldarg.0 - IL_0038: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 - IL_003d: call void [mscorlib]System.Console::WriteLine(int32) - IL_0042: ret - } // end of method CompoundAssignmentTest::IntegerField + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: ldc.i4.5 + IL_0006: rem.un + IL_0007: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000c: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0011: ldc.i4.5 + IL_0012: rem.un + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_001f: ldc.i4.5 + IL_0020: rem.un + IL_0021: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002d: ldc.i4.5 + IL_002e: rem.un + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0034: ldarga.s s + IL_0036: dup + IL_0037: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003c: ldc.i4.5 + IL_003d: rem.un + IL_003e: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004b: ldc.i4.5 + IL_004c: rem.un + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0052: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0057: dup + IL_0058: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005d: ldc.i4.5 + IL_005e: rem.un + IL_005f: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0064: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0069: dup + IL_006a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_006f: ldc.i4.5 + IL_0070: rem.un + IL_0071: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0076: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007b: dup + IL_007c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0081: ldc.i4.5 + IL_0082: rem.un + IL_0083: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0088: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008d: dup + IL_008e: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0093: ldc.i4.5 + IL_0094: rem.un + IL_0095: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a5: ldc.i4.5 + IL_00a6: rem.un + IL_00a7: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b7: ldc.i4.5 + IL_00b8: rem.un + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00be: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c3: dup + IL_00c4: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00c9: ldc.i4.5 + IL_00ca: rem.un + IL_00cb: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d5: dup + IL_00d6: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00db: ldc.i4.5 + IL_00dc: rem.un + IL_00dd: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e2: ret + } // end of method CompoundAssignmentTest::UintModulusTest - .method public hidebysig instance void - Array(int32 i) cil managed + .method public hidebysig static void UintLeftShiftTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 71 (0x47) - .maxstack 4 - .locals init (int32 V_0, - int32 V_1) - IL_0000: ldarg.0 - IL_0001: ldfld int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::array1 - IL_0006: ldarg.1 - IL_0007: ldelema [mscorlib]System.Int32 - IL_000c: dup - IL_000d: ldobj [mscorlib]System.Int32 - IL_0012: ldarg.1 - IL_0013: add - IL_0014: dup - IL_0015: stloc.0 - IL_0016: stobj [mscorlib]System.Int32 - IL_001b: ldloc.0 - IL_001c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0021: ldarg.0 - IL_0022: ldfld int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::array1 - IL_0027: ldarg.1 - IL_0028: ldc.i4.2 - IL_0029: mul - IL_002a: ldelema [mscorlib]System.Int32 - IL_002f: dup - IL_0030: ldobj [mscorlib]System.Int32 - IL_0035: ldarg.1 - IL_0036: ldc.i4.2 - IL_0037: mul - IL_0038: add - IL_0039: dup - IL_003a: stloc.1 - IL_003b: stobj [mscorlib]System.Int32 - IL_0040: ldloc.1 - IL_0041: call void [mscorlib]System.Console::WriteLine(int32) - IL_0046: ret - } // end of method CompoundAssignmentTest::Array + // Code size 227 (0xe3) + .maxstack 3 + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: ldc.i4.5 + IL_0006: shl + IL_0007: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000c: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0011: ldc.i4.5 + IL_0012: shl + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_001f: ldc.i4.5 + IL_0020: shl + IL_0021: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002d: ldc.i4.5 + IL_002e: shl + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0034: ldarga.s s + IL_0036: dup + IL_0037: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003c: ldc.i4.5 + IL_003d: shl + IL_003e: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004b: ldc.i4.5 + IL_004c: shl + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0052: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0057: dup + IL_0058: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005d: ldc.i4.5 + IL_005e: shl + IL_005f: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0064: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0069: dup + IL_006a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_006f: ldc.i4.5 + IL_0070: shl + IL_0071: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0076: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007b: dup + IL_007c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0081: ldc.i4.5 + IL_0082: shl + IL_0083: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0088: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008d: dup + IL_008e: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0093: ldc.i4.5 + IL_0094: shl + IL_0095: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a5: ldc.i4.5 + IL_00a6: shl + IL_00a7: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b7: ldc.i4.5 + IL_00b8: shl + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00be: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c3: dup + IL_00c4: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00c9: ldc.i4.5 + IL_00ca: shl + IL_00cb: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d5: dup + IL_00d6: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00db: ldc.i4.5 + IL_00dc: shl + IL_00dd: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e2: ret + } // end of method CompoundAssignmentTest::UintLeftShiftTest - .method public hidebysig instance int32 - ArrayUsageWithMethods() cil managed + .method public hidebysig static void UintRightShiftTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 34 (0x22) + // Code size 227 (0xe3) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.0 - IL_0001: call instance int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetArray() - IL_0006: ldarg.0 - IL_0007: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetIndex() - IL_000c: ldelema [mscorlib]System.Int32 - IL_0011: dup - IL_0012: ldobj [mscorlib]System.Int32 - IL_0017: dup - IL_0018: stloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stobj [mscorlib]System.Int32 - IL_0020: ldloc.0 - IL_0021: ret - } // end of method CompoundAssignmentTest::ArrayUsageWithMethods + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: ldc.i4.5 + IL_0006: shr.un + IL_0007: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000c: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0011: ldc.i4.5 + IL_0012: shr.un + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_001f: ldc.i4.5 + IL_0020: shr.un + IL_0021: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002d: ldc.i4.5 + IL_002e: shr.un + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0034: ldarga.s s + IL_0036: dup + IL_0037: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003c: ldc.i4.5 + IL_003d: shr.un + IL_003e: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004b: ldc.i4.5 + IL_004c: shr.un + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0052: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0057: dup + IL_0058: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005d: ldc.i4.5 + IL_005e: shr.un + IL_005f: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0064: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0069: dup + IL_006a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_006f: ldc.i4.5 + IL_0070: shr.un + IL_0071: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0076: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007b: dup + IL_007c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0081: ldc.i4.5 + IL_0082: shr.un + IL_0083: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0088: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008d: dup + IL_008e: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0093: ldc.i4.5 + IL_0094: shr.un + IL_0095: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a5: ldc.i4.5 + IL_00a6: shr.un + IL_00a7: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b7: ldc.i4.5 + IL_00b8: shr.un + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00be: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c3: dup + IL_00c4: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00c9: ldc.i4.5 + IL_00ca: shr.un + IL_00cb: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d5: dup + IL_00d6: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00db: ldc.i4.5 + IL_00dc: shr.un + IL_00dd: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e2: ret + } // end of method CompoundAssignmentTest::UintRightShiftTest + + .method public hidebysig static void UintBitAndTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 227 (0xe3) + .maxstack 3 + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: ldc.i4.5 + IL_0006: and + IL_0007: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000c: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0011: ldc.i4.5 + IL_0012: and + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_001f: ldc.i4.5 + IL_0020: and + IL_0021: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002d: ldc.i4.5 + IL_002e: and + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0034: ldarga.s s + IL_0036: dup + IL_0037: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003c: ldc.i4.5 + IL_003d: and + IL_003e: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004b: ldc.i4.5 + IL_004c: and + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0052: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0057: dup + IL_0058: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005d: ldc.i4.5 + IL_005e: and + IL_005f: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0064: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0069: dup + IL_006a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_006f: ldc.i4.5 + IL_0070: and + IL_0071: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0076: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007b: dup + IL_007c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0081: ldc.i4.5 + IL_0082: and + IL_0083: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0088: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008d: dup + IL_008e: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0093: ldc.i4.5 + IL_0094: and + IL_0095: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a5: ldc.i4.5 + IL_00a6: and + IL_00a7: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b7: ldc.i4.5 + IL_00b8: and + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00be: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c3: dup + IL_00c4: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00c9: ldc.i4.5 + IL_00ca: and + IL_00cb: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d5: dup + IL_00d6: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00db: ldc.i4.5 + IL_00dc: and + IL_00dd: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e2: ret + } // end of method CompoundAssignmentTest::UintBitAndTest - .method public hidebysig instance void - NestedField() cil managed + .method public hidebysig static void UintBitOrTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 87 (0x57) + // Code size 227 (0xe3) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) - IL_0000: ldarg.0 - IL_0001: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 - IL_0006: ldfld bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::HasIndex - IL_000b: brfalse.s IL_0056 + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: ldc.i4.5 + IL_0006: or + IL_0007: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000c: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0011: ldc.i4.5 + IL_0012: or + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_001f: ldc.i4.5 + IL_0020: or + IL_0021: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002d: ldc.i4.5 + IL_002e: or + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0034: ldarga.s s + IL_0036: dup + IL_0037: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003c: ldc.i4.5 + IL_003d: or + IL_003e: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004b: ldc.i4.5 + IL_004c: or + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0052: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0057: dup + IL_0058: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005d: ldc.i4.5 + IL_005e: or + IL_005f: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0064: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0069: dup + IL_006a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_006f: ldc.i4.5 + IL_0070: or + IL_0071: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0076: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007b: dup + IL_007c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0081: ldc.i4.5 + IL_0082: or + IL_0083: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0088: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008d: dup + IL_008e: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0093: ldc.i4.5 + IL_0094: or + IL_0095: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a5: ldc.i4.5 + IL_00a6: or + IL_00a7: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b7: ldc.i4.5 + IL_00b8: or + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00be: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c3: dup + IL_00c4: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00c9: ldc.i4.5 + IL_00ca: or + IL_00cb: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d5: dup + IL_00d6: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00db: ldc.i4.5 + IL_00dc: or + IL_00dd: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e2: ret + } // end of method CompoundAssignmentTest::UintBitOrTest - IL_000d: ldarg.0 - IL_000e: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 - IL_0013: dup - IL_0014: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field - IL_0019: ldc.i4.2 - IL_001a: mul - IL_001b: dup - IL_001c: stloc.0 - IL_001d: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field - IL_0022: ldloc.0 - IL_0023: call void [mscorlib]System.Console::WriteLine(int32) - IL_0028: ldarg.0 - IL_0029: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 - IL_002e: dup - IL_002f: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field - IL_0034: ldc.i4.1 - IL_0035: add - IL_0036: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field - IL_003b: ldarg.0 - IL_003c: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 + .method public hidebysig static void UintBitXorTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 227 (0xe3) + .maxstack 3 + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: ldc.i4.5 + IL_0006: xor + IL_0007: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000c: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0011: ldc.i4.5 + IL_0012: xor + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_001f: ldc.i4.5 + IL_0020: xor + IL_0021: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002d: ldc.i4.5 + IL_002e: xor + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0034: ldarga.s s + IL_0036: dup + IL_0037: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003c: ldc.i4.5 + IL_003d: xor + IL_003e: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004b: ldc.i4.5 + IL_004c: xor + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0052: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0057: dup + IL_0058: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005d: ldc.i4.5 + IL_005e: xor + IL_005f: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0064: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0069: dup + IL_006a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_006f: ldc.i4.5 + IL_0070: xor + IL_0071: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0076: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007b: dup + IL_007c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0081: ldc.i4.5 + IL_0082: xor + IL_0083: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0088: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008d: dup + IL_008e: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0093: ldc.i4.5 + IL_0094: xor + IL_0095: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a5: ldc.i4.5 + IL_00a6: xor + IL_00a7: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b7: ldc.i4.5 + IL_00b8: xor + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00be: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c3: dup + IL_00c4: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00c9: ldc.i4.5 + IL_00ca: xor + IL_00cb: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d5: dup + IL_00d6: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00db: ldc.i4.5 + IL_00dc: xor + IL_00dd: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e2: ret + } // end of method CompoundAssignmentTest::UintBitXorTest + + .method public hidebysig static void UintPostIncTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 351 (0x15f) + .maxstack 3 + .locals init (uint32 V_0, + uint32 V_1, + uint32 V_2, + uint32 V_3, + uint32 V_4, + uint32 V_5, + uint32 V_6, + uint32 V_7, + uint32 V_8, + uint32 V_9, + uint32 V_10, + uint32 V_11) + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0012: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0017: dup + IL_0018: ldc.i4.1 + IL_0019: add + IL_001a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_001f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0024: ldarg.1 + IL_0025: dup + IL_0026: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_002b: dup + IL_002c: stloc.0 + IL_002d: ldc.i4.1 + IL_002e: add + IL_002f: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0034: ldloc.0 + IL_0035: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003a: ldarg.1 + IL_003b: dup + IL_003c: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() IL_0041: dup - IL_0042: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field - IL_0047: dup - IL_0048: stloc.1 - IL_0049: ldc.i4.1 - IL_004a: add - IL_004b: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field - IL_0050: ldloc.1 - IL_0051: call void [mscorlib]System.Console::WriteLine(int32) - IL_0056: ret - } // end of method CompoundAssignmentTest::NestedField + IL_0042: stloc.1 + IL_0043: ldc.i4.1 + IL_0044: add + IL_0045: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_004a: ldloc.1 + IL_004b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0050: ldarga.s s + IL_0052: dup + IL_0053: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0058: dup + IL_0059: stloc.2 + IL_005a: ldc.i4.1 + IL_005b: add + IL_005c: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0061: ldloc.2 + IL_0062: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0067: ldarga.s s + IL_0069: dup + IL_006a: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_006f: dup + IL_0070: stloc.3 + IL_0071: ldc.i4.1 + IL_0072: add + IL_0073: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0078: ldloc.3 + IL_0079: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0083: dup + IL_0084: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0089: dup + IL_008a: stloc.s V_4 + IL_008c: ldc.i4.1 + IL_008d: add + IL_008e: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0093: ldloc.s V_4 + IL_0095: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009f: dup + IL_00a0: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00a5: dup + IL_00a6: stloc.s V_5 + IL_00a8: ldc.i4.1 + IL_00a9: add + IL_00aa: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00af: ldloc.s V_5 + IL_00b1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bb: dup + IL_00bc: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00c1: dup + IL_00c2: stloc.s V_6 + IL_00c4: ldc.i4.1 + IL_00c5: add + IL_00c6: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00cb: ldloc.s V_6 + IL_00cd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d2: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d7: dup + IL_00d8: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00dd: dup + IL_00de: stloc.s V_7 + IL_00e0: ldc.i4.1 + IL_00e1: add + IL_00e2: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00e7: ldloc.s V_7 + IL_00e9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ee: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00f3: dup + IL_00f4: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00f9: dup + IL_00fa: stloc.s V_8 + IL_00fc: ldc.i4.1 + IL_00fd: add + IL_00fe: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0103: ldloc.s V_8 + IL_0105: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010f: dup + IL_0110: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0115: dup + IL_0116: stloc.s V_9 + IL_0118: ldc.i4.1 + IL_0119: add + IL_011a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_011f: ldloc.s V_9 + IL_0121: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0126: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_012b: dup + IL_012c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0131: dup + IL_0132: stloc.s V_10 + IL_0134: ldc.i4.1 + IL_0135: add + IL_0136: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_013b: ldloc.s V_10 + IL_013d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0142: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0147: dup + IL_0148: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_014d: dup + IL_014e: stloc.s V_11 + IL_0150: ldc.i4.1 + IL_0151: add + IL_0152: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0157: ldloc.s V_11 + IL_0159: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015e: ret + } // end of method CompoundAssignmentTest::UintPostIncTest - .method public hidebysig instance void - Enum() cil managed + .method public hidebysig static void UintPreIncTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 58 (0x3a) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: dup - IL_0002: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_0007: ldc.i4.2 - IL_0008: or - IL_0009: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_000e: ldarg.0 - IL_000f: dup - IL_0010: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_0015: ldc.i4.s -5 - IL_0017: and - IL_0018: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_001d: ldarg.0 - IL_001e: dup - IL_001f: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_0024: ldc.i4.2 - IL_0025: add - IL_0026: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_002b: ldarg.0 - IL_002c: dup - IL_002d: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_0032: ldc.i4.3 - IL_0033: sub - IL_0034: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_0039: ret - } // end of method CompoundAssignmentTest::Enum + // Code size 351 (0x15f) + .maxstack 3 + .locals init (uint32 V_0, + uint32 V_1, + uint32 V_2, + uint32 V_3, + uint32 V_4, + uint32 V_5, + uint32 V_6, + uint32 V_7, + uint32 V_8, + uint32 V_9, + uint32 V_10, + uint32 V_11) + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: dup + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0012: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0017: ldc.i4.1 + IL_0018: add + IL_0019: dup + IL_001a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_001f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0024: ldarg.1 + IL_0025: dup + IL_0026: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_002b: ldc.i4.1 + IL_002c: add + IL_002d: dup + IL_002e: stloc.0 + IL_002f: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0034: ldloc.0 + IL_0035: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003a: ldarg.1 + IL_003b: dup + IL_003c: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0041: ldc.i4.1 + IL_0042: add + IL_0043: dup + IL_0044: stloc.1 + IL_0045: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_004a: ldloc.1 + IL_004b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0050: ldarga.s s + IL_0052: dup + IL_0053: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0058: ldc.i4.1 + IL_0059: add + IL_005a: dup + IL_005b: stloc.2 + IL_005c: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0061: ldloc.2 + IL_0062: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0067: ldarga.s s + IL_0069: dup + IL_006a: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_006f: ldc.i4.1 + IL_0070: add + IL_0071: dup + IL_0072: stloc.3 + IL_0073: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0078: ldloc.3 + IL_0079: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0083: dup + IL_0084: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0089: ldc.i4.1 + IL_008a: add + IL_008b: dup + IL_008c: stloc.s V_4 + IL_008e: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0093: ldloc.s V_4 + IL_0095: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009f: dup + IL_00a0: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00a5: ldc.i4.1 + IL_00a6: add + IL_00a7: dup + IL_00a8: stloc.s V_5 + IL_00aa: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00af: ldloc.s V_5 + IL_00b1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bb: dup + IL_00bc: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00c1: ldc.i4.1 + IL_00c2: add + IL_00c3: dup + IL_00c4: stloc.s V_6 + IL_00c6: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00cb: ldloc.s V_6 + IL_00cd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d2: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d7: dup + IL_00d8: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00dd: ldc.i4.1 + IL_00de: add + IL_00df: dup + IL_00e0: stloc.s V_7 + IL_00e2: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00e7: ldloc.s V_7 + IL_00e9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ee: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00f3: dup + IL_00f4: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00f9: ldc.i4.1 + IL_00fa: add + IL_00fb: dup + IL_00fc: stloc.s V_8 + IL_00fe: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0103: ldloc.s V_8 + IL_0105: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010f: dup + IL_0110: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0115: ldc.i4.1 + IL_0116: add + IL_0117: dup + IL_0118: stloc.s V_9 + IL_011a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_011f: ldloc.s V_9 + IL_0121: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0126: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_012b: dup + IL_012c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0131: ldc.i4.1 + IL_0132: add + IL_0133: dup + IL_0134: stloc.s V_10 + IL_0136: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_013b: ldloc.s V_10 + IL_013d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0142: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0147: dup + IL_0148: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_014d: ldc.i4.1 + IL_014e: add + IL_014f: dup + IL_0150: stloc.s V_11 + IL_0152: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0157: ldloc.s V_11 + IL_0159: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015e: ret + } // end of method CompoundAssignmentTest::UintPreIncTest - .method public hidebysig instance void - ShortEnumTest() cil managed + .method public hidebysig static void UintPostDecTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 61 (0x3d) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: dup - IL_0002: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_0007: ldc.i4.2 - IL_0008: or - IL_0009: conv.i2 - IL_000a: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_000f: ldarg.0 - IL_0010: dup - IL_0011: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_0016: ldc.i4.4 - IL_0017: and - IL_0018: conv.i2 - IL_0019: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_001e: ldarg.0 - IL_001f: dup - IL_0020: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_0025: ldc.i4.2 - IL_0026: add - IL_0027: conv.i2 - IL_0028: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_002d: ldarg.0 - IL_002e: dup - IL_002f: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_0034: ldc.i4.3 - IL_0035: sub - IL_0036: conv.i2 - IL_0037: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_003c: ret - } // end of method CompoundAssignmentTest::ShortEnumTest + // Code size 351 (0x15f) + .maxstack 3 + .locals init (uint32 V_0, + uint32 V_1, + uint32 V_2, + uint32 V_3, + uint32 V_4, + uint32 V_5, + uint32 V_6, + uint32 V_7, + uint32 V_8, + uint32 V_9, + uint32 V_10, + uint32 V_11) + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: sub + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0012: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0017: dup + IL_0018: ldc.i4.1 + IL_0019: sub + IL_001a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_001f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0024: ldarg.1 + IL_0025: dup + IL_0026: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_002b: dup + IL_002c: stloc.0 + IL_002d: ldc.i4.1 + IL_002e: sub + IL_002f: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0034: ldloc.0 + IL_0035: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003a: ldarg.1 + IL_003b: dup + IL_003c: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0041: dup + IL_0042: stloc.1 + IL_0043: ldc.i4.1 + IL_0044: sub + IL_0045: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_004a: ldloc.1 + IL_004b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0050: ldarga.s s + IL_0052: dup + IL_0053: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0058: dup + IL_0059: stloc.2 + IL_005a: ldc.i4.1 + IL_005b: sub + IL_005c: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0061: ldloc.2 + IL_0062: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0067: ldarga.s s + IL_0069: dup + IL_006a: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_006f: dup + IL_0070: stloc.3 + IL_0071: ldc.i4.1 + IL_0072: sub + IL_0073: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0078: ldloc.3 + IL_0079: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0083: dup + IL_0084: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0089: dup + IL_008a: stloc.s V_4 + IL_008c: ldc.i4.1 + IL_008d: sub + IL_008e: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0093: ldloc.s V_4 + IL_0095: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009f: dup + IL_00a0: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00a5: dup + IL_00a6: stloc.s V_5 + IL_00a8: ldc.i4.1 + IL_00a9: sub + IL_00aa: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00af: ldloc.s V_5 + IL_00b1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bb: dup + IL_00bc: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00c1: dup + IL_00c2: stloc.s V_6 + IL_00c4: ldc.i4.1 + IL_00c5: sub + IL_00c6: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00cb: ldloc.s V_6 + IL_00cd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d2: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d7: dup + IL_00d8: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00dd: dup + IL_00de: stloc.s V_7 + IL_00e0: ldc.i4.1 + IL_00e1: sub + IL_00e2: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00e7: ldloc.s V_7 + IL_00e9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ee: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00f3: dup + IL_00f4: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00f9: dup + IL_00fa: stloc.s V_8 + IL_00fc: ldc.i4.1 + IL_00fd: sub + IL_00fe: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0103: ldloc.s V_8 + IL_0105: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010f: dup + IL_0110: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0115: dup + IL_0116: stloc.s V_9 + IL_0118: ldc.i4.1 + IL_0119: sub + IL_011a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_011f: ldloc.s V_9 + IL_0121: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0126: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_012b: dup + IL_012c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0131: dup + IL_0132: stloc.s V_10 + IL_0134: ldc.i4.1 + IL_0135: sub + IL_0136: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_013b: ldloc.s V_10 + IL_013d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0142: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0147: dup + IL_0148: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_014d: dup + IL_014e: stloc.s V_11 + IL_0150: ldc.i4.1 + IL_0151: sub + IL_0152: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0157: ldloc.s V_11 + IL_0159: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015e: ret + } // end of method CompoundAssignmentTest::UintPostDecTest - .method public hidebysig instance int32 - PreIncrementInAddition(int32 i, - int32 j) cil managed + .method public hidebysig static void UintPreDecTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 9 (0x9) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldarg.2 - IL_0002: ldc.i4.1 - IL_0003: add - IL_0004: dup - IL_0005: starg.s j + // Code size 351 (0x15f) + .maxstack 3 + .locals init (uint32 V_0, + uint32 V_1, + uint32 V_2, + uint32 V_3, + uint32 V_4, + uint32 V_5, + uint32 V_6, + uint32 V_7, + uint32 V_8, + uint32 V_9, + uint32 V_10, + uint32 V_11) + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: ldc.i4.1 + IL_0006: sub + IL_0007: dup + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0012: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0017: ldc.i4.1 + IL_0018: sub + IL_0019: dup + IL_001a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_001f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0024: ldarg.1 + IL_0025: dup + IL_0026: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_002b: ldc.i4.1 + IL_002c: sub + IL_002d: dup + IL_002e: stloc.0 + IL_002f: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0034: ldloc.0 + IL_0035: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003a: ldarg.1 + IL_003b: dup + IL_003c: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0041: ldc.i4.1 + IL_0042: sub + IL_0043: dup + IL_0044: stloc.1 + IL_0045: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_004a: ldloc.1 + IL_004b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0050: ldarga.s s + IL_0052: dup + IL_0053: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0058: ldc.i4.1 + IL_0059: sub + IL_005a: dup + IL_005b: stloc.2 + IL_005c: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0061: ldloc.2 + IL_0062: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0067: ldarga.s s + IL_0069: dup + IL_006a: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_006f: ldc.i4.1 + IL_0070: sub + IL_0071: dup + IL_0072: stloc.3 + IL_0073: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0078: ldloc.3 + IL_0079: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007e: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0083: dup + IL_0084: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0089: ldc.i4.1 + IL_008a: sub + IL_008b: dup + IL_008c: stloc.s V_4 + IL_008e: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0093: ldloc.s V_4 + IL_0095: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009f: dup + IL_00a0: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00a5: ldc.i4.1 + IL_00a6: sub + IL_00a7: dup + IL_00a8: stloc.s V_5 + IL_00aa: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00af: ldloc.s V_5 + IL_00b1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bb: dup + IL_00bc: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00c1: ldc.i4.1 + IL_00c2: sub + IL_00c3: dup + IL_00c4: stloc.s V_6 + IL_00c6: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00cb: ldloc.s V_6 + IL_00cd: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d2: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d7: dup + IL_00d8: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00dd: ldc.i4.1 + IL_00de: sub + IL_00df: dup + IL_00e0: stloc.s V_7 + IL_00e2: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00e7: ldloc.s V_7 + IL_00e9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ee: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00f3: dup + IL_00f4: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00f9: ldc.i4.1 + IL_00fa: sub + IL_00fb: dup + IL_00fc: stloc.s V_8 + IL_00fe: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0103: ldloc.s V_8 + IL_0105: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010f: dup + IL_0110: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0115: ldc.i4.1 + IL_0116: sub + IL_0117: dup + IL_0118: stloc.s V_9 + IL_011a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_011f: ldloc.s V_9 + IL_0121: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0126: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_012b: dup + IL_012c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0131: ldc.i4.1 + IL_0132: sub + IL_0133: dup + IL_0134: stloc.s V_10 + IL_0136: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_013b: ldloc.s V_10 + IL_013d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0142: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0147: dup + IL_0148: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_014d: ldc.i4.1 + IL_014e: sub + IL_014f: dup + IL_0150: stloc.s V_11 + IL_0152: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0157: ldloc.s V_11 + IL_0159: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015e: ret + } // end of method CompoundAssignmentTest::UintPreDecTest + + .method public hidebysig static void LongAddTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 IL_0007: add - IL_0008: ret - } // end of method CompoundAssignmentTest::PreIncrementInAddition + IL_0008: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000d: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: add + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: add + IL_0024: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: add + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0040: ldc.i4.5 + IL_0041: conv.i8 + IL_0042: add + IL_0043: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: add + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0063: ldc.i4.5 + IL_0064: conv.i8 + IL_0065: add + IL_0066: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0076: ldc.i4.5 + IL_0077: conv.i8 + IL_0078: add + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0089: ldc.i4.5 + IL_008a: conv.i8 + IL_008b: add + IL_008c: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_009c: ldc.i4.5 + IL_009d: conv.i8 + IL_009e: add + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: add + IL_00b2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: add + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d5: ldc.i4.5 + IL_00d6: conv.i8 + IL_00d7: add + IL_00d8: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e8: ldc.i4.5 + IL_00e9: conv.i8 + IL_00ea: add + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00f0: ret + } // end of method CompoundAssignmentTest::LongAddTest - .method public hidebysig instance int32 - PreIncrementArrayElement(int32[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongSubtractTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 24 (0x18) + // Code size 241 (0xf1) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.1 - IL_0001: ldarg.2 - IL_0002: ldelema [mscorlib]System.Int32 - IL_0007: dup - IL_0008: ldobj [mscorlib]System.Int32 - IL_000d: ldc.i4.1 - IL_000e: sub - IL_000f: dup - IL_0010: stloc.0 - IL_0011: stobj [mscorlib]System.Int32 - IL_0016: ldloc.0 - IL_0017: ret - } // end of method CompoundAssignmentTest::PreIncrementArrayElement + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: sub + IL_0008: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000d: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: sub + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: sub + IL_0024: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: sub + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0040: ldc.i4.5 + IL_0041: conv.i8 + IL_0042: sub + IL_0043: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: sub + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0063: ldc.i4.5 + IL_0064: conv.i8 + IL_0065: sub + IL_0066: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0076: ldc.i4.5 + IL_0077: conv.i8 + IL_0078: sub + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0089: ldc.i4.5 + IL_008a: conv.i8 + IL_008b: sub + IL_008c: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_009c: ldc.i4.5 + IL_009d: conv.i8 + IL_009e: sub + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: sub + IL_00b2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: sub + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d5: ldc.i4.5 + IL_00d6: conv.i8 + IL_00d7: sub + IL_00d8: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e8: ldc.i4.5 + IL_00e9: conv.i8 + IL_00ea: sub + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00f0: ret + } // end of method CompoundAssignmentTest::LongSubtractTest - .method public hidebysig instance int32 - PostIncrementArrayElement(int32[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongMultiplyTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 24 (0x18) + // Code size 241 (0xf1) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.1 - IL_0001: ldarg.2 - IL_0002: ldelema [mscorlib]System.Int32 - IL_0007: dup - IL_0008: ldobj [mscorlib]System.Int32 - IL_000d: dup - IL_000e: stloc.0 - IL_000f: ldc.i4.1 - IL_0010: add - IL_0011: stobj [mscorlib]System.Int32 - IL_0016: ldloc.0 - IL_0017: ret - } // end of method CompoundAssignmentTest::PostIncrementArrayElement + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: mul + IL_0008: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000d: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: mul + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: mul + IL_0024: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: mul + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0040: ldc.i4.5 + IL_0041: conv.i8 + IL_0042: mul + IL_0043: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: mul + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0063: ldc.i4.5 + IL_0064: conv.i8 + IL_0065: mul + IL_0066: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0076: ldc.i4.5 + IL_0077: conv.i8 + IL_0078: mul + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0089: ldc.i4.5 + IL_008a: conv.i8 + IL_008b: mul + IL_008c: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_009c: ldc.i4.5 + IL_009d: conv.i8 + IL_009e: mul + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: mul + IL_00b2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: mul + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d5: ldc.i4.5 + IL_00d6: conv.i8 + IL_00d7: mul + IL_00d8: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e8: ldc.i4.5 + IL_00e9: conv.i8 + IL_00ea: mul + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00f0: ret + } // end of method CompoundAssignmentTest::LongMultiplyTest - .method public hidebysig instance void - IncrementArrayElement(int32[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongDivideTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 21 (0x15) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldarg.2 - IL_0002: ldelema [mscorlib]System.Int32 - IL_0007: dup - IL_0008: ldobj [mscorlib]System.Int32 - IL_000d: ldc.i4.1 - IL_000e: add - IL_000f: stobj [mscorlib]System.Int32 - IL_0014: ret - } // end of method CompoundAssignmentTest::IncrementArrayElement + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: div + IL_0008: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000d: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: div + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: div + IL_0024: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: div + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0040: ldc.i4.5 + IL_0041: conv.i8 + IL_0042: div + IL_0043: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: div + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0063: ldc.i4.5 + IL_0064: conv.i8 + IL_0065: div + IL_0066: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0076: ldc.i4.5 + IL_0077: conv.i8 + IL_0078: div + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0089: ldc.i4.5 + IL_008a: conv.i8 + IL_008b: div + IL_008c: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_009c: ldc.i4.5 + IL_009d: conv.i8 + IL_009e: div + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: div + IL_00b2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: div + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d5: ldc.i4.5 + IL_00d6: conv.i8 + IL_00d7: div + IL_00d8: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e8: ldc.i4.5 + IL_00e9: conv.i8 + IL_00ea: div + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00f0: ret + } // end of method CompoundAssignmentTest::LongDivideTest - .method public hidebysig instance void - DoubleArrayElement(int32[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongModulusTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 21 (0x15) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldarg.2 - IL_0002: ldelema [mscorlib]System.Int32 - IL_0007: dup - IL_0008: ldobj [mscorlib]System.Int32 - IL_000d: ldc.i4.2 - IL_000e: mul - IL_000f: stobj [mscorlib]System.Int32 - IL_0014: ret - } // end of method CompoundAssignmentTest::DoubleArrayElement + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: rem + IL_0008: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000d: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: rem + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: rem + IL_0024: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: rem + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0040: ldc.i4.5 + IL_0041: conv.i8 + IL_0042: rem + IL_0043: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: rem + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0063: ldc.i4.5 + IL_0064: conv.i8 + IL_0065: rem + IL_0066: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0076: ldc.i4.5 + IL_0077: conv.i8 + IL_0078: rem + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0089: ldc.i4.5 + IL_008a: conv.i8 + IL_008b: rem + IL_008c: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_009c: ldc.i4.5 + IL_009d: conv.i8 + IL_009e: rem + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: rem + IL_00b2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: rem + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d5: ldc.i4.5 + IL_00d6: conv.i8 + IL_00d7: rem + IL_00d8: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e8: ldc.i4.5 + IL_00e9: conv.i8 + IL_00ea: rem + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00f0: ret + } // end of method CompoundAssignmentTest::LongModulusTest - .method public hidebysig instance int32 - DoubleArrayElementAndReturn(int32[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongLeftShiftTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 24 (0x18) + // Code size 227 (0xe3) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.1 - IL_0001: ldarg.2 - IL_0002: ldelema [mscorlib]System.Int32 - IL_0007: dup - IL_0008: ldobj [mscorlib]System.Int32 - IL_000d: ldc.i4.2 - IL_000e: mul - IL_000f: dup - IL_0010: stloc.0 - IL_0011: stobj [mscorlib]System.Int32 - IL_0016: ldloc.0 - IL_0017: ret - } // end of method CompoundAssignmentTest::DoubleArrayElementAndReturn + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: ldc.i4.5 + IL_0006: shl + IL_0007: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000c: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0011: ldc.i4.5 + IL_0012: shl + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_001f: ldc.i4.5 + IL_0020: shl + IL_0021: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_002d: ldc.i4.5 + IL_002e: shl + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0034: ldarga.s s + IL_0036: dup + IL_0037: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_003c: ldc.i4.5 + IL_003d: shl + IL_003e: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_004b: ldc.i4.5 + IL_004c: shl + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0052: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0057: dup + IL_0058: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_005d: ldc.i4.5 + IL_005e: shl + IL_005f: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0064: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0069: dup + IL_006a: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_006f: ldc.i4.5 + IL_0070: shl + IL_0071: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0076: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007b: dup + IL_007c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0081: ldc.i4.5 + IL_0082: shl + IL_0083: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0088: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008d: dup + IL_008e: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0093: ldc.i4.5 + IL_0094: shl + IL_0095: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00a5: ldc.i4.5 + IL_00a6: shl + IL_00a7: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00b7: ldc.i4.5 + IL_00b8: shl + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00be: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c3: dup + IL_00c4: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00c9: ldc.i4.5 + IL_00ca: shl + IL_00cb: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d5: dup + IL_00d6: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00db: ldc.i4.5 + IL_00dc: shl + IL_00dd: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00e2: ret + } // end of method CompoundAssignmentTest::LongLeftShiftTest - .method public hidebysig instance int32 - PreIncrementArrayElementShort(int16[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongRightShiftTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 227 (0xe3) + .maxstack 3 + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: ldc.i4.5 + IL_0006: shr + IL_0007: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000c: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0011: ldc.i4.5 + IL_0012: shr + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_001f: ldc.i4.5 + IL_0020: shr + IL_0021: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_002d: ldc.i4.5 + IL_002e: shr + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0034: ldarga.s s + IL_0036: dup + IL_0037: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_003c: ldc.i4.5 + IL_003d: shr + IL_003e: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_004b: ldc.i4.5 + IL_004c: shr + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0052: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0057: dup + IL_0058: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_005d: ldc.i4.5 + IL_005e: shr + IL_005f: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0064: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0069: dup + IL_006a: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_006f: ldc.i4.5 + IL_0070: shr + IL_0071: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0076: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007b: dup + IL_007c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0081: ldc.i4.5 + IL_0082: shr + IL_0083: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0088: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008d: dup + IL_008e: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0093: ldc.i4.5 + IL_0094: shr + IL_0095: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00a5: ldc.i4.5 + IL_00a6: shr + IL_00a7: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00b7: ldc.i4.5 + IL_00b8: shr + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00be: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c3: dup + IL_00c4: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00c9: ldc.i4.5 + IL_00ca: shr + IL_00cb: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d5: dup + IL_00d6: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00db: ldc.i4.5 + IL_00dc: shr + IL_00dd: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00e2: ret + } // end of method CompoundAssignmentTest::LongRightShiftTest + + .method public hidebysig static void LongBitAndTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 25 (0x19) + // Code size 241 (0xf1) .maxstack 3 - .locals init (int16 V_0) - IL_0000: ldarg.1 - IL_0001: ldarg.2 - IL_0002: ldelema [mscorlib]System.Int16 - IL_0007: dup - IL_0008: ldobj [mscorlib]System.Int16 - IL_000d: ldc.i4.1 - IL_000e: sub - IL_000f: conv.i2 - IL_0010: dup - IL_0011: stloc.0 - IL_0012: stobj [mscorlib]System.Int16 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method CompoundAssignmentTest::PreIncrementArrayElementShort + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: and + IL_0008: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000d: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: and + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: and + IL_0024: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: and + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0040: ldc.i4.5 + IL_0041: conv.i8 + IL_0042: and + IL_0043: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: and + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0063: ldc.i4.5 + IL_0064: conv.i8 + IL_0065: and + IL_0066: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0076: ldc.i4.5 + IL_0077: conv.i8 + IL_0078: and + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0089: ldc.i4.5 + IL_008a: conv.i8 + IL_008b: and + IL_008c: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_009c: ldc.i4.5 + IL_009d: conv.i8 + IL_009e: and + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: and + IL_00b2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: and + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d5: ldc.i4.5 + IL_00d6: conv.i8 + IL_00d7: and + IL_00d8: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e8: ldc.i4.5 + IL_00e9: conv.i8 + IL_00ea: and + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00f0: ret + } // end of method CompoundAssignmentTest::LongBitAndTest - .method public hidebysig instance int32 - PostIncrementArrayElementShort(int16[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongBitOrTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 25 (0x19) + // Code size 241 (0xf1) .maxstack 3 - .locals init (int16 V_0) - IL_0000: ldarg.1 - IL_0001: ldarg.2 - IL_0002: ldelema [mscorlib]System.Int16 - IL_0007: dup - IL_0008: ldobj [mscorlib]System.Int16 - IL_000d: dup - IL_000e: stloc.0 - IL_000f: ldc.i4.1 - IL_0010: add - IL_0011: conv.i2 - IL_0012: stobj [mscorlib]System.Int16 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method CompoundAssignmentTest::PostIncrementArrayElementShort + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: or + IL_0008: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000d: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: or + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: or + IL_0024: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: or + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0040: ldc.i4.5 + IL_0041: conv.i8 + IL_0042: or + IL_0043: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: or + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0063: ldc.i4.5 + IL_0064: conv.i8 + IL_0065: or + IL_0066: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0076: ldc.i4.5 + IL_0077: conv.i8 + IL_0078: or + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0089: ldc.i4.5 + IL_008a: conv.i8 + IL_008b: or + IL_008c: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_009c: ldc.i4.5 + IL_009d: conv.i8 + IL_009e: or + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: or + IL_00b2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: or + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d5: ldc.i4.5 + IL_00d6: conv.i8 + IL_00d7: or + IL_00d8: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e8: ldc.i4.5 + IL_00e9: conv.i8 + IL_00ea: or + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00f0: ret + } // end of method CompoundAssignmentTest::LongBitOrTest - .method public hidebysig instance void - IncrementArrayElementShort(int16[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongBitXorTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 22 (0x16) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldarg.2 - IL_0002: ldelema [mscorlib]System.Int16 - IL_0007: dup - IL_0008: ldobj [mscorlib]System.Int16 - IL_000d: ldc.i4.1 - IL_000e: add - IL_000f: conv.i2 - IL_0010: stobj [mscorlib]System.Int16 - IL_0015: ret - } // end of method CompoundAssignmentTest::IncrementArrayElementShort + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: xor + IL_0008: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000d: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: xor + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: xor + IL_0024: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: xor + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0040: ldc.i4.5 + IL_0041: conv.i8 + IL_0042: xor + IL_0043: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: xor + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0063: ldc.i4.5 + IL_0064: conv.i8 + IL_0065: xor + IL_0066: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0076: ldc.i4.5 + IL_0077: conv.i8 + IL_0078: xor + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0089: ldc.i4.5 + IL_008a: conv.i8 + IL_008b: xor + IL_008c: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_009c: ldc.i4.5 + IL_009d: conv.i8 + IL_009e: xor + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: xor + IL_00b2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: xor + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d5: ldc.i4.5 + IL_00d6: conv.i8 + IL_00d7: xor + IL_00d8: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e8: ldc.i4.5 + IL_00e9: conv.i8 + IL_00ea: xor + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00f0: ret + } // end of method CompoundAssignmentTest::LongBitXorTest - .method public hidebysig instance void - DoubleArrayElementShort(int16[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongPostIncTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 22 (0x16) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldarg.2 - IL_0002: ldelema [mscorlib]System.Int16 - IL_0007: dup - IL_0008: ldobj [mscorlib]System.Int16 - IL_000d: ldc.i4.2 - IL_000e: mul - IL_000f: conv.i2 - IL_0010: stobj [mscorlib]System.Int16 - IL_0015: ret - } // end of method CompoundAssignmentTest::DoubleArrayElementShort + // Code size 365 (0x16d) + .maxstack 3 + .locals init (int64 V_0, + int64 V_1, + int64 V_2, + int64 V_3, + int64 V_4, + int64 V_5, + int64 V_6, + int64 V_7, + int64 V_8, + int64 V_9, + int64 V_10, + int64 V_11) + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: conv.i8 + IL_0008: add + IL_0009: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0018: dup + IL_0019: ldc.i4.1 + IL_001a: conv.i8 + IL_001b: add + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_002d: dup + IL_002e: stloc.0 + IL_002f: ldc.i4.1 + IL_0030: conv.i8 + IL_0031: add + IL_0032: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0044: dup + IL_0045: stloc.1 + IL_0046: ldc.i4.1 + IL_0047: conv.i8 + IL_0048: add + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_004e: ldloc.1 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_005c: dup + IL_005d: stloc.2 + IL_005e: ldc.i4.1 + IL_005f: conv.i8 + IL_0060: add + IL_0061: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0066: ldloc.2 + IL_0067: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0074: dup + IL_0075: stloc.3 + IL_0076: ldc.i4.1 + IL_0077: conv.i8 + IL_0078: add + IL_0079: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_007e: ldloc.3 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_008f: dup + IL_0090: stloc.s V_4 + IL_0092: ldc.i4.1 + IL_0093: conv.i8 + IL_0094: add + IL_0095: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_009a: ldloc.s V_4 + IL_009c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a6: dup + IL_00a7: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00ac: dup + IL_00ad: stloc.s V_5 + IL_00af: ldc.i4.1 + IL_00b0: conv.i8 + IL_00b1: add + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00b7: ldloc.s V_5 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c3: dup + IL_00c4: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00c9: dup + IL_00ca: stloc.s V_6 + IL_00cc: ldc.i4.1 + IL_00cd: conv.i8 + IL_00ce: add + IL_00cf: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00d4: ldloc.s V_6 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00e6: dup + IL_00e7: stloc.s V_7 + IL_00e9: ldc.i4.1 + IL_00ea: conv.i8 + IL_00eb: add + IL_00ec: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00f1: ldloc.s V_7 + IL_00f3: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fd: dup + IL_00fe: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0103: dup + IL_0104: stloc.s V_8 + IL_0106: ldc.i4.1 + IL_0107: conv.i8 + IL_0108: add + IL_0109: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_010e: ldloc.s V_8 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011a: dup + IL_011b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0120: dup + IL_0121: stloc.s V_9 + IL_0123: ldc.i4.1 + IL_0124: conv.i8 + IL_0125: add + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_012b: ldloc.s V_9 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0137: dup + IL_0138: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_013d: dup + IL_013e: stloc.s V_10 + IL_0140: ldc.i4.1 + IL_0141: conv.i8 + IL_0142: add + IL_0143: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0148: ldloc.s V_10 + IL_014a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_015a: dup + IL_015b: stloc.s V_11 + IL_015d: ldc.i4.1 + IL_015e: conv.i8 + IL_015f: add + IL_0160: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0165: ldloc.s V_11 + IL_0167: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016c: ret + } // end of method CompoundAssignmentTest::LongPostIncTest - .method public hidebysig instance int16 - DoubleArrayElementShortAndReturn(int16[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongPreIncTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 25 (0x19) + // Code size 365 (0x16d) .maxstack 3 - .locals init (int16 V_0) - IL_0000: ldarg.1 - IL_0001: ldarg.2 - IL_0002: ldelema [mscorlib]System.Int16 - IL_0007: dup - IL_0008: ldobj [mscorlib]System.Int16 - IL_000d: ldc.i4.2 - IL_000e: mul - IL_000f: conv.i2 - IL_0010: dup - IL_0011: stloc.0 - IL_0012: stobj [mscorlib]System.Int16 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method CompoundAssignmentTest::DoubleArrayElementShortAndReturn + .locals init (int64 V_0, + int64 V_1, + int64 V_2, + int64 V_3, + int64 V_4, + int64 V_5, + int64 V_6, + int64 V_7, + int64 V_8, + int64 V_9, + int64 V_10, + int64 V_11) + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: ldc.i4.1 + IL_0006: conv.i8 + IL_0007: add + IL_0008: dup + IL_0009: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0018: ldc.i4.1 + IL_0019: conv.i8 + IL_001a: add + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_002d: ldc.i4.1 + IL_002e: conv.i8 + IL_002f: add + IL_0030: dup + IL_0031: stloc.0 + IL_0032: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0044: ldc.i4.1 + IL_0045: conv.i8 + IL_0046: add + IL_0047: dup + IL_0048: stloc.1 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_004e: ldloc.1 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_005c: ldc.i4.1 + IL_005d: conv.i8 + IL_005e: add + IL_005f: dup + IL_0060: stloc.2 + IL_0061: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0066: ldloc.2 + IL_0067: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0074: ldc.i4.1 + IL_0075: conv.i8 + IL_0076: add + IL_0077: dup + IL_0078: stloc.3 + IL_0079: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_007e: ldloc.3 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_008f: ldc.i4.1 + IL_0090: conv.i8 + IL_0091: add + IL_0092: dup + IL_0093: stloc.s V_4 + IL_0095: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_009a: ldloc.s V_4 + IL_009c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a6: dup + IL_00a7: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00ac: ldc.i4.1 + IL_00ad: conv.i8 + IL_00ae: add + IL_00af: dup + IL_00b0: stloc.s V_5 + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00b7: ldloc.s V_5 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c3: dup + IL_00c4: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00c9: ldc.i4.1 + IL_00ca: conv.i8 + IL_00cb: add + IL_00cc: dup + IL_00cd: stloc.s V_6 + IL_00cf: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00d4: ldloc.s V_6 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00e6: ldc.i4.1 + IL_00e7: conv.i8 + IL_00e8: add + IL_00e9: dup + IL_00ea: stloc.s V_7 + IL_00ec: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00f1: ldloc.s V_7 + IL_00f3: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fd: dup + IL_00fe: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0103: ldc.i4.1 + IL_0104: conv.i8 + IL_0105: add + IL_0106: dup + IL_0107: stloc.s V_8 + IL_0109: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_010e: ldloc.s V_8 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011a: dup + IL_011b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0120: ldc.i4.1 + IL_0121: conv.i8 + IL_0122: add + IL_0123: dup + IL_0124: stloc.s V_9 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_012b: ldloc.s V_9 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0137: dup + IL_0138: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_013d: ldc.i4.1 + IL_013e: conv.i8 + IL_013f: add + IL_0140: dup + IL_0141: stloc.s V_10 + IL_0143: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0148: ldloc.s V_10 + IL_014a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_015a: ldc.i4.1 + IL_015b: conv.i8 + IL_015c: add + IL_015d: dup + IL_015e: stloc.s V_11 + IL_0160: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0165: ldloc.s V_11 + IL_0167: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016c: ret + } // end of method CompoundAssignmentTest::LongPreIncTest - .method public hidebysig instance int32 - PreIncrementInstanceField() cil managed + .method public hidebysig static void LongPostDecTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 23 (0x17) + // Code size 365 (0x16d) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_000c: ldc.i4.1 - IL_000d: add - IL_000e: dup - IL_000f: stloc.0 - IL_0010: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0015: ldloc.0 - IL_0016: ret - } // end of method CompoundAssignmentTest::PreIncrementInstanceField + .locals init (int64 V_0, + int64 V_1, + int64 V_2, + int64 V_3, + int64 V_4, + int64 V_5, + int64 V_6, + int64 V_7, + int64 V_8, + int64 V_9, + int64 V_10, + int64 V_11) + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: conv.i8 + IL_0008: sub + IL_0009: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0018: dup + IL_0019: ldc.i4.1 + IL_001a: conv.i8 + IL_001b: sub + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_002d: dup + IL_002e: stloc.0 + IL_002f: ldc.i4.1 + IL_0030: conv.i8 + IL_0031: sub + IL_0032: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0044: dup + IL_0045: stloc.1 + IL_0046: ldc.i4.1 + IL_0047: conv.i8 + IL_0048: sub + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_004e: ldloc.1 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_005c: dup + IL_005d: stloc.2 + IL_005e: ldc.i4.1 + IL_005f: conv.i8 + IL_0060: sub + IL_0061: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0066: ldloc.2 + IL_0067: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0074: dup + IL_0075: stloc.3 + IL_0076: ldc.i4.1 + IL_0077: conv.i8 + IL_0078: sub + IL_0079: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_007e: ldloc.3 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_008f: dup + IL_0090: stloc.s V_4 + IL_0092: ldc.i4.1 + IL_0093: conv.i8 + IL_0094: sub + IL_0095: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_009a: ldloc.s V_4 + IL_009c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a6: dup + IL_00a7: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00ac: dup + IL_00ad: stloc.s V_5 + IL_00af: ldc.i4.1 + IL_00b0: conv.i8 + IL_00b1: sub + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00b7: ldloc.s V_5 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c3: dup + IL_00c4: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00c9: dup + IL_00ca: stloc.s V_6 + IL_00cc: ldc.i4.1 + IL_00cd: conv.i8 + IL_00ce: sub + IL_00cf: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00d4: ldloc.s V_6 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00e6: dup + IL_00e7: stloc.s V_7 + IL_00e9: ldc.i4.1 + IL_00ea: conv.i8 + IL_00eb: sub + IL_00ec: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00f1: ldloc.s V_7 + IL_00f3: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fd: dup + IL_00fe: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0103: dup + IL_0104: stloc.s V_8 + IL_0106: ldc.i4.1 + IL_0107: conv.i8 + IL_0108: sub + IL_0109: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_010e: ldloc.s V_8 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011a: dup + IL_011b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0120: dup + IL_0121: stloc.s V_9 + IL_0123: ldc.i4.1 + IL_0124: conv.i8 + IL_0125: sub + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_012b: ldloc.s V_9 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0137: dup + IL_0138: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_013d: dup + IL_013e: stloc.s V_10 + IL_0140: ldc.i4.1 + IL_0141: conv.i8 + IL_0142: sub + IL_0143: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0148: ldloc.s V_10 + IL_014a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_015a: dup + IL_015b: stloc.s V_11 + IL_015d: ldc.i4.1 + IL_015e: conv.i8 + IL_015f: sub + IL_0160: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0165: ldloc.s V_11 + IL_0167: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016c: ret + } // end of method CompoundAssignmentTest::LongPostDecTest - .method public hidebysig instance int32 - PostIncrementInstanceField() cil managed + .method public hidebysig static void LongPreDecTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 23 (0x17) + // Code size 365 (0x16d) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_000c: dup - IL_000d: stloc.0 - IL_000e: ldc.i4.1 - IL_000f: add - IL_0010: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0015: ldloc.0 - IL_0016: ret - } // end of method CompoundAssignmentTest::PostIncrementInstanceField + .locals init (int64 V_0, + int64 V_1, + int64 V_2, + int64 V_3, + int64 V_4, + int64 V_5, + int64 V_6, + int64 V_7, + int64 V_8, + int64 V_9, + int64 V_10, + int64 V_11) + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: ldc.i4.1 + IL_0006: conv.i8 + IL_0007: sub + IL_0008: dup + IL_0009: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0018: ldc.i4.1 + IL_0019: conv.i8 + IL_001a: sub + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_002d: ldc.i4.1 + IL_002e: conv.i8 + IL_002f: sub + IL_0030: dup + IL_0031: stloc.0 + IL_0032: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0044: ldc.i4.1 + IL_0045: conv.i8 + IL_0046: sub + IL_0047: dup + IL_0048: stloc.1 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_004e: ldloc.1 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_005c: ldc.i4.1 + IL_005d: conv.i8 + IL_005e: sub + IL_005f: dup + IL_0060: stloc.2 + IL_0061: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0066: ldloc.2 + IL_0067: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0074: ldc.i4.1 + IL_0075: conv.i8 + IL_0076: sub + IL_0077: dup + IL_0078: stloc.3 + IL_0079: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_007e: ldloc.3 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_008f: ldc.i4.1 + IL_0090: conv.i8 + IL_0091: sub + IL_0092: dup + IL_0093: stloc.s V_4 + IL_0095: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_009a: ldloc.s V_4 + IL_009c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a6: dup + IL_00a7: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00ac: ldc.i4.1 + IL_00ad: conv.i8 + IL_00ae: sub + IL_00af: dup + IL_00b0: stloc.s V_5 + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00b7: ldloc.s V_5 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c3: dup + IL_00c4: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00c9: ldc.i4.1 + IL_00ca: conv.i8 + IL_00cb: sub + IL_00cc: dup + IL_00cd: stloc.s V_6 + IL_00cf: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00d4: ldloc.s V_6 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00e6: ldc.i4.1 + IL_00e7: conv.i8 + IL_00e8: sub + IL_00e9: dup + IL_00ea: stloc.s V_7 + IL_00ec: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00f1: ldloc.s V_7 + IL_00f3: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fd: dup + IL_00fe: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0103: ldc.i4.1 + IL_0104: conv.i8 + IL_0105: sub + IL_0106: dup + IL_0107: stloc.s V_8 + IL_0109: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_010e: ldloc.s V_8 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011a: dup + IL_011b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0120: ldc.i4.1 + IL_0121: conv.i8 + IL_0122: sub + IL_0123: dup + IL_0124: stloc.s V_9 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_012b: ldloc.s V_9 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0137: dup + IL_0138: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_013d: ldc.i4.1 + IL_013e: conv.i8 + IL_013f: sub + IL_0140: dup + IL_0141: stloc.s V_10 + IL_0143: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0148: ldloc.s V_10 + IL_014a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_015a: ldc.i4.1 + IL_015b: conv.i8 + IL_015c: sub + IL_015d: dup + IL_015e: stloc.s V_11 + IL_0160: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0165: ldloc.s V_11 + IL_0167: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016c: ret + } // end of method CompoundAssignmentTest::LongPreDecTest - .method public hidebysig instance void - IncrementInstanceField() cil managed + .method public hidebysig static void UlongAddTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 20 (0x14) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_000c: ldc.i4.1 - IL_000d: add - IL_000e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0013: ret - } // end of method CompoundAssignmentTest::IncrementInstanceField + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: add + IL_0008: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000d: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: add + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: add + IL_0024: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: add + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0040: ldc.i4.5 + IL_0041: conv.i8 + IL_0042: add + IL_0043: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: add + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0063: ldc.i4.5 + IL_0064: conv.i8 + IL_0065: add + IL_0066: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0076: ldc.i4.5 + IL_0077: conv.i8 + IL_0078: add + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0089: ldc.i4.5 + IL_008a: conv.i8 + IL_008b: add + IL_008c: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_009c: ldc.i4.5 + IL_009d: conv.i8 + IL_009e: add + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: add + IL_00b2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: add + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d5: ldc.i4.5 + IL_00d6: conv.i8 + IL_00d7: add + IL_00d8: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e8: ldc.i4.5 + IL_00e9: conv.i8 + IL_00ea: add + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00f0: ret + } // end of method CompoundAssignmentTest::UlongAddTest - .method public hidebysig instance void - DoubleInstanceField() cil managed + .method public hidebysig static void UlongSubtractTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 20 (0x14) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_000c: ldc.i4.2 - IL_000d: mul - IL_000e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0013: ret - } // end of method CompoundAssignmentTest::DoubleInstanceField + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: sub + IL_0008: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000d: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: sub + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: sub + IL_0024: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: sub + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0040: ldc.i4.5 + IL_0041: conv.i8 + IL_0042: sub + IL_0043: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: sub + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0063: ldc.i4.5 + IL_0064: conv.i8 + IL_0065: sub + IL_0066: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0076: ldc.i4.5 + IL_0077: conv.i8 + IL_0078: sub + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0089: ldc.i4.5 + IL_008a: conv.i8 + IL_008b: sub + IL_008c: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_009c: ldc.i4.5 + IL_009d: conv.i8 + IL_009e: sub + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: sub + IL_00b2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: sub + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d5: ldc.i4.5 + IL_00d6: conv.i8 + IL_00d7: sub + IL_00d8: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e8: ldc.i4.5 + IL_00e9: conv.i8 + IL_00ea: sub + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00f0: ret + } // end of method CompoundAssignmentTest::UlongSubtractTest - .method public hidebysig instance int32 - DoubleInstanceFieldAndReturn() cil managed + .method public hidebysig static void UlongMultiplyTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 23 (0x17) + // Code size 241 (0xf1) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_000c: ldc.i4.2 - IL_000d: mul - IL_000e: dup - IL_000f: stloc.0 - IL_0010: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0015: ldloc.0 - IL_0016: ret - } // end of method CompoundAssignmentTest::DoubleInstanceFieldAndReturn + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: mul + IL_0008: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000d: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: mul + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: mul + IL_0024: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: mul + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0040: ldc.i4.5 + IL_0041: conv.i8 + IL_0042: mul + IL_0043: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: mul + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0063: ldc.i4.5 + IL_0064: conv.i8 + IL_0065: mul + IL_0066: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0076: ldc.i4.5 + IL_0077: conv.i8 + IL_0078: mul + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0089: ldc.i4.5 + IL_008a: conv.i8 + IL_008b: mul + IL_008c: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_009c: ldc.i4.5 + IL_009d: conv.i8 + IL_009e: mul + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: mul + IL_00b2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: mul + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d5: ldc.i4.5 + IL_00d6: conv.i8 + IL_00d7: mul + IL_00d8: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e8: ldc.i4.5 + IL_00e9: conv.i8 + IL_00ea: mul + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00f0: ret + } // end of method CompoundAssignmentTest::UlongMultiplyTest - .method public hidebysig instance int32 - PreIncrementInstanceField2(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass m) cil managed + .method public hidebysig static void UlongDivideTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 18 (0x12) + // Code size 241 (0xf1) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.1 - IL_0001: dup - IL_0002: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0007: ldc.i4.1 - IL_0008: add - IL_0009: dup - IL_000a: stloc.0 - IL_000b: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0010: ldloc.0 - IL_0011: ret - } // end of method CompoundAssignmentTest::PreIncrementInstanceField2 + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: div.un + IL_0008: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000d: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: div.un + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: div.un + IL_0024: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: div.un + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0040: ldc.i4.5 + IL_0041: conv.i8 + IL_0042: div.un + IL_0043: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: div.un + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0063: ldc.i4.5 + IL_0064: conv.i8 + IL_0065: div.un + IL_0066: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0076: ldc.i4.5 + IL_0077: conv.i8 + IL_0078: div.un + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0089: ldc.i4.5 + IL_008a: conv.i8 + IL_008b: div.un + IL_008c: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_009c: ldc.i4.5 + IL_009d: conv.i8 + IL_009e: div.un + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: div.un + IL_00b2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: div.un + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d5: ldc.i4.5 + IL_00d6: conv.i8 + IL_00d7: div.un + IL_00d8: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e8: ldc.i4.5 + IL_00e9: conv.i8 + IL_00ea: div.un + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00f0: ret + } // end of method CompoundAssignmentTest::UlongDivideTest - .method public hidebysig instance int32 - PostIncrementInstanceField2(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass m) cil managed + .method public hidebysig static void UlongModulusTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 18 (0x12) + // Code size 241 (0xf1) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.1 - IL_0001: dup - IL_0002: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0007: dup - IL_0008: stloc.0 - IL_0009: ldc.i4.1 - IL_000a: add - IL_000b: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0010: ldloc.0 - IL_0011: ret - } // end of method CompoundAssignmentTest::PostIncrementInstanceField2 + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: rem.un + IL_0008: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000d: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: rem.un + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: rem.un + IL_0024: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: rem.un + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0040: ldc.i4.5 + IL_0041: conv.i8 + IL_0042: rem.un + IL_0043: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: rem.un + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0063: ldc.i4.5 + IL_0064: conv.i8 + IL_0065: rem.un + IL_0066: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0076: ldc.i4.5 + IL_0077: conv.i8 + IL_0078: rem.un + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0089: ldc.i4.5 + IL_008a: conv.i8 + IL_008b: rem.un + IL_008c: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_009c: ldc.i4.5 + IL_009d: conv.i8 + IL_009e: rem.un + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: rem.un + IL_00b2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: rem.un + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d5: ldc.i4.5 + IL_00d6: conv.i8 + IL_00d7: rem.un + IL_00d8: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e8: ldc.i4.5 + IL_00e9: conv.i8 + IL_00ea: rem.un + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00f0: ret + } // end of method CompoundAssignmentTest::UlongModulusTest - .method public hidebysig instance void - IncrementInstanceField2(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass m) cil managed - { - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: dup - IL_0002: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0007: ldc.i4.1 - IL_0008: add - IL_0009: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_000e: ret - } // end of method CompoundAssignmentTest::IncrementInstanceField2 + .method public hidebysig static void UlongLeftShiftTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 227 (0xe3) + .maxstack 3 + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: ldc.i4.5 + IL_0006: shl + IL_0007: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000c: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0011: ldc.i4.5 + IL_0012: shl + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_001f: ldc.i4.5 + IL_0020: shl + IL_0021: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_002d: ldc.i4.5 + IL_002e: shl + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0034: ldarga.s s + IL_0036: dup + IL_0037: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_003c: ldc.i4.5 + IL_003d: shl + IL_003e: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_004b: ldc.i4.5 + IL_004c: shl + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0052: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0057: dup + IL_0058: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_005d: ldc.i4.5 + IL_005e: shl + IL_005f: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0064: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0069: dup + IL_006a: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_006f: ldc.i4.5 + IL_0070: shl + IL_0071: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0076: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007b: dup + IL_007c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0081: ldc.i4.5 + IL_0082: shl + IL_0083: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0088: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008d: dup + IL_008e: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0093: ldc.i4.5 + IL_0094: shl + IL_0095: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00a5: ldc.i4.5 + IL_00a6: shl + IL_00a7: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00b7: ldc.i4.5 + IL_00b8: shl + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00be: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c3: dup + IL_00c4: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00c9: ldc.i4.5 + IL_00ca: shl + IL_00cb: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d5: dup + IL_00d6: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00db: ldc.i4.5 + IL_00dc: shl + IL_00dd: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00e2: ret + } // end of method CompoundAssignmentTest::UlongLeftShiftTest - .method public hidebysig instance int32 - PreIncrementInstanceFieldShort() cil managed + .method public hidebysig static void UlongRightShiftTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 24 (0x18) + // Code size 227 (0xe3) .maxstack 3 - .locals init (int16 V_0) - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField - IL_000c: ldc.i4.1 - IL_000d: add - IL_000e: conv.i2 - IL_000f: dup - IL_0010: stloc.0 - IL_0011: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField - IL_0016: ldloc.0 - IL_0017: ret - } // end of method CompoundAssignmentTest::PreIncrementInstanceFieldShort + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: ldc.i4.5 + IL_0006: shr.un + IL_0007: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000c: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0011: ldc.i4.5 + IL_0012: shr.un + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_001f: ldc.i4.5 + IL_0020: shr.un + IL_0021: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_002d: ldc.i4.5 + IL_002e: shr.un + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0034: ldarga.s s + IL_0036: dup + IL_0037: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_003c: ldc.i4.5 + IL_003d: shr.un + IL_003e: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_004b: ldc.i4.5 + IL_004c: shr.un + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0052: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0057: dup + IL_0058: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_005d: ldc.i4.5 + IL_005e: shr.un + IL_005f: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0064: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0069: dup + IL_006a: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_006f: ldc.i4.5 + IL_0070: shr.un + IL_0071: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0076: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007b: dup + IL_007c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0081: ldc.i4.5 + IL_0082: shr.un + IL_0083: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0088: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008d: dup + IL_008e: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0093: ldc.i4.5 + IL_0094: shr.un + IL_0095: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00a5: ldc.i4.5 + IL_00a6: shr.un + IL_00a7: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00b7: ldc.i4.5 + IL_00b8: shr.un + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00be: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c3: dup + IL_00c4: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00c9: ldc.i4.5 + IL_00ca: shr.un + IL_00cb: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d5: dup + IL_00d6: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00db: ldc.i4.5 + IL_00dc: shr.un + IL_00dd: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00e2: ret + } // end of method CompoundAssignmentTest::UlongRightShiftTest - .method public hidebysig instance int32 - PostIncrementInstanceFieldShort() cil managed + .method public hidebysig static void UlongBitAndTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 24 (0x18) + // Code size 241 (0xf1) .maxstack 3 - .locals init (int16 V_0) - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField - IL_000c: dup - IL_000d: stloc.0 - IL_000e: ldc.i4.1 - IL_000f: add - IL_0010: conv.i2 - IL_0011: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField - IL_0016: ldloc.0 - IL_0017: ret - } // end of method CompoundAssignmentTest::PostIncrementInstanceFieldShort + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: and + IL_0008: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000d: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: and + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: and + IL_0024: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: and + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0040: ldc.i4.5 + IL_0041: conv.i8 + IL_0042: and + IL_0043: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: and + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0063: ldc.i4.5 + IL_0064: conv.i8 + IL_0065: and + IL_0066: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0076: ldc.i4.5 + IL_0077: conv.i8 + IL_0078: and + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0089: ldc.i4.5 + IL_008a: conv.i8 + IL_008b: and + IL_008c: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_009c: ldc.i4.5 + IL_009d: conv.i8 + IL_009e: and + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: and + IL_00b2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: and + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d5: ldc.i4.5 + IL_00d6: conv.i8 + IL_00d7: and + IL_00d8: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e8: ldc.i4.5 + IL_00e9: conv.i8 + IL_00ea: and + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00f0: ret + } // end of method CompoundAssignmentTest::UlongBitAndTest - .method public hidebysig instance void - IncrementInstanceFieldShort() cil managed + .method public hidebysig static void UlongBitOrTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 21 (0x15) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField - IL_000c: ldc.i4.1 - IL_000d: add - IL_000e: conv.i2 - IL_000f: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField - IL_0014: ret - } // end of method CompoundAssignmentTest::IncrementInstanceFieldShort + // Code size 241 (0xf1) + .maxstack 3 + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: or + IL_0008: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000d: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: or + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: or + IL_0024: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: or + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0040: ldc.i4.5 + IL_0041: conv.i8 + IL_0042: or + IL_0043: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: or + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0063: ldc.i4.5 + IL_0064: conv.i8 + IL_0065: or + IL_0066: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0076: ldc.i4.5 + IL_0077: conv.i8 + IL_0078: or + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0089: ldc.i4.5 + IL_008a: conv.i8 + IL_008b: or + IL_008c: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_009c: ldc.i4.5 + IL_009d: conv.i8 + IL_009e: or + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: or + IL_00b2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: or + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d5: ldc.i4.5 + IL_00d6: conv.i8 + IL_00d7: or + IL_00d8: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e8: ldc.i4.5 + IL_00e9: conv.i8 + IL_00ea: or + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00f0: ret + } // end of method CompoundAssignmentTest::UlongBitOrTest - .method public hidebysig instance int32 - PreIncrementInstanceProperty() cil managed + .method public hidebysig static void UlongBitXorTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 23 (0x17) + // Code size 241 (0xf1) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() - IL_000c: ldc.i4.1 - IL_000d: add - IL_000e: dup - IL_000f: stloc.0 - IL_0010: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) - IL_0015: ldloc.0 - IL_0016: ret - } // end of method CompoundAssignmentTest::PreIncrementInstanceProperty + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: xor + IL_0008: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000d: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: xor + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: xor + IL_0024: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: xor + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0038: ldarga.s s + IL_003a: dup + IL_003b: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0040: ldc.i4.5 + IL_0041: conv.i8 + IL_0042: xor + IL_0043: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: xor + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0058: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005d: dup + IL_005e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0063: ldc.i4.5 + IL_0064: conv.i8 + IL_0065: xor + IL_0066: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0076: ldc.i4.5 + IL_0077: conv.i8 + IL_0078: xor + IL_0079: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007e: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0083: dup + IL_0084: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0089: ldc.i4.5 + IL_008a: conv.i8 + IL_008b: xor + IL_008c: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0091: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0096: dup + IL_0097: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_009c: ldc.i4.5 + IL_009d: conv.i8 + IL_009e: xor + IL_009f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: xor + IL_00b2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: xor + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d5: ldc.i4.5 + IL_00d6: conv.i8 + IL_00d7: xor + IL_00d8: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00dd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e2: dup + IL_00e3: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e8: ldc.i4.5 + IL_00e9: conv.i8 + IL_00ea: xor + IL_00eb: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00f0: ret + } // end of method CompoundAssignmentTest::UlongBitXorTest - .method public hidebysig instance int32 - PostIncrementInstanceProperty() cil managed + .method public hidebysig static void UlongPostIncTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 23 (0x17) + // Code size 365 (0x16d) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() - IL_000c: dup - IL_000d: stloc.0 - IL_000e: ldc.i4.1 - IL_000f: add - IL_0010: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) - IL_0015: ldloc.0 - IL_0016: ret - } // end of method CompoundAssignmentTest::PostIncrementInstanceProperty + .locals init (uint64 V_0, + uint64 V_1, + uint64 V_2, + uint64 V_3, + uint64 V_4, + uint64 V_5, + uint64 V_6, + uint64 V_7, + uint64 V_8, + uint64 V_9, + uint64 V_10, + uint64 V_11) + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: conv.i8 + IL_0008: add + IL_0009: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0018: dup + IL_0019: ldc.i4.1 + IL_001a: conv.i8 + IL_001b: add + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_002d: dup + IL_002e: stloc.0 + IL_002f: ldc.i4.1 + IL_0030: conv.i8 + IL_0031: add + IL_0032: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0044: dup + IL_0045: stloc.1 + IL_0046: ldc.i4.1 + IL_0047: conv.i8 + IL_0048: add + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_004e: ldloc.1 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_005c: dup + IL_005d: stloc.2 + IL_005e: ldc.i4.1 + IL_005f: conv.i8 + IL_0060: add + IL_0061: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0066: ldloc.2 + IL_0067: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0074: dup + IL_0075: stloc.3 + IL_0076: ldc.i4.1 + IL_0077: conv.i8 + IL_0078: add + IL_0079: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_007e: ldloc.3 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_008f: dup + IL_0090: stloc.s V_4 + IL_0092: ldc.i4.1 + IL_0093: conv.i8 + IL_0094: add + IL_0095: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_009a: ldloc.s V_4 + IL_009c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a6: dup + IL_00a7: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00ac: dup + IL_00ad: stloc.s V_5 + IL_00af: ldc.i4.1 + IL_00b0: conv.i8 + IL_00b1: add + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00b7: ldloc.s V_5 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c3: dup + IL_00c4: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00c9: dup + IL_00ca: stloc.s V_6 + IL_00cc: ldc.i4.1 + IL_00cd: conv.i8 + IL_00ce: add + IL_00cf: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00d4: ldloc.s V_6 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00e6: dup + IL_00e7: stloc.s V_7 + IL_00e9: ldc.i4.1 + IL_00ea: conv.i8 + IL_00eb: add + IL_00ec: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00f1: ldloc.s V_7 + IL_00f3: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fd: dup + IL_00fe: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0103: dup + IL_0104: stloc.s V_8 + IL_0106: ldc.i4.1 + IL_0107: conv.i8 + IL_0108: add + IL_0109: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_010e: ldloc.s V_8 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011a: dup + IL_011b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0120: dup + IL_0121: stloc.s V_9 + IL_0123: ldc.i4.1 + IL_0124: conv.i8 + IL_0125: add + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_012b: ldloc.s V_9 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0137: dup + IL_0138: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_013d: dup + IL_013e: stloc.s V_10 + IL_0140: ldc.i4.1 + IL_0141: conv.i8 + IL_0142: add + IL_0143: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0148: ldloc.s V_10 + IL_014a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_015a: dup + IL_015b: stloc.s V_11 + IL_015d: ldc.i4.1 + IL_015e: conv.i8 + IL_015f: add + IL_0160: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0165: ldloc.s V_11 + IL_0167: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016c: ret + } // end of method CompoundAssignmentTest::UlongPostIncTest - .method public hidebysig instance void - IncrementInstanceProperty() cil managed + .method public hidebysig static void UlongPreIncTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 20 (0x14) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() - IL_000c: ldc.i4.1 - IL_000d: add - IL_000e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) - IL_0013: ret - } // end of method CompoundAssignmentTest::IncrementInstanceProperty + // Code size 365 (0x16d) + .maxstack 3 + .locals init (uint64 V_0, + uint64 V_1, + uint64 V_2, + uint64 V_3, + uint64 V_4, + uint64 V_5, + uint64 V_6, + uint64 V_7, + uint64 V_8, + uint64 V_9, + uint64 V_10, + uint64 V_11) + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: ldc.i4.1 + IL_0006: conv.i8 + IL_0007: add + IL_0008: dup + IL_0009: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0018: ldc.i4.1 + IL_0019: conv.i8 + IL_001a: add + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_002d: ldc.i4.1 + IL_002e: conv.i8 + IL_002f: add + IL_0030: dup + IL_0031: stloc.0 + IL_0032: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0044: ldc.i4.1 + IL_0045: conv.i8 + IL_0046: add + IL_0047: dup + IL_0048: stloc.1 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_004e: ldloc.1 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_005c: ldc.i4.1 + IL_005d: conv.i8 + IL_005e: add + IL_005f: dup + IL_0060: stloc.2 + IL_0061: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0066: ldloc.2 + IL_0067: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0074: ldc.i4.1 + IL_0075: conv.i8 + IL_0076: add + IL_0077: dup + IL_0078: stloc.3 + IL_0079: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_007e: ldloc.3 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_008f: ldc.i4.1 + IL_0090: conv.i8 + IL_0091: add + IL_0092: dup + IL_0093: stloc.s V_4 + IL_0095: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_009a: ldloc.s V_4 + IL_009c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a6: dup + IL_00a7: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00ac: ldc.i4.1 + IL_00ad: conv.i8 + IL_00ae: add + IL_00af: dup + IL_00b0: stloc.s V_5 + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00b7: ldloc.s V_5 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c3: dup + IL_00c4: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00c9: ldc.i4.1 + IL_00ca: conv.i8 + IL_00cb: add + IL_00cc: dup + IL_00cd: stloc.s V_6 + IL_00cf: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00d4: ldloc.s V_6 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00e6: ldc.i4.1 + IL_00e7: conv.i8 + IL_00e8: add + IL_00e9: dup + IL_00ea: stloc.s V_7 + IL_00ec: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00f1: ldloc.s V_7 + IL_00f3: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fd: dup + IL_00fe: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0103: ldc.i4.1 + IL_0104: conv.i8 + IL_0105: add + IL_0106: dup + IL_0107: stloc.s V_8 + IL_0109: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_010e: ldloc.s V_8 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011a: dup + IL_011b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0120: ldc.i4.1 + IL_0121: conv.i8 + IL_0122: add + IL_0123: dup + IL_0124: stloc.s V_9 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_012b: ldloc.s V_9 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0137: dup + IL_0138: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_013d: ldc.i4.1 + IL_013e: conv.i8 + IL_013f: add + IL_0140: dup + IL_0141: stloc.s V_10 + IL_0143: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0148: ldloc.s V_10 + IL_014a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_015a: ldc.i4.1 + IL_015b: conv.i8 + IL_015c: add + IL_015d: dup + IL_015e: stloc.s V_11 + IL_0160: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0165: ldloc.s V_11 + IL_0167: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016c: ret + } // end of method CompoundAssignmentTest::UlongPreIncTest - .method public hidebysig instance void - DoubleInstanceProperty() cil managed + .method public hidebysig static void UlongPostDecTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 20 (0x14) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() - IL_000c: ldc.i4.2 - IL_000d: mul - IL_000e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) - IL_0013: ret - } // end of method CompoundAssignmentTest::DoubleInstanceProperty + // Code size 365 (0x16d) + .maxstack 3 + .locals init (uint64 V_0, + uint64 V_1, + uint64 V_2, + uint64 V_3, + uint64 V_4, + uint64 V_5, + uint64 V_6, + uint64 V_7, + uint64 V_8, + uint64 V_9, + uint64 V_10, + uint64 V_11) + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: conv.i8 + IL_0008: sub + IL_0009: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0018: dup + IL_0019: ldc.i4.1 + IL_001a: conv.i8 + IL_001b: sub + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_002d: dup + IL_002e: stloc.0 + IL_002f: ldc.i4.1 + IL_0030: conv.i8 + IL_0031: sub + IL_0032: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0044: dup + IL_0045: stloc.1 + IL_0046: ldc.i4.1 + IL_0047: conv.i8 + IL_0048: sub + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_004e: ldloc.1 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_005c: dup + IL_005d: stloc.2 + IL_005e: ldc.i4.1 + IL_005f: conv.i8 + IL_0060: sub + IL_0061: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0066: ldloc.2 + IL_0067: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0074: dup + IL_0075: stloc.3 + IL_0076: ldc.i4.1 + IL_0077: conv.i8 + IL_0078: sub + IL_0079: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_007e: ldloc.3 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_008f: dup + IL_0090: stloc.s V_4 + IL_0092: ldc.i4.1 + IL_0093: conv.i8 + IL_0094: sub + IL_0095: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_009a: ldloc.s V_4 + IL_009c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a6: dup + IL_00a7: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00ac: dup + IL_00ad: stloc.s V_5 + IL_00af: ldc.i4.1 + IL_00b0: conv.i8 + IL_00b1: sub + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00b7: ldloc.s V_5 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c3: dup + IL_00c4: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00c9: dup + IL_00ca: stloc.s V_6 + IL_00cc: ldc.i4.1 + IL_00cd: conv.i8 + IL_00ce: sub + IL_00cf: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00d4: ldloc.s V_6 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00e6: dup + IL_00e7: stloc.s V_7 + IL_00e9: ldc.i4.1 + IL_00ea: conv.i8 + IL_00eb: sub + IL_00ec: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00f1: ldloc.s V_7 + IL_00f3: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fd: dup + IL_00fe: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0103: dup + IL_0104: stloc.s V_8 + IL_0106: ldc.i4.1 + IL_0107: conv.i8 + IL_0108: sub + IL_0109: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_010e: ldloc.s V_8 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011a: dup + IL_011b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0120: dup + IL_0121: stloc.s V_9 + IL_0123: ldc.i4.1 + IL_0124: conv.i8 + IL_0125: sub + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_012b: ldloc.s V_9 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0137: dup + IL_0138: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_013d: dup + IL_013e: stloc.s V_10 + IL_0140: ldc.i4.1 + IL_0141: conv.i8 + IL_0142: sub + IL_0143: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0148: ldloc.s V_10 + IL_014a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_015a: dup + IL_015b: stloc.s V_11 + IL_015d: ldc.i4.1 + IL_015e: conv.i8 + IL_015f: sub + IL_0160: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0165: ldloc.s V_11 + IL_0167: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016c: ret + } // end of method CompoundAssignmentTest::UlongPostDecTest - .method public hidebysig instance int32 - DoubleInstancePropertyAndReturn() cil managed + .method public hidebysig static void UlongPreDecTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 23 (0x17) + // Code size 365 (0x16d) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() - IL_000c: ldc.i4.2 - IL_000d: mul - IL_000e: dup - IL_000f: stloc.0 - IL_0010: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) - IL_0015: ldloc.0 - IL_0016: ret - } // end of method CompoundAssignmentTest::DoubleInstancePropertyAndReturn + .locals init (uint64 V_0, + uint64 V_1, + uint64 V_2, + uint64 V_3, + uint64 V_4, + uint64 V_5, + uint64 V_6, + uint64 V_7, + uint64 V_8, + uint64 V_9, + uint64 V_10, + uint64 V_11) + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: ldc.i4.1 + IL_0006: conv.i8 + IL_0007: sub + IL_0008: dup + IL_0009: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0018: ldc.i4.1 + IL_0019: conv.i8 + IL_001a: sub + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_002d: ldc.i4.1 + IL_002e: conv.i8 + IL_002f: sub + IL_0030: dup + IL_0031: stloc.0 + IL_0032: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0044: ldc.i4.1 + IL_0045: conv.i8 + IL_0046: sub + IL_0047: dup + IL_0048: stloc.1 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_004e: ldloc.1 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_005c: ldc.i4.1 + IL_005d: conv.i8 + IL_005e: sub + IL_005f: dup + IL_0060: stloc.2 + IL_0061: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0066: ldloc.2 + IL_0067: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0074: ldc.i4.1 + IL_0075: conv.i8 + IL_0076: sub + IL_0077: dup + IL_0078: stloc.3 + IL_0079: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_007e: ldloc.3 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0089: dup + IL_008a: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_008f: ldc.i4.1 + IL_0090: conv.i8 + IL_0091: sub + IL_0092: dup + IL_0093: stloc.s V_4 + IL_0095: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_009a: ldloc.s V_4 + IL_009c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a6: dup + IL_00a7: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00ac: ldc.i4.1 + IL_00ad: conv.i8 + IL_00ae: sub + IL_00af: dup + IL_00b0: stloc.s V_5 + IL_00b2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00b7: ldloc.s V_5 + IL_00b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00be: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c3: dup + IL_00c4: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00c9: ldc.i4.1 + IL_00ca: conv.i8 + IL_00cb: sub + IL_00cc: dup + IL_00cd: stloc.s V_6 + IL_00cf: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00d4: ldloc.s V_6 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: dup + IL_00e1: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00e6: ldc.i4.1 + IL_00e7: conv.i8 + IL_00e8: sub + IL_00e9: dup + IL_00ea: stloc.s V_7 + IL_00ec: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00f1: ldloc.s V_7 + IL_00f3: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00fd: dup + IL_00fe: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0103: ldc.i4.1 + IL_0104: conv.i8 + IL_0105: sub + IL_0106: dup + IL_0107: stloc.s V_8 + IL_0109: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_010e: ldloc.s V_8 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011a: dup + IL_011b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0120: ldc.i4.1 + IL_0121: conv.i8 + IL_0122: sub + IL_0123: dup + IL_0124: stloc.s V_9 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_012b: ldloc.s V_9 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0137: dup + IL_0138: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_013d: ldc.i4.1 + IL_013e: conv.i8 + IL_013f: sub + IL_0140: dup + IL_0141: stloc.s V_10 + IL_0143: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0148: ldloc.s V_10 + IL_014a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_015a: ldc.i4.1 + IL_015b: conv.i8 + IL_015c: sub + IL_015d: dup + IL_015e: stloc.s V_11 + IL_0160: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0165: ldloc.s V_11 + IL_0167: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016c: ret + } // end of method CompoundAssignmentTest::UlongPreDecTest - .method public hidebysig instance int32 - PreIncrementInstancePropertyByte() cil managed + .method public hidebysig static void CustomClassAddTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 24 (0x18) + // Code size 283 (0x11b) .maxstack 3 - .locals init (uint8 V_0) - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() - IL_000c: ldc.i4.1 - IL_000d: add - IL_000e: conv.u1 - IL_000f: dup - IL_0010: stloc.0 - IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) - IL_0016: ldloc.0 - IL_0017: ret - } // end of method CompoundAssignmentTest::PreIncrementInstancePropertyByte + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: ldnull + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0015: ldnull + IL_0016: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0020: ldarg.1 + IL_0021: dup + IL_0022: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0027: ldnull + IL_0028: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0039: ldnull + IL_003a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_003f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0044: ldarga.s s + IL_0046: dup + IL_0047: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004c: ldnull + IL_004d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0052: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005f: ldnull + IL_0060: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0065: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006f: dup + IL_0070: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0075: ldnull + IL_0076: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_007b: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0080: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0085: dup + IL_0086: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008b: ldnull + IL_008c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0091: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a1: ldnull + IL_00a2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00a7: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00ac: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b1: dup + IL_00b2: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b7: ldnull + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bd: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c7: dup + IL_00c8: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00cd: ldnull + IL_00ce: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d3: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00dd: dup + IL_00de: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e3: ldnull + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ee: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00f3: dup + IL_00f4: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00f9: ldnull + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ff: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0104: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0109: dup + IL_010a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_010f: ldnull + IL_0110: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011a: ret + } // end of method CompoundAssignmentTest::CustomClassAddTest - .method public hidebysig instance int32 - PostIncrementInstancePropertyByte() cil managed + .method public hidebysig static void CustomClassSubtractTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 24 (0x18) + // Code size 283 (0x11b) .maxstack 3 - .locals init (uint8 V_0) - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() - IL_000c: dup - IL_000d: stloc.0 - IL_000e: ldc.i4.1 - IL_000f: add - IL_0010: conv.u1 - IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) - IL_0016: ldloc.0 - IL_0017: ret - } // end of method CompoundAssignmentTest::PostIncrementInstancePropertyByte + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: ldnull + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0015: ldnull + IL_0016: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0020: ldarg.1 + IL_0021: dup + IL_0022: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0027: ldnull + IL_0028: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0039: ldnull + IL_003a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_003f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0044: ldarga.s s + IL_0046: dup + IL_0047: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004c: ldnull + IL_004d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0052: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005f: ldnull + IL_0060: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0065: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006f: dup + IL_0070: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0075: ldnull + IL_0076: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_007b: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0080: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0085: dup + IL_0086: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008b: ldnull + IL_008c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0091: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a1: ldnull + IL_00a2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00a7: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00ac: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b1: dup + IL_00b2: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b7: ldnull + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bd: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c7: dup + IL_00c8: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00cd: ldnull + IL_00ce: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d3: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00dd: dup + IL_00de: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e3: ldnull + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ee: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00f3: dup + IL_00f4: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00f9: ldnull + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ff: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0104: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0109: dup + IL_010a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_010f: ldnull + IL_0110: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011a: ret + } // end of method CompoundAssignmentTest::CustomClassSubtractTest - .method public hidebysig instance void - IncrementInstancePropertyByte() cil managed + .method public hidebysig static void CustomClassMultiplyTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 21 (0x15) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() - IL_000c: ldc.i4.1 - IL_000d: add - IL_000e: conv.u1 - IL_000f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) - IL_0014: ret - } // end of method CompoundAssignmentTest::IncrementInstancePropertyByte + // Code size 283 (0x11b) + .maxstack 3 + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: ldnull + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0015: ldnull + IL_0016: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0020: ldarg.1 + IL_0021: dup + IL_0022: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0027: ldnull + IL_0028: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0039: ldnull + IL_003a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_003f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0044: ldarga.s s + IL_0046: dup + IL_0047: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004c: ldnull + IL_004d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0052: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005f: ldnull + IL_0060: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0065: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006f: dup + IL_0070: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0075: ldnull + IL_0076: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_007b: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0080: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0085: dup + IL_0086: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008b: ldnull + IL_008c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0091: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a1: ldnull + IL_00a2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00a7: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00ac: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b1: dup + IL_00b2: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b7: ldnull + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bd: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c7: dup + IL_00c8: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00cd: ldnull + IL_00ce: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d3: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00dd: dup + IL_00de: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e3: ldnull + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ee: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00f3: dup + IL_00f4: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00f9: ldnull + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ff: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0104: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0109: dup + IL_010a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_010f: ldnull + IL_0110: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011a: ret + } // end of method CompoundAssignmentTest::CustomClassMultiplyTest - .method public hidebysig instance void - DoubleInstancePropertyByte() cil managed + .method public hidebysig static void CustomClassDivideTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 21 (0x15) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() - IL_000c: ldc.i4.2 - IL_000d: mul - IL_000e: conv.u1 - IL_000f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) - IL_0014: ret - } // end of method CompoundAssignmentTest::DoubleInstancePropertyByte + // Code size 283 (0x11b) + .maxstack 3 + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: ldnull + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0015: ldnull + IL_0016: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0020: ldarg.1 + IL_0021: dup + IL_0022: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0027: ldnull + IL_0028: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0039: ldnull + IL_003a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_003f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0044: ldarga.s s + IL_0046: dup + IL_0047: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004c: ldnull + IL_004d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0052: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005f: ldnull + IL_0060: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0065: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006f: dup + IL_0070: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0075: ldnull + IL_0076: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_007b: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0080: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0085: dup + IL_0086: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008b: ldnull + IL_008c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0091: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a1: ldnull + IL_00a2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00a7: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00ac: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b1: dup + IL_00b2: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b7: ldnull + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bd: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c7: dup + IL_00c8: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00cd: ldnull + IL_00ce: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d3: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00dd: dup + IL_00de: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e3: ldnull + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ee: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00f3: dup + IL_00f4: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00f9: ldnull + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ff: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0104: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0109: dup + IL_010a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_010f: ldnull + IL_0110: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011a: ret + } // end of method CompoundAssignmentTest::CustomClassDivideTest - .method public hidebysig instance int32 - DoubleInstancePropertyByteAndReturn() cil managed + .method public hidebysig static void CustomClassModulusTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 24 (0x18) + // Code size 283 (0x11b) .maxstack 3 - .locals init (uint8 V_0) - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() - IL_000c: ldc.i4.2 - IL_000d: mul - IL_000e: conv.u1 - IL_000f: dup - IL_0010: stloc.0 - IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) - IL_0016: ldloc.0 - IL_0017: ret - } // end of method CompoundAssignmentTest::DoubleInstancePropertyByteAndReturn + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: ldnull + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0015: ldnull + IL_0016: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0020: ldarg.1 + IL_0021: dup + IL_0022: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0027: ldnull + IL_0028: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0039: ldnull + IL_003a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_003f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0044: ldarga.s s + IL_0046: dup + IL_0047: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004c: ldnull + IL_004d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0052: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005f: ldnull + IL_0060: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0065: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006f: dup + IL_0070: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0075: ldnull + IL_0076: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_007b: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0080: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0085: dup + IL_0086: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008b: ldnull + IL_008c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0091: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a1: ldnull + IL_00a2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00a7: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00ac: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b1: dup + IL_00b2: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b7: ldnull + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bd: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c7: dup + IL_00c8: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00cd: ldnull + IL_00ce: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d3: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00dd: dup + IL_00de: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e3: ldnull + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ee: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00f3: dup + IL_00f4: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00f9: ldnull + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ff: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0104: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0109: dup + IL_010a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_010f: ldnull + IL_0110: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011a: ret + } // end of method CompoundAssignmentTest::CustomClassModulusTest + + .method public hidebysig static void CustomClassLeftShiftTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 283 (0x11b) + .maxstack 3 + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: ldc.i4.5 + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0015: ldc.i4.5 + IL_0016: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_001b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0020: ldarg.1 + IL_0021: dup + IL_0022: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0027: ldc.i4.5 + IL_0028: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_002d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0039: ldc.i4.5 + IL_003a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_003f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0044: ldarga.s s + IL_0046: dup + IL_0047: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004c: ldc.i4.5 + IL_004d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0052: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005f: ldc.i4.5 + IL_0060: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0065: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006f: dup + IL_0070: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0075: ldc.i4.5 + IL_0076: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_007b: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0080: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0085: dup + IL_0086: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008b: ldc.i4.5 + IL_008c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0091: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a1: ldc.i4.5 + IL_00a2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00a7: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00ac: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b1: dup + IL_00b2: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b7: ldc.i4.5 + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00bd: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c7: dup + IL_00c8: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00cd: ldc.i4.5 + IL_00ce: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00d3: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00dd: dup + IL_00de: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e3: ldc.i4.5 + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00e9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ee: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00f3: dup + IL_00f4: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00f9: ldc.i4.5 + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00ff: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0104: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0109: dup + IL_010a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_010f: ldc.i4.5 + IL_0110: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011a: ret + } // end of method CompoundAssignmentTest::CustomClassLeftShiftTest + + .method public hidebysig static void CustomClassRightShiftTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 283 (0x11b) + .maxstack 3 + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: ldc.i4.5 + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0015: ldc.i4.5 + IL_0016: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_001b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0020: ldarg.1 + IL_0021: dup + IL_0022: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0027: ldc.i4.5 + IL_0028: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_002d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0039: ldc.i4.5 + IL_003a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_003f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0044: ldarga.s s + IL_0046: dup + IL_0047: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004c: ldc.i4.5 + IL_004d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0052: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005f: ldc.i4.5 + IL_0060: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0065: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006f: dup + IL_0070: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0075: ldc.i4.5 + IL_0076: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_007b: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0080: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0085: dup + IL_0086: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008b: ldc.i4.5 + IL_008c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0091: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a1: ldc.i4.5 + IL_00a2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00a7: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00ac: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b1: dup + IL_00b2: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b7: ldc.i4.5 + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00bd: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c7: dup + IL_00c8: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00cd: ldc.i4.5 + IL_00ce: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00d3: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00dd: dup + IL_00de: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e3: ldc.i4.5 + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00e9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ee: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00f3: dup + IL_00f4: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00f9: ldc.i4.5 + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00ff: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0104: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0109: dup + IL_010a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_010f: ldc.i4.5 + IL_0110: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011a: ret + } // end of method CompoundAssignmentTest::CustomClassRightShiftTest + + .method public hidebysig static void CustomClassBitAndTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 283 (0x11b) + .maxstack 3 + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: ldnull + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0015: ldnull + IL_0016: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0020: ldarg.1 + IL_0021: dup + IL_0022: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0027: ldnull + IL_0028: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0039: ldnull + IL_003a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_003f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0044: ldarga.s s + IL_0046: dup + IL_0047: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004c: ldnull + IL_004d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0052: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005f: ldnull + IL_0060: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0065: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006f: dup + IL_0070: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0075: ldnull + IL_0076: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_007b: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0080: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0085: dup + IL_0086: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008b: ldnull + IL_008c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0091: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a1: ldnull + IL_00a2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00a7: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00ac: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b1: dup + IL_00b2: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b7: ldnull + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bd: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c7: dup + IL_00c8: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00cd: ldnull + IL_00ce: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d3: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00dd: dup + IL_00de: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e3: ldnull + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ee: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00f3: dup + IL_00f4: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00f9: ldnull + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ff: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0104: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0109: dup + IL_010a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_010f: ldnull + IL_0110: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011a: ret + } // end of method CompoundAssignmentTest::CustomClassBitAndTest - .method public hidebysig instance int32 - PreIncrementStaticField() cil managed + .method public hidebysig static void CustomClassBitOrTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_0005: ldc.i4.1 - IL_0006: add - IL_0007: dup - IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_000d: ret - } // end of method CompoundAssignmentTest::PreIncrementStaticField + // Code size 283 (0x11b) + .maxstack 3 + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: ldnull + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0015: ldnull + IL_0016: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0020: ldarg.1 + IL_0021: dup + IL_0022: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0027: ldnull + IL_0028: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0039: ldnull + IL_003a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_003f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0044: ldarga.s s + IL_0046: dup + IL_0047: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004c: ldnull + IL_004d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0052: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005f: ldnull + IL_0060: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0065: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006f: dup + IL_0070: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0075: ldnull + IL_0076: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_007b: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0080: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0085: dup + IL_0086: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008b: ldnull + IL_008c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0091: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a1: ldnull + IL_00a2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00a7: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00ac: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b1: dup + IL_00b2: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b7: ldnull + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bd: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c7: dup + IL_00c8: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00cd: ldnull + IL_00ce: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d3: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00dd: dup + IL_00de: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e3: ldnull + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ee: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00f3: dup + IL_00f4: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00f9: ldnull + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ff: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0104: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0109: dup + IL_010a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_010f: ldnull + IL_0110: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011a: ret + } // end of method CompoundAssignmentTest::CustomClassBitOrTest - .method public hidebysig instance int32 - PostIncrementStaticField() cil managed + .method public hidebysig static void CustomClassBitXorTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + // Code size 283 (0x11b) + .maxstack 3 + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: ldnull + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0015: ldnull + IL_0016: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0020: ldarg.1 + IL_0021: dup + IL_0022: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0027: ldnull + IL_0028: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0039: ldnull + IL_003a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_003f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0044: ldarga.s s + IL_0046: dup + IL_0047: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004c: ldnull + IL_004d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0052: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005f: ldnull + IL_0060: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0065: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006f: dup + IL_0070: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0075: ldnull + IL_0076: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_007b: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0080: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0085: dup + IL_0086: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008b: ldnull + IL_008c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0091: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a1: ldnull + IL_00a2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00a7: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00ac: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b1: dup + IL_00b2: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b7: ldnull + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bd: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c7: dup + IL_00c8: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00cd: ldnull + IL_00ce: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d3: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00dd: dup + IL_00de: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e3: ldnull + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ee: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00f3: dup + IL_00f4: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00f9: ldnull + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ff: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0104: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0109: dup + IL_010a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_010f: ldnull + IL_0110: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011a: ret + } // end of method CompoundAssignmentTest::CustomClassBitXorTest + + .method public hidebysig static void CustomClassPostIncTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 393 (0x189) + .maxstack 3 + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_0, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_1, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_2, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_3, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_4, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_5, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_6, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_7, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_8, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_9, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_10, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_11) + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField IL_0005: dup - IL_0006: ldc.i4.1 - IL_0007: add - IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_000d: ret - } // end of method CompoundAssignmentTest::PostIncrementStaticField + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0015: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_001a: dup + IL_001b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0020: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0025: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0031: dup + IL_0032: stloc.0 + IL_0033: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0038: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_003d: ldloc.0 + IL_003e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0043: ldarg.1 + IL_0044: dup + IL_0045: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_004a: dup + IL_004b: stloc.1 + IL_004c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0051: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0056: ldloc.1 + IL_0057: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005c: ldarga.s s + IL_005e: dup + IL_005f: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0064: dup + IL_0065: stloc.2 + IL_0066: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006b: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0070: ldloc.2 + IL_0071: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0076: ldarga.s s + IL_0078: dup + IL_0079: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_007e: dup + IL_007f: stloc.3 + IL_0080: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0085: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_008a: ldloc.3 + IL_008b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0090: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0095: dup + IL_0096: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_009b: dup + IL_009c: stloc.s V_4 + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00a3: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00a8: ldloc.s V_4 + IL_00aa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00af: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00b4: dup + IL_00b5: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00ba: dup + IL_00bb: stloc.s V_5 + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c7: ldloc.s V_5 + IL_00c9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ce: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d3: dup + IL_00d4: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00d9: dup + IL_00da: stloc.s V_6 + IL_00dc: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e1: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00e6: ldloc.s V_6 + IL_00e8: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ed: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00f2: dup + IL_00f3: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00f8: dup + IL_00f9: stloc.s V_7 + IL_00fb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0105: ldloc.s V_7 + IL_0107: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0111: dup + IL_0112: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0117: dup + IL_0118: stloc.s V_8 + IL_011a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0124: ldloc.s V_8 + IL_0126: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0130: dup + IL_0131: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0136: dup + IL_0137: stloc.s V_9 + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_013e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0143: ldloc.s V_9 + IL_0145: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_014f: dup + IL_0150: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0155: dup + IL_0156: stloc.s V_10 + IL_0158: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_015d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0162: ldloc.s V_10 + IL_0164: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0169: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_016e: dup + IL_016f: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0174: dup + IL_0175: stloc.s V_11 + IL_0177: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_017c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0181: ldloc.s V_11 + IL_0183: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0188: ret + } // end of method CompoundAssignmentTest::CustomClassPostIncTest - .method public hidebysig instance void - IncrementStaticField() cil managed + .method public hidebysig static void CustomClassPreIncTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 13 (0xd) - .maxstack 8 - IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_0005: ldc.i4.1 - IL_0006: add - IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_000c: ret - } // end of method CompoundAssignmentTest::IncrementStaticField + // Code size 393 (0x189) + .maxstack 3 + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_0, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_1, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_2, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_3, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_4, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_5, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_6, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_7, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_8, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_9, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_10, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_11) + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000a: dup + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0015: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_001a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001f: dup + IL_0020: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0025: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0031: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0036: dup + IL_0037: stloc.0 + IL_0038: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_003d: ldloc.0 + IL_003e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0043: ldarg.1 + IL_0044: dup + IL_0045: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_004a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_004f: dup + IL_0050: stloc.1 + IL_0051: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0056: ldloc.1 + IL_0057: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005c: ldarga.s s + IL_005e: dup + IL_005f: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0064: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0069: dup + IL_006a: stloc.2 + IL_006b: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0070: ldloc.2 + IL_0071: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0076: ldarga.s s + IL_0078: dup + IL_0079: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_007e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0083: dup + IL_0084: stloc.3 + IL_0085: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_008a: ldloc.3 + IL_008b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0090: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0095: dup + IL_0096: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_009b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00a0: dup + IL_00a1: stloc.s V_4 + IL_00a3: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00a8: ldloc.s V_4 + IL_00aa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00af: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00b4: dup + IL_00b5: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00ba: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bf: dup + IL_00c0: stloc.s V_5 + IL_00c2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c7: ldloc.s V_5 + IL_00c9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ce: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d3: dup + IL_00d4: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00d9: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00de: dup + IL_00df: stloc.s V_6 + IL_00e1: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00e6: ldloc.s V_6 + IL_00e8: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ed: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00f2: dup + IL_00f3: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00fd: dup + IL_00fe: stloc.s V_7 + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0105: ldloc.s V_7 + IL_0107: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0111: dup + IL_0112: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0117: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011c: dup + IL_011d: stloc.s V_8 + IL_011f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0124: ldloc.s V_8 + IL_0126: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0130: dup + IL_0131: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0136: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_013b: dup + IL_013c: stloc.s V_9 + IL_013e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0143: ldloc.s V_9 + IL_0145: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_014f: dup + IL_0150: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_015a: dup + IL_015b: stloc.s V_10 + IL_015d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0162: ldloc.s V_10 + IL_0164: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0169: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_016e: dup + IL_016f: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0174: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0179: dup + IL_017a: stloc.s V_11 + IL_017c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0181: ldloc.s V_11 + IL_0183: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0188: ret + } // end of method CompoundAssignmentTest::CustomClassPreIncTest - .method public hidebysig instance void - DoubleStaticField() cil managed + .method public hidebysig static void CustomClassPostDecTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 13 (0xd) - .maxstack 8 - IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_0005: ldc.i4.2 - IL_0006: mul - IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_000c: ret - } // end of method CompoundAssignmentTest::DoubleStaticField + // Code size 393 (0x189) + .maxstack 3 + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_0, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_1, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_2, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_3, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_4, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_5, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_6, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_7, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_8, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_9, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_10, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_11) + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: dup + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0015: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_001a: dup + IL_001b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0020: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0025: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0031: dup + IL_0032: stloc.0 + IL_0033: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0038: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_003d: ldloc.0 + IL_003e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0043: ldarg.1 + IL_0044: dup + IL_0045: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_004a: dup + IL_004b: stloc.1 + IL_004c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0051: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0056: ldloc.1 + IL_0057: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005c: ldarga.s s + IL_005e: dup + IL_005f: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0064: dup + IL_0065: stloc.2 + IL_0066: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006b: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0070: ldloc.2 + IL_0071: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0076: ldarga.s s + IL_0078: dup + IL_0079: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_007e: dup + IL_007f: stloc.3 + IL_0080: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0085: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_008a: ldloc.3 + IL_008b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0090: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0095: dup + IL_0096: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_009b: dup + IL_009c: stloc.s V_4 + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00a3: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00a8: ldloc.s V_4 + IL_00aa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00af: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00b4: dup + IL_00b5: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00ba: dup + IL_00bb: stloc.s V_5 + IL_00bd: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c7: ldloc.s V_5 + IL_00c9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ce: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d3: dup + IL_00d4: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00d9: dup + IL_00da: stloc.s V_6 + IL_00dc: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e1: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00e6: ldloc.s V_6 + IL_00e8: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ed: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00f2: dup + IL_00f3: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00f8: dup + IL_00f9: stloc.s V_7 + IL_00fb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0105: ldloc.s V_7 + IL_0107: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0111: dup + IL_0112: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0117: dup + IL_0118: stloc.s V_8 + IL_011a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0124: ldloc.s V_8 + IL_0126: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0130: dup + IL_0131: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0136: dup + IL_0137: stloc.s V_9 + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_013e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0143: ldloc.s V_9 + IL_0145: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_014f: dup + IL_0150: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0155: dup + IL_0156: stloc.s V_10 + IL_0158: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_015d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0162: ldloc.s V_10 + IL_0164: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0169: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_016e: dup + IL_016f: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0174: dup + IL_0175: stloc.s V_11 + IL_0177: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_017c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0181: ldloc.s V_11 + IL_0183: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0188: ret + } // end of method CompoundAssignmentTest::CustomClassPostDecTest - .method public hidebysig instance int32 - DoubleStaticFieldAndReturn() cil managed + .method public hidebysig static void CustomClassPreDecTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_0005: ldc.i4.2 - IL_0006: mul - IL_0007: dup - IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_000d: ret - } // end of method CompoundAssignmentTest::DoubleStaticFieldAndReturn + // Code size 393 (0x189) + .maxstack 3 + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_0, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_1, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_2, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_3, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_4, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_5, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_6, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_7, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_8, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_9, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_10, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_11) + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000a: dup + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0015: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_001a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001f: dup + IL_0020: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0025: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0031: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0036: dup + IL_0037: stloc.0 + IL_0038: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_003d: ldloc.0 + IL_003e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0043: ldarg.1 + IL_0044: dup + IL_0045: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_004a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_004f: dup + IL_0050: stloc.1 + IL_0051: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0056: ldloc.1 + IL_0057: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005c: ldarga.s s + IL_005e: dup + IL_005f: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0064: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0069: dup + IL_006a: stloc.2 + IL_006b: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0070: ldloc.2 + IL_0071: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0076: ldarga.s s + IL_0078: dup + IL_0079: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_007e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0083: dup + IL_0084: stloc.3 + IL_0085: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_008a: ldloc.3 + IL_008b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0090: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0095: dup + IL_0096: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_009b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00a0: dup + IL_00a1: stloc.s V_4 + IL_00a3: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00a8: ldloc.s V_4 + IL_00aa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00af: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00b4: dup + IL_00b5: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00ba: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bf: dup + IL_00c0: stloc.s V_5 + IL_00c2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c7: ldloc.s V_5 + IL_00c9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ce: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d3: dup + IL_00d4: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00d9: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00de: dup + IL_00df: stloc.s V_6 + IL_00e1: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00e6: ldloc.s V_6 + IL_00e8: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ed: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00f2: dup + IL_00f3: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00fd: dup + IL_00fe: stloc.s V_7 + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0105: ldloc.s V_7 + IL_0107: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0111: dup + IL_0112: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0117: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011c: dup + IL_011d: stloc.s V_8 + IL_011f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0124: ldloc.s V_8 + IL_0126: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0130: dup + IL_0131: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0136: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_013b: dup + IL_013c: stloc.s V_9 + IL_013e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0143: ldloc.s V_9 + IL_0145: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_014f: dup + IL_0150: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_015a: dup + IL_015b: stloc.s V_10 + IL_015d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0162: ldloc.s V_10 + IL_0164: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0169: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_016e: dup + IL_016f: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0174: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0179: dup + IL_017a: stloc.s V_11 + IL_017c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0181: ldloc.s V_11 + IL_0183: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0188: ret + } // end of method CompoundAssignmentTest::CustomClassPreDecTest - .method public hidebysig instance int32 - PreIncrementStaticFieldShort() cil managed + .method public hidebysig static void CustomStructAddTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_0005: ldc.i4.1 - IL_0006: add - IL_0007: conv.i2 - IL_0008: dup - IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_000e: ret - } // end of method CompoundAssignmentTest::PreIncrementStaticFieldShort + // Code size 405 (0x195) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_1, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_2, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_3, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_4, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_5, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_6, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_7, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_8, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_9, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_10, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_11, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_12, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_13) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: ldloca.s V_0 + IL_0007: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000d: ldloc.0 + IL_000e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0013: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0018: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001d: ldloca.s V_1 + IL_001f: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0025: ldloc.1 + IL_0026: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0030: ldarg.1 + IL_0031: dup + IL_0032: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0037: ldloca.s V_2 + IL_0039: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_003f: ldloc.2 + IL_0040: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0045: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004a: ldarg.1 + IL_004b: dup + IL_004c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0051: ldloca.s V_3 + IL_0053: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0059: ldloc.3 + IL_005a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_005f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0064: ldarga.s s + IL_0066: dup + IL_0067: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006c: ldloca.s V_4 + IL_006e: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0074: ldloc.s V_4 + IL_0076: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_007b: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0080: ldarga.s s + IL_0082: dup + IL_0083: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0088: ldloca.s V_5 + IL_008a: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0090: ldloc.s V_5 + IL_0092: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0097: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a7: ldloca.s V_6 + IL_00a9: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00af: ldloc.s V_6 + IL_00b1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b6: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00bb: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c0: dup + IL_00c1: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c6: ldloca.s V_7 + IL_00c8: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ce: ldloc.s V_7 + IL_00d0: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00da: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00df: dup + IL_00e0: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e5: ldloca.s V_8 + IL_00e7: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ed: ldloc.s V_8 + IL_00ef: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f4: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00f9: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00fe: dup + IL_00ff: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0104: ldloca.s V_9 + IL_0106: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_010c: ldloc.s V_9 + IL_010e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0113: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0118: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011d: dup + IL_011e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0123: ldloca.s V_10 + IL_0125: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_012b: ldloc.s V_10 + IL_012d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0132: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0137: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_013c: dup + IL_013d: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0142: ldloca.s V_11 + IL_0144: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_014a: ldloc.s V_11 + IL_014c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0151: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0156: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015b: dup + IL_015c: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0161: ldloca.s V_12 + IL_0163: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0169: ldloc.s V_12 + IL_016b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0170: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0175: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_017a: dup + IL_017b: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0180: ldloca.s V_13 + IL_0182: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0188: ldloc.s V_13 + IL_018a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0194: ret + } // end of method CompoundAssignmentTest::CustomStructAddTest - .method public hidebysig instance int32 - PostIncrementStaticFieldShort() cil managed + .method public hidebysig static void CustomStructSubtractTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_0005: dup - IL_0006: ldc.i4.1 - IL_0007: add - IL_0008: conv.i2 - IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_000e: ret - } // end of method CompoundAssignmentTest::PostIncrementStaticFieldShort + // Code size 405 (0x195) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_1, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_2, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_3, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_4, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_5, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_6, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_7, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_8, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_9, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_10, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_11, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_12, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_13) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: ldloca.s V_0 + IL_0007: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000d: ldloc.0 + IL_000e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0013: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0018: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001d: ldloca.s V_1 + IL_001f: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0025: ldloc.1 + IL_0026: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0030: ldarg.1 + IL_0031: dup + IL_0032: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0037: ldloca.s V_2 + IL_0039: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_003f: ldloc.2 + IL_0040: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0045: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004a: ldarg.1 + IL_004b: dup + IL_004c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0051: ldloca.s V_3 + IL_0053: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0059: ldloc.3 + IL_005a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_005f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0064: ldarga.s s + IL_0066: dup + IL_0067: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006c: ldloca.s V_4 + IL_006e: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0074: ldloc.s V_4 + IL_0076: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_007b: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0080: ldarga.s s + IL_0082: dup + IL_0083: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0088: ldloca.s V_5 + IL_008a: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0090: ldloc.s V_5 + IL_0092: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0097: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a7: ldloca.s V_6 + IL_00a9: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00af: ldloc.s V_6 + IL_00b1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b6: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00bb: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c0: dup + IL_00c1: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c6: ldloca.s V_7 + IL_00c8: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ce: ldloc.s V_7 + IL_00d0: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00da: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00df: dup + IL_00e0: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e5: ldloca.s V_8 + IL_00e7: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ed: ldloc.s V_8 + IL_00ef: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f4: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00f9: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00fe: dup + IL_00ff: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0104: ldloca.s V_9 + IL_0106: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_010c: ldloc.s V_9 + IL_010e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0113: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0118: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011d: dup + IL_011e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0123: ldloca.s V_10 + IL_0125: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_012b: ldloc.s V_10 + IL_012d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0132: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0137: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_013c: dup + IL_013d: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0142: ldloca.s V_11 + IL_0144: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_014a: ldloc.s V_11 + IL_014c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0151: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0156: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015b: dup + IL_015c: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0161: ldloca.s V_12 + IL_0163: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0169: ldloc.s V_12 + IL_016b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0170: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0175: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_017a: dup + IL_017b: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0180: ldloca.s V_13 + IL_0182: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0188: ldloc.s V_13 + IL_018a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0194: ret + } // end of method CompoundAssignmentTest::CustomStructSubtractTest - .method public hidebysig instance void - IncrementStaticFieldShort() cil managed + .method public hidebysig static void CustomStructMultiplyTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_0005: ldc.i4.1 - IL_0006: add - IL_0007: conv.i2 - IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_000d: ret - } // end of method CompoundAssignmentTest::IncrementStaticFieldShort + // Code size 405 (0x195) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_1, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_2, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_3, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_4, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_5, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_6, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_7, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_8, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_9, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_10, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_11, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_12, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_13) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: ldloca.s V_0 + IL_0007: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000d: ldloc.0 + IL_000e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0013: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0018: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001d: ldloca.s V_1 + IL_001f: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0025: ldloc.1 + IL_0026: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0030: ldarg.1 + IL_0031: dup + IL_0032: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0037: ldloca.s V_2 + IL_0039: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_003f: ldloc.2 + IL_0040: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0045: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004a: ldarg.1 + IL_004b: dup + IL_004c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0051: ldloca.s V_3 + IL_0053: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0059: ldloc.3 + IL_005a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_005f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0064: ldarga.s s + IL_0066: dup + IL_0067: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006c: ldloca.s V_4 + IL_006e: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0074: ldloc.s V_4 + IL_0076: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_007b: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0080: ldarga.s s + IL_0082: dup + IL_0083: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0088: ldloca.s V_5 + IL_008a: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0090: ldloc.s V_5 + IL_0092: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0097: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a7: ldloca.s V_6 + IL_00a9: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00af: ldloc.s V_6 + IL_00b1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b6: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00bb: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c0: dup + IL_00c1: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c6: ldloca.s V_7 + IL_00c8: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ce: ldloc.s V_7 + IL_00d0: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00da: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00df: dup + IL_00e0: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e5: ldloca.s V_8 + IL_00e7: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ed: ldloc.s V_8 + IL_00ef: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f4: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00f9: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00fe: dup + IL_00ff: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0104: ldloca.s V_9 + IL_0106: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_010c: ldloc.s V_9 + IL_010e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0113: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0118: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011d: dup + IL_011e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0123: ldloca.s V_10 + IL_0125: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_012b: ldloc.s V_10 + IL_012d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0132: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0137: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_013c: dup + IL_013d: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0142: ldloca.s V_11 + IL_0144: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_014a: ldloc.s V_11 + IL_014c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0151: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0156: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015b: dup + IL_015c: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0161: ldloca.s V_12 + IL_0163: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0169: ldloc.s V_12 + IL_016b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0170: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0175: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_017a: dup + IL_017b: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0180: ldloca.s V_13 + IL_0182: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0188: ldloc.s V_13 + IL_018a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0194: ret + } // end of method CompoundAssignmentTest::CustomStructMultiplyTest - .method public hidebysig instance void - DoubleStaticFieldShort() cil managed + .method public hidebysig static void CustomStructDivideTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_0005: ldc.i4.2 - IL_0006: mul - IL_0007: conv.i2 - IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_000d: ret - } // end of method CompoundAssignmentTest::DoubleStaticFieldShort + // Code size 405 (0x195) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_1, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_2, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_3, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_4, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_5, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_6, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_7, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_8, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_9, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_10, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_11, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_12, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_13) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: ldloca.s V_0 + IL_0007: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000d: ldloc.0 + IL_000e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0013: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0018: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001d: ldloca.s V_1 + IL_001f: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0025: ldloc.1 + IL_0026: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0030: ldarg.1 + IL_0031: dup + IL_0032: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0037: ldloca.s V_2 + IL_0039: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_003f: ldloc.2 + IL_0040: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0045: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004a: ldarg.1 + IL_004b: dup + IL_004c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0051: ldloca.s V_3 + IL_0053: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0059: ldloc.3 + IL_005a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_005f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0064: ldarga.s s + IL_0066: dup + IL_0067: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006c: ldloca.s V_4 + IL_006e: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0074: ldloc.s V_4 + IL_0076: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_007b: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0080: ldarga.s s + IL_0082: dup + IL_0083: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0088: ldloca.s V_5 + IL_008a: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0090: ldloc.s V_5 + IL_0092: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0097: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a7: ldloca.s V_6 + IL_00a9: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00af: ldloc.s V_6 + IL_00b1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b6: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00bb: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c0: dup + IL_00c1: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c6: ldloca.s V_7 + IL_00c8: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ce: ldloc.s V_7 + IL_00d0: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00da: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00df: dup + IL_00e0: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e5: ldloca.s V_8 + IL_00e7: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ed: ldloc.s V_8 + IL_00ef: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f4: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00f9: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00fe: dup + IL_00ff: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0104: ldloca.s V_9 + IL_0106: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_010c: ldloc.s V_9 + IL_010e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0113: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0118: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011d: dup + IL_011e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0123: ldloca.s V_10 + IL_0125: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_012b: ldloc.s V_10 + IL_012d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0132: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0137: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_013c: dup + IL_013d: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0142: ldloca.s V_11 + IL_0144: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_014a: ldloc.s V_11 + IL_014c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0151: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0156: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015b: dup + IL_015c: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0161: ldloca.s V_12 + IL_0163: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0169: ldloc.s V_12 + IL_016b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0170: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0175: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_017a: dup + IL_017b: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0180: ldloca.s V_13 + IL_0182: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0188: ldloc.s V_13 + IL_018a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0194: ret + } // end of method CompoundAssignmentTest::CustomStructDivideTest - .method public hidebysig instance int16 - DoubleStaticFieldAndReturnShort() cil managed + .method public hidebysig static void CustomStructModulusTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_0005: ldc.i4.2 - IL_0006: mul - IL_0007: conv.i2 - IL_0008: dup - IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_000e: ret - } // end of method CompoundAssignmentTest::DoubleStaticFieldAndReturnShort + // Code size 405 (0x195) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_1, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_2, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_3, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_4, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_5, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_6, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_7, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_8, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_9, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_10, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_11, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_12, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_13) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: ldloca.s V_0 + IL_0007: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000d: ldloc.0 + IL_000e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0013: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0018: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001d: ldloca.s V_1 + IL_001f: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0025: ldloc.1 + IL_0026: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0030: ldarg.1 + IL_0031: dup + IL_0032: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0037: ldloca.s V_2 + IL_0039: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_003f: ldloc.2 + IL_0040: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0045: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004a: ldarg.1 + IL_004b: dup + IL_004c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0051: ldloca.s V_3 + IL_0053: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0059: ldloc.3 + IL_005a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_005f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0064: ldarga.s s + IL_0066: dup + IL_0067: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006c: ldloca.s V_4 + IL_006e: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0074: ldloc.s V_4 + IL_0076: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_007b: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0080: ldarga.s s + IL_0082: dup + IL_0083: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0088: ldloca.s V_5 + IL_008a: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0090: ldloc.s V_5 + IL_0092: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0097: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a7: ldloca.s V_6 + IL_00a9: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00af: ldloc.s V_6 + IL_00b1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b6: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00bb: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c0: dup + IL_00c1: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c6: ldloca.s V_7 + IL_00c8: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ce: ldloc.s V_7 + IL_00d0: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00da: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00df: dup + IL_00e0: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e5: ldloca.s V_8 + IL_00e7: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ed: ldloc.s V_8 + IL_00ef: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f4: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00f9: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00fe: dup + IL_00ff: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0104: ldloca.s V_9 + IL_0106: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_010c: ldloc.s V_9 + IL_010e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0113: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0118: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011d: dup + IL_011e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0123: ldloca.s V_10 + IL_0125: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_012b: ldloc.s V_10 + IL_012d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0132: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0137: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_013c: dup + IL_013d: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0142: ldloca.s V_11 + IL_0144: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_014a: ldloc.s V_11 + IL_014c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0151: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0156: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015b: dup + IL_015c: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0161: ldloca.s V_12 + IL_0163: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0169: ldloc.s V_12 + IL_016b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0170: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0175: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_017a: dup + IL_017b: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0180: ldloca.s V_13 + IL_0182: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0188: ldloc.s V_13 + IL_018a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0194: ret + } // end of method CompoundAssignmentTest::CustomStructModulusTest - .method public hidebysig instance int32 - PreIncrementStaticProperty() cil managed + .method public hidebysig static void CustomStructLeftShiftTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 - IL_0000: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() - IL_0005: ldc.i4.1 - IL_0006: add - IL_0007: dup - IL_0008: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) - IL_000d: ret - } // end of method CompoundAssignmentTest::PreIncrementStaticProperty + // Code size 283 (0x11b) + .maxstack 3 + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: ldc.i4.5 + IL_0006: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_000b: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0010: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_0015: ldc.i4.5 + IL_0016: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_001b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0020: ldarg.1 + IL_0021: dup + IL_0022: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0027: ldc.i4.5 + IL_0028: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_002d: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0039: ldc.i4.5 + IL_003a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_003f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0044: ldarga.s s + IL_0046: dup + IL_0047: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_004c: ldc.i4.5 + IL_004d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0052: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_005f: ldc.i4.5 + IL_0060: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0065: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_006a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006f: dup + IL_0070: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0075: ldc.i4.5 + IL_0076: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_007b: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0080: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0085: dup + IL_0086: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_008b: ldc.i4.5 + IL_008c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0091: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00a1: ldc.i4.5 + IL_00a2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00a7: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00ac: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b1: dup + IL_00b2: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_00b7: ldc.i4.5 + IL_00b8: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00bd: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c7: dup + IL_00c8: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00cd: ldc.i4.5 + IL_00ce: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00d3: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00d8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00dd: dup + IL_00de: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00e3: ldc.i4.5 + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00e9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00ee: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00f3: dup + IL_00f4: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00f9: ldc.i4.5 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00ff: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0104: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0109: dup + IL_010a: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_010f: ldc.i4.5 + IL_0110: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_011a: ret + } // end of method CompoundAssignmentTest::CustomStructLeftShiftTest - .method public hidebysig instance int32 - PostIncrementStaticProperty() cil managed + .method public hidebysig static void CustomStructRightShiftTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 - IL_0000: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() - IL_0005: dup - IL_0006: ldc.i4.1 - IL_0007: add - IL_0008: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) - IL_000d: ret - } // end of method CompoundAssignmentTest::PostIncrementStaticProperty + // Code size 283 (0x11b) + .maxstack 3 + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: ldc.i4.5 + IL_0006: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_000b: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0010: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_0015: ldc.i4.5 + IL_0016: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_001b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0020: ldarg.1 + IL_0021: dup + IL_0022: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0027: ldc.i4.5 + IL_0028: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_002d: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0039: ldc.i4.5 + IL_003a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_003f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0044: ldarga.s s + IL_0046: dup + IL_0047: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_004c: ldc.i4.5 + IL_004d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0052: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_005f: ldc.i4.5 + IL_0060: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0065: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_006a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006f: dup + IL_0070: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0075: ldc.i4.5 + IL_0076: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_007b: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0080: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0085: dup + IL_0086: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_008b: ldc.i4.5 + IL_008c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0091: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0096: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009b: dup + IL_009c: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00a1: ldc.i4.5 + IL_00a2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00a7: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00ac: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b1: dup + IL_00b2: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_00b7: ldc.i4.5 + IL_00b8: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00bd: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c7: dup + IL_00c8: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00cd: ldc.i4.5 + IL_00ce: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00d3: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00d8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00dd: dup + IL_00de: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00e3: ldc.i4.5 + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00e9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00ee: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00f3: dup + IL_00f4: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00f9: ldc.i4.5 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00ff: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0104: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0109: dup + IL_010a: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_010f: ldc.i4.5 + IL_0110: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_011a: ret + } // end of method CompoundAssignmentTest::CustomStructRightShiftTest - .method public hidebysig instance void - IncrementStaticProperty() cil managed + .method public hidebysig static void CustomStructBitAndTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 13 (0xd) - .maxstack 8 - IL_0000: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() - IL_0005: ldc.i4.1 - IL_0006: add - IL_0007: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) - IL_000c: ret - } // end of method CompoundAssignmentTest::IncrementStaticProperty + // Code size 405 (0x195) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_1, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_2, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_3, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_4, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_5, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_6, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_7, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_8, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_9, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_10, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_11, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_12, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_13) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: ldloca.s V_0 + IL_0007: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000d: ldloc.0 + IL_000e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0013: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0018: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001d: ldloca.s V_1 + IL_001f: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0025: ldloc.1 + IL_0026: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0030: ldarg.1 + IL_0031: dup + IL_0032: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0037: ldloca.s V_2 + IL_0039: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_003f: ldloc.2 + IL_0040: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0045: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004a: ldarg.1 + IL_004b: dup + IL_004c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0051: ldloca.s V_3 + IL_0053: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0059: ldloc.3 + IL_005a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_005f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0064: ldarga.s s + IL_0066: dup + IL_0067: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006c: ldloca.s V_4 + IL_006e: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0074: ldloc.s V_4 + IL_0076: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_007b: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0080: ldarga.s s + IL_0082: dup + IL_0083: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0088: ldloca.s V_5 + IL_008a: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0090: ldloc.s V_5 + IL_0092: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0097: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a7: ldloca.s V_6 + IL_00a9: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00af: ldloc.s V_6 + IL_00b1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b6: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00bb: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c0: dup + IL_00c1: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c6: ldloca.s V_7 + IL_00c8: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ce: ldloc.s V_7 + IL_00d0: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00da: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00df: dup + IL_00e0: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e5: ldloca.s V_8 + IL_00e7: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ed: ldloc.s V_8 + IL_00ef: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f4: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00f9: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00fe: dup + IL_00ff: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0104: ldloca.s V_9 + IL_0106: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_010c: ldloc.s V_9 + IL_010e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0113: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0118: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011d: dup + IL_011e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0123: ldloca.s V_10 + IL_0125: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_012b: ldloc.s V_10 + IL_012d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0132: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0137: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_013c: dup + IL_013d: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0142: ldloca.s V_11 + IL_0144: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_014a: ldloc.s V_11 + IL_014c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0151: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0156: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015b: dup + IL_015c: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0161: ldloca.s V_12 + IL_0163: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0169: ldloc.s V_12 + IL_016b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0170: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0175: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_017a: dup + IL_017b: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0180: ldloca.s V_13 + IL_0182: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0188: ldloc.s V_13 + IL_018a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0194: ret + } // end of method CompoundAssignmentTest::CustomStructBitAndTest - .method public hidebysig instance void - DoubleStaticProperty() cil managed + .method public hidebysig static void CustomStructBitOrTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 13 (0xd) - .maxstack 8 - IL_0000: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() - IL_0005: ldc.i4.2 - IL_0006: mul - IL_0007: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) - IL_000c: ret - } // end of method CompoundAssignmentTest::DoubleStaticProperty + // Code size 405 (0x195) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_1, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_2, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_3, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_4, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_5, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_6, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_7, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_8, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_9, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_10, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_11, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_12, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_13) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: ldloca.s V_0 + IL_0007: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000d: ldloc.0 + IL_000e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0013: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0018: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001d: ldloca.s V_1 + IL_001f: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0025: ldloc.1 + IL_0026: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0030: ldarg.1 + IL_0031: dup + IL_0032: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0037: ldloca.s V_2 + IL_0039: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_003f: ldloc.2 + IL_0040: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0045: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004a: ldarg.1 + IL_004b: dup + IL_004c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0051: ldloca.s V_3 + IL_0053: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0059: ldloc.3 + IL_005a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_005f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0064: ldarga.s s + IL_0066: dup + IL_0067: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006c: ldloca.s V_4 + IL_006e: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0074: ldloc.s V_4 + IL_0076: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_007b: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0080: ldarga.s s + IL_0082: dup + IL_0083: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0088: ldloca.s V_5 + IL_008a: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0090: ldloc.s V_5 + IL_0092: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0097: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a7: ldloca.s V_6 + IL_00a9: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00af: ldloc.s V_6 + IL_00b1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b6: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00bb: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c0: dup + IL_00c1: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c6: ldloca.s V_7 + IL_00c8: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ce: ldloc.s V_7 + IL_00d0: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00da: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00df: dup + IL_00e0: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e5: ldloca.s V_8 + IL_00e7: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ed: ldloc.s V_8 + IL_00ef: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f4: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00f9: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00fe: dup + IL_00ff: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0104: ldloca.s V_9 + IL_0106: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_010c: ldloc.s V_9 + IL_010e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0113: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0118: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011d: dup + IL_011e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0123: ldloca.s V_10 + IL_0125: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_012b: ldloc.s V_10 + IL_012d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0132: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0137: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_013c: dup + IL_013d: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0142: ldloca.s V_11 + IL_0144: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_014a: ldloc.s V_11 + IL_014c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0151: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0156: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015b: dup + IL_015c: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0161: ldloca.s V_12 + IL_0163: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0169: ldloc.s V_12 + IL_016b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0170: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0175: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_017a: dup + IL_017b: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0180: ldloca.s V_13 + IL_0182: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0188: ldloc.s V_13 + IL_018a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0194: ret + } // end of method CompoundAssignmentTest::CustomStructBitOrTest - .method public hidebysig instance int32 - DoubleStaticPropertyAndReturn() cil managed + .method public hidebysig static void CustomStructBitXorTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 - IL_0000: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() - IL_0005: ldc.i4.2 - IL_0006: mul - IL_0007: dup - IL_0008: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) - IL_000d: ret - } // end of method CompoundAssignmentTest::DoubleStaticPropertyAndReturn + // Code size 405 (0x195) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_1, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_2, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_3, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_4, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_5, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_6, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_7, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_8, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_9, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_10, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_11, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_12, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_13) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: ldloca.s V_0 + IL_0007: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000d: ldloc.0 + IL_000e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0013: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0018: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001d: ldloca.s V_1 + IL_001f: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0025: ldloc.1 + IL_0026: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0030: ldarg.1 + IL_0031: dup + IL_0032: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0037: ldloca.s V_2 + IL_0039: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_003f: ldloc.2 + IL_0040: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0045: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004a: ldarg.1 + IL_004b: dup + IL_004c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0051: ldloca.s V_3 + IL_0053: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0059: ldloc.3 + IL_005a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_005f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0064: ldarga.s s + IL_0066: dup + IL_0067: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006c: ldloca.s V_4 + IL_006e: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0074: ldloc.s V_4 + IL_0076: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_007b: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0080: ldarga.s s + IL_0082: dup + IL_0083: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0088: ldloca.s V_5 + IL_008a: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0090: ldloc.s V_5 + IL_0092: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0097: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a7: ldloca.s V_6 + IL_00a9: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00af: ldloc.s V_6 + IL_00b1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b6: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00bb: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c0: dup + IL_00c1: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c6: ldloca.s V_7 + IL_00c8: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ce: ldloc.s V_7 + IL_00d0: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00da: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00df: dup + IL_00e0: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e5: ldloca.s V_8 + IL_00e7: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ed: ldloc.s V_8 + IL_00ef: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f4: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00f9: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00fe: dup + IL_00ff: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0104: ldloca.s V_9 + IL_0106: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_010c: ldloc.s V_9 + IL_010e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0113: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0118: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011d: dup + IL_011e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0123: ldloca.s V_10 + IL_0125: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_012b: ldloc.s V_10 + IL_012d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0132: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0137: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_013c: dup + IL_013d: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0142: ldloca.s V_11 + IL_0144: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_014a: ldloc.s V_11 + IL_014c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0151: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0156: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015b: dup + IL_015c: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0161: ldloca.s V_12 + IL_0163: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0169: ldloc.s V_12 + IL_016b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0170: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0175: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_017a: dup + IL_017b: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0180: ldloca.s V_13 + IL_0182: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0188: ldloc.s V_13 + IL_018a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0194: ret + } // end of method CompoundAssignmentTest::CustomStructBitXorTest - .method public hidebysig instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum - PreIncrementStaticPropertyShort() cil managed + .method public hidebysig static void CustomStructPostIncTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 15 (0xf) - .maxstack 8 - IL_0000: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticShortProperty() - IL_0005: ldc.i4.1 - IL_0006: add - IL_0007: conv.i2 - IL_0008: dup - IL_0009: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum) - IL_000e: ret - } // end of method CompoundAssignmentTest::PreIncrementStaticPropertyShort + // Code size 393 (0x189) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_1, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_2, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_3, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_4, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_5, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_6, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_7, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_8, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_9, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_10, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_11) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: dup + IL_0006: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_000b: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0010: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0015: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001a: dup + IL_001b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0020: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0025: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0031: dup + IL_0032: stloc.0 + IL_0033: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0038: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_003d: ldloc.0 + IL_003e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0043: ldarg.1 + IL_0044: dup + IL_0045: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_004a: dup + IL_004b: stloc.1 + IL_004c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0051: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0056: ldloc.1 + IL_0057: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005c: ldarga.s s + IL_005e: dup + IL_005f: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0064: dup + IL_0065: stloc.2 + IL_0066: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_006b: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0070: ldloc.2 + IL_0071: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0076: ldarga.s s + IL_0078: dup + IL_0079: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_007e: dup + IL_007f: stloc.3 + IL_0080: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0085: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_008a: ldloc.3 + IL_008b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0090: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0095: dup + IL_0096: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_009b: dup + IL_009c: stloc.s V_4 + IL_009e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00a3: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a8: ldloc.s V_4 + IL_00aa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00af: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00b4: dup + IL_00b5: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00ba: dup + IL_00bb: stloc.s V_5 + IL_00bd: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00c2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00c7: ldloc.s V_5 + IL_00c9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ce: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d3: dup + IL_00d4: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00d9: dup + IL_00da: stloc.s V_6 + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00e1: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e6: ldloc.s V_6 + IL_00e8: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ed: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00f2: dup + IL_00f3: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_00f8: dup + IL_00f9: stloc.s V_7 + IL_00fb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0105: ldloc.s V_7 + IL_0107: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0111: dup + IL_0112: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0117: dup + IL_0118: stloc.s V_8 + IL_011a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_011f: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0124: ldloc.s V_8 + IL_0126: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0130: dup + IL_0131: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0136: dup + IL_0137: stloc.s V_9 + IL_0139: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_013e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0143: ldloc.s V_9 + IL_0145: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_014f: dup + IL_0150: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0155: dup + IL_0156: stloc.s V_10 + IL_0158: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_015d: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0162: ldloc.s V_10 + IL_0164: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0169: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_016e: dup + IL_016f: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0174: dup + IL_0175: stloc.s V_11 + IL_0177: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_017c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0181: ldloc.s V_11 + IL_0183: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0188: ret + } // end of method CompoundAssignmentTest::CustomStructPostIncTest - .method public hidebysig instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum - PostIncrementStaticPropertyShort() cil managed + .method public hidebysig static void CustomStructPreIncTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 15 (0xf) - .maxstack 8 - IL_0000: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticShortProperty() + // Code size 393 (0x189) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_1, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_2, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_3, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_4, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_5, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_6, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_7, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_8, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_9, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_10, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_11) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_000a: dup + IL_000b: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0010: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0015: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_001f: dup + IL_0020: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0025: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0031: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0036: dup + IL_0037: stloc.0 + IL_0038: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_003d: ldloc.0 + IL_003e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0043: ldarg.1 + IL_0044: dup + IL_0045: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_004a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_004f: dup + IL_0050: stloc.1 + IL_0051: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0056: ldloc.1 + IL_0057: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005c: ldarga.s s + IL_005e: dup + IL_005f: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0064: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0069: dup + IL_006a: stloc.2 + IL_006b: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0070: ldloc.2 + IL_0071: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0076: ldarga.s s + IL_0078: dup + IL_0079: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_007e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0083: dup + IL_0084: stloc.3 + IL_0085: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_008a: ldloc.3 + IL_008b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0090: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0095: dup + IL_0096: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_009b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00a0: dup + IL_00a1: stloc.s V_4 + IL_00a3: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a8: ldloc.s V_4 + IL_00aa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00af: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00b4: dup + IL_00b5: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00ba: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00bf: dup + IL_00c0: stloc.s V_5 + IL_00c2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00c7: ldloc.s V_5 + IL_00c9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ce: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d3: dup + IL_00d4: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00d9: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00de: dup + IL_00df: stloc.s V_6 + IL_00e1: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e6: ldloc.s V_6 + IL_00e8: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ed: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00f2: dup + IL_00f3: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_00f8: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00fd: dup + IL_00fe: stloc.s V_7 + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0105: ldloc.s V_7 + IL_0107: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0111: dup + IL_0112: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0117: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_011c: dup + IL_011d: stloc.s V_8 + IL_011f: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0124: ldloc.s V_8 + IL_0126: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0130: dup + IL_0131: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0136: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_013b: dup + IL_013c: stloc.s V_9 + IL_013e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0143: ldloc.s V_9 + IL_0145: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_014f: dup + IL_0150: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0155: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_015a: dup + IL_015b: stloc.s V_10 + IL_015d: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0162: ldloc.s V_10 + IL_0164: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0169: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_016e: dup + IL_016f: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0174: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0179: dup + IL_017a: stloc.s V_11 + IL_017c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0181: ldloc.s V_11 + IL_0183: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0188: ret + } // end of method CompoundAssignmentTest::CustomStructPreIncTest + + .method public hidebysig static void CustomStructPostDecTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 393 (0x189) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_1, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_2, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_3, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_4, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_5, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_6, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_7, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_8, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_9, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_10, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_11) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField IL_0005: dup - IL_0006: ldc.i4.1 - IL_0007: add - IL_0008: conv.i2 - IL_0009: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum) - IL_000e: ret - } // end of method CompoundAssignmentTest::PostIncrementStaticPropertyShort + IL_0006: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_000b: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0010: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0015: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001a: dup + IL_001b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0020: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0025: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0031: dup + IL_0032: stloc.0 + IL_0033: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0038: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_003d: ldloc.0 + IL_003e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0043: ldarg.1 + IL_0044: dup + IL_0045: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_004a: dup + IL_004b: stloc.1 + IL_004c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0051: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0056: ldloc.1 + IL_0057: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005c: ldarga.s s + IL_005e: dup + IL_005f: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0064: dup + IL_0065: stloc.2 + IL_0066: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_006b: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0070: ldloc.2 + IL_0071: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0076: ldarga.s s + IL_0078: dup + IL_0079: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_007e: dup + IL_007f: stloc.3 + IL_0080: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0085: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_008a: ldloc.3 + IL_008b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0090: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0095: dup + IL_0096: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_009b: dup + IL_009c: stloc.s V_4 + IL_009e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00a3: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a8: ldloc.s V_4 + IL_00aa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00af: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00b4: dup + IL_00b5: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00ba: dup + IL_00bb: stloc.s V_5 + IL_00bd: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00c2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00c7: ldloc.s V_5 + IL_00c9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ce: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d3: dup + IL_00d4: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00d9: dup + IL_00da: stloc.s V_6 + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00e1: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e6: ldloc.s V_6 + IL_00e8: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ed: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00f2: dup + IL_00f3: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_00f8: dup + IL_00f9: stloc.s V_7 + IL_00fb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0105: ldloc.s V_7 + IL_0107: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0111: dup + IL_0112: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0117: dup + IL_0118: stloc.s V_8 + IL_011a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_011f: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0124: ldloc.s V_8 + IL_0126: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0130: dup + IL_0131: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0136: dup + IL_0137: stloc.s V_9 + IL_0139: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_013e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0143: ldloc.s V_9 + IL_0145: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_014f: dup + IL_0150: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0155: dup + IL_0156: stloc.s V_10 + IL_0158: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_015d: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0162: ldloc.s V_10 + IL_0164: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0169: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_016e: dup + IL_016f: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0174: dup + IL_0175: stloc.s V_11 + IL_0177: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_017c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0181: ldloc.s V_11 + IL_0183: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0188: ret + } // end of method CompoundAssignmentTest::CustomStructPostDecTest - .method public hidebysig instance void - IncrementStaticPropertyShort() cil managed + .method public hidebysig static void CustomStructPreDecTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 - IL_0000: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticShortProperty() - IL_0005: ldc.i4.1 - IL_0006: add - IL_0007: conv.i2 - IL_0008: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum) - IL_000d: ret - } // end of method CompoundAssignmentTest::IncrementStaticPropertyShort + // Code size 393 (0x189) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_1, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_2, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_3, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_4, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_5, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_6, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_7, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_8, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_9, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_10, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_11) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_000a: dup + IL_000b: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0010: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0015: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_001f: dup + IL_0020: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0025: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0031: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0036: dup + IL_0037: stloc.0 + IL_0038: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_003d: ldloc.0 + IL_003e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0043: ldarg.1 + IL_0044: dup + IL_0045: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_004a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_004f: dup + IL_0050: stloc.1 + IL_0051: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0056: ldloc.1 + IL_0057: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005c: ldarga.s s + IL_005e: dup + IL_005f: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0064: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0069: dup + IL_006a: stloc.2 + IL_006b: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0070: ldloc.2 + IL_0071: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0076: ldarga.s s + IL_0078: dup + IL_0079: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_007e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0083: dup + IL_0084: stloc.3 + IL_0085: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_008a: ldloc.3 + IL_008b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0090: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0095: dup + IL_0096: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_009b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00a0: dup + IL_00a1: stloc.s V_4 + IL_00a3: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a8: ldloc.s V_4 + IL_00aa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00af: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00b4: dup + IL_00b5: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00ba: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00bf: dup + IL_00c0: stloc.s V_5 + IL_00c2: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00c7: ldloc.s V_5 + IL_00c9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ce: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d3: dup + IL_00d4: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00d9: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00de: dup + IL_00df: stloc.s V_6 + IL_00e1: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e6: ldloc.s V_6 + IL_00e8: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ed: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00f2: dup + IL_00f3: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_00f8: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00fd: dup + IL_00fe: stloc.s V_7 + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0105: ldloc.s V_7 + IL_0107: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0111: dup + IL_0112: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0117: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_011c: dup + IL_011d: stloc.s V_8 + IL_011f: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0124: ldloc.s V_8 + IL_0126: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0130: dup + IL_0131: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0136: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_013b: dup + IL_013c: stloc.s V_9 + IL_013e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0143: ldloc.s V_9 + IL_0145: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_014f: dup + IL_0150: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0155: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_015a: dup + IL_015b: stloc.s V_10 + IL_015d: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0162: ldloc.s V_10 + IL_0164: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0169: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_016e: dup + IL_016f: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0174: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0179: dup + IL_017a: stloc.s V_11 + IL_017c: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0181: ldloc.s V_11 + IL_0183: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0188: ret + } // end of method CompoundAssignmentTest::CustomStructPreDecTest .method private hidebysig static class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/Item GetItem(object obj) cil managed @@ -1611,25 +19707,20 @@ .method private hidebysig instance void Issue588(uint16 val) cil managed { - // Code size 31 (0x1f) - .maxstack 4 - .locals init (uint16 V_0) + // Code size 27 (0x1b) + .maxstack 8 IL_0000: ldarg.0 IL_0001: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortDict - IL_0006: ldarg.0 - IL_0007: dup - IL_0008: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField - IL_000d: dup - IL_000e: stloc.0 - IL_000f: ldc.i4.1 - IL_0010: add - IL_0011: conv.u2 - IL_0012: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField - IL_0017: ldloc.0 - IL_0018: ldarg.1 - IL_0019: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, + IL_0006: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000b: dup + IL_000c: ldc.i4.1 + IL_000d: add + IL_000e: conv.u2 + IL_000f: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0014: ldarg.1 + IL_0015: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_001e: ret + IL_001a: ret } // end of method CompoundAssignmentTest::Issue588 .method private hidebysig instance void @@ -1676,6 +19767,58 @@ IL_0011: ret } // end of method CompoundAssignmentTest::.ctor + .property class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + CustomClassProp() + { + .get class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + } // end of property CompoundAssignmentTest::CustomClassProp + .property valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + CustomStructProp() + { + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + .get valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + } // end of property CompoundAssignmentTest::CustomStructProp + .property uint8 ByteProp() + { + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + .get uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + } // end of property CompoundAssignmentTest::ByteProp + .property int8 SbyteProp() + { + .get int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + } // end of property CompoundAssignmentTest::SbyteProp + .property int16 ShortProp() + { + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + .get int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + } // end of property CompoundAssignmentTest::ShortProp + .property uint16 UshortProp() + { + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + .get uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + } // end of property CompoundAssignmentTest::UshortProp + .property int32 IntProp() + { + .get int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + } // end of property CompoundAssignmentTest::IntProp + .property uint32 UintProp() + { + .get uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + } // end of property CompoundAssignmentTest::UintProp + .property int64 LongProp() + { + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + .get int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + } // end of property CompoundAssignmentTest::LongProp + .property uint64 UlongProp() + { + .get uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + } // end of property CompoundAssignmentTest::UlongProp .property int32 StaticProperty() { .get int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.opt.roslyn.il b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.opt.roslyn.il index f9df2d1ae..759d7d437 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.opt.roslyn.il +++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.opt.roslyn.il @@ -182,1395 +182,22790 @@ } // end of class Item + .class auto ansi nested public beforefieldinit CustomClass + extends [mscorlib]System.Object + { + .field public uint8 ByteField + .field public int8 SbyteField + .field public int16 ShortField + .field public uint16 UshortField + .field public int32 IntField + .field public uint32 UintField + .field public int64 LongField + .field public uint64 UlongField + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass CustomClassField + .field public valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct CustomStructField + .field private uint8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .method public hidebysig specialname + instance uint8 get_ByteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_ByteProp + + .method public hidebysig specialname + instance void set_ByteProp(uint8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_ByteProp + + .method public hidebysig specialname + instance int8 get_SbyteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_SbyteProp + + .method public hidebysig specialname + instance void set_SbyteProp(int8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_SbyteProp + + .method public hidebysig specialname + instance int16 get_ShortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_ShortProp + + .method public hidebysig specialname + instance void set_ShortProp(int16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_ShortProp + + .method public hidebysig specialname + instance uint16 get_UshortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_UshortProp + + .method public hidebysig specialname + instance void set_UshortProp(uint16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_UshortProp + + .method public hidebysig specialname + instance int32 get_IntProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_IntProp + + .method public hidebysig specialname + instance void set_IntProp(int32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_IntProp + + .method public hidebysig specialname + instance uint32 get_UintProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_UintProp + + .method public hidebysig specialname + instance void set_UintProp(uint32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_UintProp + + .method public hidebysig specialname + instance int64 get_LongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_LongProp + + .method public hidebysig specialname + instance void set_LongProp(int64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_LongProp + + .method public hidebysig specialname + instance uint64 get_UlongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_UlongProp + + .method public hidebysig specialname + instance void set_UlongProp(uint64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_UlongProp + + .method public hidebysig specialname + instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + get_CustomClassProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_CustomClassProp + + .method public hidebysig specialname + instance void set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_CustomClassProp + + .method public hidebysig specialname + instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + get_CustomStructProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_CustomStructProp + + .method public hidebysig specialname + instance void set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_CustomStructProp + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomClass::op_Addition + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomClass::op_Subtraction + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomClass::op_Multiply + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomClass::op_Division + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomClass::op_Modulus + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + int32 rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomClass::op_LeftShift + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + int32 rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomClass::op_RightShift + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomClass::op_BitwiseAnd + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomClass::op_BitwiseOr + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomClass::op_ExclusiveOr + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomClass::op_Increment + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomClass::op_Decrement + + .method public hidebysig specialname rtspecialname + instance void .ctor() cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void [mscorlib]System.Object::.ctor() + IL_0006: ret + } // end of method CustomClass::.ctor + + .property instance uint8 ByteProp() + { + .get instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + } // end of property CustomClass::ByteProp + .property instance int8 SbyteProp() + { + .get instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + } // end of property CustomClass::SbyteProp + .property instance int16 ShortProp() + { + .get instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + } // end of property CustomClass::ShortProp + .property instance uint16 UshortProp() + { + .get instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + } // end of property CustomClass::UshortProp + .property instance int32 IntProp() + { + .get instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + } // end of property CustomClass::IntProp + .property instance uint32 UintProp() + { + .get instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + } // end of property CustomClass::UintProp + .property instance int64 LongProp() + { + .get instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + } // end of property CustomClass::LongProp + .property instance uint64 UlongProp() + { + .get instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + } // end of property CustomClass::UlongProp + .property instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + CustomClassProp() + { + .get instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + } // end of property CustomClass::CustomClassProp + .property instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + CustomStructProp() + { + .get instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + } // end of property CustomClass::CustomStructProp + } // end of class CustomClass + + .class sequential ansi sealed nested public beforefieldinit CustomStruct + extends [mscorlib]System.ValueType + { + .field public uint8 ByteField + .field public int8 SbyteField + .field public int16 ShortField + .field public uint16 UshortField + .field public int32 IntField + .field public uint32 UintField + .field public int64 LongField + .field public uint64 UlongField + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass CustomClassField + .field private class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .method public hidebysig specialname + instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + get_CustomClassProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_CustomClassProp + + .method public hidebysig specialname + instance void set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_CustomClassProp + + .method public hidebysig specialname + instance uint8 get_ByteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_ByteProp + + .method public hidebysig specialname + instance void set_ByteProp(uint8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_ByteProp + + .method public hidebysig specialname + instance int8 get_SbyteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_SbyteProp + + .method public hidebysig specialname + instance void set_SbyteProp(int8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_SbyteProp + + .method public hidebysig specialname + instance int16 get_ShortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_ShortProp + + .method public hidebysig specialname + instance void set_ShortProp(int16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_ShortProp + + .method public hidebysig specialname + instance uint16 get_UshortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_UshortProp + + .method public hidebysig specialname + instance void set_UshortProp(uint16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_UshortProp + + .method public hidebysig specialname + instance int32 get_IntProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_IntProp + + .method public hidebysig specialname + instance void set_IntProp(int32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_IntProp + + .method public hidebysig specialname + instance uint32 get_UintProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_UintProp + + .method public hidebysig specialname + instance void set_UintProp(uint32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_UintProp + + .method public hidebysig specialname + instance int64 get_LongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_LongProp + + .method public hidebysig specialname + instance void set_LongProp(int64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_LongProp + + .method public hidebysig specialname + instance uint64 get_UlongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_UlongProp + + .method public hidebysig specialname + instance void set_UlongProp(uint64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_UlongProp + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomStruct::op_Addition + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomStruct::op_Subtraction + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomStruct::op_Multiply + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomStruct::op_Division + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomStruct::op_Modulus + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + int32 rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomStruct::op_LeftShift + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + int32 rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomStruct::op_RightShift + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomStruct::op_BitwiseAnd + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomStruct::op_BitwiseOr + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomStruct::op_ExclusiveOr + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomStruct::op_Increment + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CustomStruct::op_Decrement + + .property instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + CustomClassProp() + { + .get instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_CustomClassProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + } // end of property CustomStruct::CustomClassProp + .property instance uint8 ByteProp() + { + .get instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_ByteProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_ByteProp(uint8) + } // end of property CustomStruct::ByteProp + .property instance int8 SbyteProp() + { + .get instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_SbyteProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_SbyteProp(int8) + } // end of property CustomStruct::SbyteProp + .property instance int16 ShortProp() + { + .get instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_ShortProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_ShortProp(int16) + } // end of property CustomStruct::ShortProp + .property instance uint16 UshortProp() + { + .get instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_UshortProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_UshortProp(uint16) + } // end of property CustomStruct::UshortProp + .property instance int32 IntProp() + { + .get instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_IntProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_IntProp(int32) + } // end of property CustomStruct::IntProp + .property instance uint32 UintProp() + { + .get instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_UintProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_UintProp(uint32) + } // end of property CustomStruct::UintProp + .property instance int64 LongProp() + { + .get instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_LongProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_LongProp(int64) + } // end of property CustomStruct::LongProp + .property instance uint64 UlongProp() + { + .get instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_UlongProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_UlongProp(uint64) + } // end of property CustomStruct::UlongProp + } // end of class CustomStruct + + .class sequential ansi sealed nested public beforefieldinit CustomStruct2 + extends [mscorlib]System.ValueType + { + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass CustomClassField + .field public valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct CustomStructField + .field public uint8 ByteField + .field public int8 SbyteField + .field public int16 ShortField + .field public uint16 UshortField + .field public int32 IntField + .field public uint32 UintField + .field public int64 LongField + .field public uint64 UlongField + .field private class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private int64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private uint64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .method public hidebysig specialname + instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + get_CustomClassProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_CustomClassProp + + .method public hidebysig specialname + instance void set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_CustomClassProp + + .method public hidebysig specialname + instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + get_CustomStructProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_CustomStructProp + + .method public hidebysig specialname + instance void set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_CustomStructProp + + .method public hidebysig specialname + instance uint8 get_ByteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_ByteProp + + .method public hidebysig specialname + instance void set_ByteProp(uint8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_ByteProp + + .method public hidebysig specialname + instance int8 get_SbyteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_SbyteProp + + .method public hidebysig specialname + instance void set_SbyteProp(int8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_SbyteProp + + .method public hidebysig specialname + instance int16 get_ShortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_ShortProp + + .method public hidebysig specialname + instance void set_ShortProp(int16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_ShortProp + + .method public hidebysig specialname + instance uint16 get_UshortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_UshortProp + + .method public hidebysig specialname + instance void set_UshortProp(uint16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_UshortProp + + .method public hidebysig specialname + instance int32 get_IntProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_IntProp + + .method public hidebysig specialname + instance void set_IntProp(int32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_IntProp + + .method public hidebysig specialname + instance uint32 get_UintProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_UintProp + + .method public hidebysig specialname + instance void set_UintProp(uint32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_UintProp + + .method public hidebysig specialname + instance int64 get_LongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_LongProp + + .method public hidebysig specialname + instance void set_LongProp(int64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_LongProp + + .method public hidebysig specialname + instance uint64 get_UlongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_UlongProp + + .method public hidebysig specialname + instance void set_UlongProp(uint64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_UlongProp + + .property instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + CustomClassProp() + { + .get instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + } // end of property CustomStruct2::CustomClassProp + .property instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + CustomStructProp() + { + .get instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + } // end of property CustomStruct2::CustomStructProp + .property instance uint8 ByteProp() + { + .get instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + } // end of property CustomStruct2::ByteProp + .property instance int8 SbyteProp() + { + .get instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + } // end of property CustomStruct2::SbyteProp + .property instance int16 ShortProp() + { + .get instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + } // end of property CustomStruct2::ShortProp + .property instance uint16 UshortProp() + { + .get instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + } // end of property CustomStruct2::UshortProp + .property instance int32 IntProp() + { + .get instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + } // end of property CustomStruct2::IntProp + .property instance uint32 UintProp() + { + .get instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + } // end of property CustomStruct2::UintProp + .property instance int64 LongProp() + { + .get instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + } // end of property CustomStruct2::LongProp + .property instance uint64 UlongProp() + { + .get instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + } // end of property CustomStruct2::UlongProp + } // end of class CustomStruct2 + .field private int32 test1 .field private int32[] array1 .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer field1 .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum enumField .field private class [mscorlib]System.Collections.Generic.Dictionary`2 ushortDict - .field private uint16 ushortField .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum shortEnumField .field public static int32 StaticField .field public static int16 StaticShortField + .field private static class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass customClassField + .field private static valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct customStructField + .field private static valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 otherCustomStructField + .field private static uint8 byteField + .field private static int8 sbyteField + .field private static int16 shortField + .field private static uint16 ushortField + .field private static int32 intField + .field private static uint32 uintField + .field private static int64 longField + .field private static uint64 ulongField + .field private static class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static uint8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static int8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static int16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static uint16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static int32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static uint32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static int64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .field private static uint64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) .field private static int32 'k__BackingField' .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) .field private static valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum 'k__BackingField' .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .method private hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + get_CustomClassProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_CustomClassProp + + .method private hidebysig specialname static + void set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_CustomClassProp + + .method private hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + get_CustomStructProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_CustomStructProp + + .method private hidebysig specialname static + void set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_CustomStructProp + + .method private hidebysig specialname static + uint8 get_ByteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_ByteProp + + .method private hidebysig specialname static + void set_ByteProp(uint8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_ByteProp + + .method private hidebysig specialname static + int8 get_SbyteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_SbyteProp + + .method private hidebysig specialname static + void set_SbyteProp(int8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_SbyteProp + + .method private hidebysig specialname static + int16 get_ShortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_ShortProp + + .method private hidebysig specialname static + void set_ShortProp(int16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_ShortProp + + .method private hidebysig specialname static + uint16 get_UshortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_UshortProp + + .method private hidebysig specialname static + void set_UshortProp(uint16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_UshortProp + + .method private hidebysig specialname static + int32 get_IntProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_IntProp + + .method private hidebysig specialname static + void set_IntProp(int32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_IntProp + + .method private hidebysig specialname static + uint32 get_UintProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_UintProp + + .method private hidebysig specialname static + void set_UintProp(uint32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_UintProp + + .method private hidebysig specialname static + int64 get_LongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_LongProp + + .method private hidebysig specialname static + void set_LongProp(int64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_LongProp + + .method private hidebysig specialname static + uint64 get_UlongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_UlongProp + + .method private hidebysig specialname static + void set_UlongProp(uint64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_UlongProp + + .method public hidebysig specialname static + int32 get_StaticProperty() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_StaticProperty + + .method public hidebysig specialname static + void set_StaticProperty(int32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_StaticProperty + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum + get_StaticShortProperty() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_StaticShortProperty + .method public hidebysig specialname static - int32 get_StaticProperty() cil managed + void set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_StaticShortProperty + + .method private hidebysig static valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& + GetStruct() cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CompoundAssignmentTest::GetStruct + + .method private hidebysig static valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& + GetRefCustomStruct() cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CompoundAssignmentTest::GetRefCustomStruct + + .method private hidebysig static class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& + GetRefCustomClass() cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CompoundAssignmentTest::GetRefCustomClass + + .method private hidebysig static uint8& + GetRefByte() cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CompoundAssignmentTest::GetRefByte + + .method private hidebysig static int8& + GetRefSbyte() cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CompoundAssignmentTest::GetRefSbyte + + .method private hidebysig static int16& + GetRefShort() cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CompoundAssignmentTest::GetRefShort + + .method private hidebysig static int32& + GetRefInt() cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CompoundAssignmentTest::GetRefInt + + .method private hidebysig static int64& + GetRefLong() cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CompoundAssignmentTest::GetRefLong + + .method private hidebysig static uint16& + GetRefUshort() cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CompoundAssignmentTest::GetRefUshort + + .method private hidebysig static uint32& + GetRefUint() cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CompoundAssignmentTest::GetRefUint + + .method private hidebysig static uint64& + GetRefUlong() cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CompoundAssignmentTest::GetRefUlong + + .method private hidebysig static class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + GetClass() cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CompoundAssignmentTest::GetClass + + .method private hidebysig static void X(!!T result) cil managed + { + // Code size 1 (0x1) + .maxstack 8 + IL_0000: ret + } // end of method CompoundAssignmentTest::X + + .method private hidebysig instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass + M() cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::.ctor() + IL_0005: ret + } // end of method CompoundAssignmentTest::M + + .method private hidebysig instance int32[0...,0...] + Array() cil managed + { + // Code size 2 (0x2) + .maxstack 8 + IL_0000: ldnull + IL_0001: ret + } // end of method CompoundAssignmentTest::Array + + .method private hidebysig instance int32* + GetPointer() cil managed + { + // Code size 3 (0x3) + .maxstack 8 + IL_0000: ldc.i4.0 + IL_0001: conv.u + IL_0002: ret + } // end of method CompoundAssignmentTest::GetPointer + + .method public hidebysig instance int32 + GetIndex() cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.Random::.ctor() + IL_0005: ldc.i4.0 + IL_0006: ldc.i4.s 100 + IL_0008: callvirt instance int32 [mscorlib]System.Random::Next(int32, + int32) + IL_000d: ret + } // end of method CompoundAssignmentTest::GetIndex + + .method public hidebysig instance int32[] + GetArray() cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0005: throw + } // end of method CompoundAssignmentTest::GetArray + + .method public hidebysig instance int32 + GetValue(int32 'value') cil managed + { + // Code size 2 (0x2) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ret + } // end of method CompoundAssignmentTest::GetValue + + .method public hidebysig instance bool + IsUpperCaseA(char a) cil managed + { + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.s 65 + IL_0003: ceq + IL_0005: ret + } // end of method CompoundAssignmentTest::IsUpperCaseA + + .method public hidebysig instance void + Int32_Local_Add(int32 i) cil managed + { + // Code size 44 (0x2c) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.1 + IL_0002: add + IL_0003: starg.s i + IL_0005: ldarg.1 + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: starg.s i + IL_000b: call void [mscorlib]System.Console::WriteLine(int32) + IL_0010: ldarg.1 + IL_0011: ldc.i4.1 + IL_0012: add + IL_0013: dup + IL_0014: starg.s i + IL_0016: call void [mscorlib]System.Console::WriteLine(int32) + IL_001b: ldarg.1 + IL_001c: ldc.i4.5 + IL_001d: add + IL_001e: starg.s i + IL_0020: ldarg.1 + IL_0021: ldc.i4.5 + IL_0022: add + IL_0023: dup + IL_0024: starg.s i + IL_0026: call void [mscorlib]System.Console::WriteLine(int32) + IL_002b: ret + } // end of method CompoundAssignmentTest::Int32_Local_Add + + .method public hidebysig instance void + Int32_Local_Sub(int32 i) cil managed + { + // Code size 44 (0x2c) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.1 + IL_0002: sub + IL_0003: starg.s i + IL_0005: ldarg.1 + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: sub + IL_0009: starg.s i + IL_000b: call void [mscorlib]System.Console::WriteLine(int32) + IL_0010: ldarg.1 + IL_0011: ldc.i4.1 + IL_0012: sub + IL_0013: dup + IL_0014: starg.s i + IL_0016: call void [mscorlib]System.Console::WriteLine(int32) + IL_001b: ldarg.1 + IL_001c: ldc.i4.5 + IL_001d: sub + IL_001e: starg.s i + IL_0020: ldarg.1 + IL_0021: ldc.i4.5 + IL_0022: sub + IL_0023: dup + IL_0024: starg.s i + IL_0026: call void [mscorlib]System.Console::WriteLine(int32) + IL_002b: ret + } // end of method CompoundAssignmentTest::Int32_Local_Sub + + .method public hidebysig instance void + Int32_Local_Mul(int32 i) cil managed + { + // Code size 17 (0x11) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.5 + IL_0002: mul + IL_0003: starg.s i + IL_0005: ldarg.1 + IL_0006: ldc.i4.5 + IL_0007: mul + IL_0008: dup + IL_0009: starg.s i + IL_000b: call void [mscorlib]System.Console::WriteLine(int32) + IL_0010: ret + } // end of method CompoundAssignmentTest::Int32_Local_Mul + + .method public hidebysig instance void + Int32_Local_Div(int32 i) cil managed + { + // Code size 17 (0x11) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.5 + IL_0002: div + IL_0003: starg.s i + IL_0005: ldarg.1 + IL_0006: ldc.i4.5 + IL_0007: div + IL_0008: dup + IL_0009: starg.s i + IL_000b: call void [mscorlib]System.Console::WriteLine(int32) + IL_0010: ret + } // end of method CompoundAssignmentTest::Int32_Local_Div + + .method public hidebysig instance void + Int32_Local_Rem(int32 i) cil managed + { + // Code size 17 (0x11) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.5 + IL_0002: rem + IL_0003: starg.s i + IL_0005: ldarg.1 + IL_0006: ldc.i4.5 + IL_0007: rem + IL_0008: dup + IL_0009: starg.s i + IL_000b: call void [mscorlib]System.Console::WriteLine(int32) + IL_0010: ret + } // end of method CompoundAssignmentTest::Int32_Local_Rem + + .method public hidebysig instance void + Int32_Local_BitAnd(int32 i) cil managed + { + // Code size 17 (0x11) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.5 + IL_0002: and + IL_0003: starg.s i + IL_0005: ldarg.1 + IL_0006: ldc.i4.5 + IL_0007: and + IL_0008: dup + IL_0009: starg.s i + IL_000b: call void [mscorlib]System.Console::WriteLine(int32) + IL_0010: ret + } // end of method CompoundAssignmentTest::Int32_Local_BitAnd + + .method public hidebysig instance void + Int32_Local_BitOr(int32 i) cil managed + { + // Code size 17 (0x11) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.5 + IL_0002: or + IL_0003: starg.s i + IL_0005: ldarg.1 + IL_0006: ldc.i4.5 + IL_0007: or + IL_0008: dup + IL_0009: starg.s i + IL_000b: call void [mscorlib]System.Console::WriteLine(int32) + IL_0010: ret + } // end of method CompoundAssignmentTest::Int32_Local_BitOr + + .method public hidebysig instance void + Int32_Local_BitXor(int32 i) cil managed + { + // Code size 17 (0x11) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.5 + IL_0002: xor + IL_0003: starg.s i + IL_0005: ldarg.1 + IL_0006: ldc.i4.5 + IL_0007: xor + IL_0008: dup + IL_0009: starg.s i + IL_000b: call void [mscorlib]System.Console::WriteLine(int32) + IL_0010: ret + } // end of method CompoundAssignmentTest::Int32_Local_BitXor + + .method public hidebysig instance void + Int32_Local_ShiftLeft(int32 i) cil managed + { + // Code size 17 (0x11) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.5 + IL_0002: shl + IL_0003: starg.s i + IL_0005: ldarg.1 + IL_0006: ldc.i4.5 + IL_0007: shl + IL_0008: dup + IL_0009: starg.s i + IL_000b: call void [mscorlib]System.Console::WriteLine(int32) + IL_0010: ret + } // end of method CompoundAssignmentTest::Int32_Local_ShiftLeft + + .method public hidebysig instance void + Int32_Local_ShiftRight(int32 i) cil managed + { + // Code size 17 (0x11) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.5 + IL_0002: shr + IL_0003: starg.s i + IL_0005: ldarg.1 + IL_0006: ldc.i4.5 + IL_0007: shr + IL_0008: dup + IL_0009: starg.s i + IL_000b: call void [mscorlib]System.Console::WriteLine(int32) + IL_0010: ret + } // end of method CompoundAssignmentTest::Int32_Local_ShiftRight + + .method public hidebysig instance void + IntegerWithInline(int32 i) cil managed + { + // Code size 18 (0x12) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.5 + IL_0002: add + IL_0003: dup + IL_0004: starg.s i + IL_0006: call void [mscorlib]System.Console::WriteLine(int32) + IL_000b: ldarg.1 + IL_000c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0011: ret + } // end of method CompoundAssignmentTest::IntegerWithInline + + .method public hidebysig instance void + IntegerField(int32 i) cil managed + { + // Code size 67 (0x43) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.0 + IL_0001: ldarg.0 + IL_0002: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_0007: ldarg.1 + IL_0008: add + IL_0009: dup + IL_000a: stloc.0 + IL_000b: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_0010: ldloc.0 + IL_0011: call void [mscorlib]System.Console::WriteLine(int32) + IL_0016: ldarg.0 + IL_0017: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_001c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0021: ldarg.0 + IL_0022: ldarg.0 + IL_0023: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_0028: ldarg.1 + IL_0029: sub + IL_002a: dup + IL_002b: stloc.0 + IL_002c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_0031: ldloc.0 + IL_0032: call void [mscorlib]System.Console::WriteLine(int32) + IL_0037: ldarg.0 + IL_0038: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_003d: call void [mscorlib]System.Console::WriteLine(int32) + IL_0042: ret + } // end of method CompoundAssignmentTest::IntegerField + + .method public hidebysig instance void + Array(int32 i) cil managed + { + // Code size 55 (0x37) + .maxstack 4 + .locals init (int32 V_0) + IL_0000: ldarg.0 + IL_0001: ldfld int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::array1 + IL_0006: ldarg.1 + IL_0007: ldelema [mscorlib]System.Int32 + IL_000c: dup + IL_000d: ldind.i4 + IL_000e: ldarg.1 + IL_000f: add + IL_0010: dup + IL_0011: stloc.0 + IL_0012: stind.i4 + IL_0013: ldloc.0 + IL_0014: call void [mscorlib]System.Console::WriteLine(int32) + IL_0019: ldarg.0 + IL_001a: ldfld int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::array1 + IL_001f: ldarg.1 + IL_0020: ldc.i4.2 + IL_0021: mul + IL_0022: ldelema [mscorlib]System.Int32 + IL_0027: dup + IL_0028: ldind.i4 + IL_0029: ldarg.1 + IL_002a: ldc.i4.2 + IL_002b: mul + IL_002c: add + IL_002d: dup + IL_002e: stloc.0 + IL_002f: stind.i4 + IL_0030: ldloc.0 + IL_0031: call void [mscorlib]System.Console::WriteLine(int32) + IL_0036: ret + } // end of method CompoundAssignmentTest::Array + + .method public hidebysig instance int32 + ArrayUsageWithMethods() cil managed + { + // Code size 26 (0x1a) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.0 + IL_0001: call instance int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetArray() + IL_0006: ldarg.0 + IL_0007: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetIndex() + IL_000c: ldelema [mscorlib]System.Int32 + IL_0011: dup + IL_0012: ldind.i4 + IL_0013: stloc.0 + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stind.i4 + IL_0018: ldloc.0 + IL_0019: ret + } // end of method CompoundAssignmentTest::ArrayUsageWithMethods + + .method public hidebysig instance void + NestedField() cil managed + { + // Code size 78 (0x4e) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.0 + IL_0001: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 + IL_0006: ldfld bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::HasIndex + IL_000b: brfalse.s IL_004d + + IL_000d: ldarg.0 + IL_000e: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 + IL_0013: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field + IL_0018: dup + IL_0019: ldind.i4 + IL_001a: ldc.i4.2 + IL_001b: mul + IL_001c: dup + IL_001d: stloc.0 + IL_001e: stind.i4 + IL_001f: ldloc.0 + IL_0020: call void [mscorlib]System.Console::WriteLine(int32) + IL_0025: ldarg.0 + IL_0026: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 + IL_002b: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field + IL_0030: dup + IL_0031: ldind.i4 + IL_0032: ldc.i4.1 + IL_0033: add + IL_0034: stind.i4 + IL_0035: ldarg.0 + IL_0036: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 + IL_003b: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field + IL_0040: dup + IL_0041: ldind.i4 + IL_0042: stloc.0 + IL_0043: ldloc.0 + IL_0044: ldc.i4.1 + IL_0045: add + IL_0046: stind.i4 + IL_0047: ldloc.0 + IL_0048: call void [mscorlib]System.Console::WriteLine(int32) + IL_004d: ret + } // end of method CompoundAssignmentTest::NestedField + + .method public hidebysig instance void + Enum() cil managed + { + // Code size 58 (0x3a) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.0 + IL_0002: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_0007: ldc.i4.2 + IL_0008: or + IL_0009: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_000e: ldarg.0 + IL_000f: ldarg.0 + IL_0010: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_0015: ldc.i4.s -5 + IL_0017: and + IL_0018: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_001d: ldarg.0 + IL_001e: ldarg.0 + IL_001f: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_0024: ldc.i4.2 + IL_0025: add + IL_0026: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_002b: ldarg.0 + IL_002c: ldarg.0 + IL_002d: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_0032: ldc.i4.3 + IL_0033: sub + IL_0034: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_0039: ret + } // end of method CompoundAssignmentTest::Enum + + .method public hidebysig instance void + ShortEnumTest() cil managed + { + // Code size 59 (0x3b) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.0 + IL_0002: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_0007: ldc.i4.2 + IL_0008: or + IL_0009: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_000e: ldarg.0 + IL_000f: ldarg.0 + IL_0010: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_0015: ldc.i4.4 + IL_0016: and + IL_0017: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_001c: ldarg.0 + IL_001d: ldarg.0 + IL_001e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_0023: ldc.i4.2 + IL_0024: add + IL_0025: conv.i2 + IL_0026: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_002b: ldarg.0 + IL_002c: ldarg.0 + IL_002d: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_0032: ldc.i4.3 + IL_0033: sub + IL_0034: conv.i2 + IL_0035: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_003a: ret + } // end of method CompoundAssignmentTest::ShortEnumTest + + .method public hidebysig instance int32 + PreIncrementInAddition(int32 i, + int32 j) cil managed + { + // Code size 9 (0x9) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldarg.2 + IL_0002: ldc.i4.1 + IL_0003: add + IL_0004: dup + IL_0005: starg.s j + IL_0007: add + IL_0008: ret + } // end of method CompoundAssignmentTest::PreIncrementInAddition + + .method public hidebysig instance int32 + PreIncrementArrayElement(int32[] 'array', + int32 pos) cil managed + { + // Code size 16 (0x10) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.1 + IL_0001: ldarg.2 + IL_0002: ldelema [mscorlib]System.Int32 + IL_0007: dup + IL_0008: ldind.i4 + IL_0009: ldc.i4.1 + IL_000a: sub + IL_000b: stloc.0 + IL_000c: ldloc.0 + IL_000d: stind.i4 + IL_000e: ldloc.0 + IL_000f: ret + } // end of method CompoundAssignmentTest::PreIncrementArrayElement + + .method public hidebysig instance int32 + PostIncrementArrayElement(int32[] 'array', + int32 pos) cil managed + { + // Code size 16 (0x10) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.1 + IL_0001: ldarg.2 + IL_0002: ldelema [mscorlib]System.Int32 + IL_0007: dup + IL_0008: ldind.i4 + IL_0009: stloc.0 + IL_000a: ldloc.0 + IL_000b: ldc.i4.1 + IL_000c: add + IL_000d: stind.i4 + IL_000e: ldloc.0 + IL_000f: ret + } // end of method CompoundAssignmentTest::PostIncrementArrayElement + + .method public hidebysig instance void + IncrementArrayElement(int32[] 'array', + int32 pos) cil managed + { + // Code size 13 (0xd) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldarg.2 + IL_0002: ldelema [mscorlib]System.Int32 + IL_0007: dup + IL_0008: ldind.i4 + IL_0009: ldc.i4.1 + IL_000a: add + IL_000b: stind.i4 + IL_000c: ret + } // end of method CompoundAssignmentTest::IncrementArrayElement + + .method public hidebysig instance void + DoubleArrayElement(int32[] 'array', + int32 pos) cil managed + { + // Code size 13 (0xd) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldarg.2 + IL_0002: ldelema [mscorlib]System.Int32 + IL_0007: dup + IL_0008: ldind.i4 + IL_0009: ldc.i4.2 + IL_000a: mul + IL_000b: stind.i4 + IL_000c: ret + } // end of method CompoundAssignmentTest::DoubleArrayElement + + .method public hidebysig instance int32 + DoubleArrayElementAndReturn(int32[] 'array', + int32 pos) cil managed + { + // Code size 16 (0x10) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.1 + IL_0001: ldarg.2 + IL_0002: ldelema [mscorlib]System.Int32 + IL_0007: dup + IL_0008: ldind.i4 + IL_0009: ldc.i4.2 + IL_000a: mul + IL_000b: dup + IL_000c: stloc.0 + IL_000d: stind.i4 + IL_000e: ldloc.0 + IL_000f: ret + } // end of method CompoundAssignmentTest::DoubleArrayElementAndReturn + + .method public hidebysig instance int32 + PreIncrementArrayElementShort(int16[] 'array', + int32 pos) cil managed + { + // Code size 17 (0x11) + .maxstack 3 + .locals init (int16 V_0) + IL_0000: ldarg.1 + IL_0001: ldarg.2 + IL_0002: ldelema [mscorlib]System.Int16 + IL_0007: dup + IL_0008: ldind.i2 + IL_0009: ldc.i4.1 + IL_000a: sub + IL_000b: conv.i2 + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: stind.i2 + IL_000f: ldloc.0 + IL_0010: ret + } // end of method CompoundAssignmentTest::PreIncrementArrayElementShort + + .method public hidebysig instance int32 + PostIncrementArrayElementShort(int16[] 'array', + int32 pos) cil managed + { + // Code size 17 (0x11) + .maxstack 3 + .locals init (int16 V_0) + IL_0000: ldarg.1 + IL_0001: ldarg.2 + IL_0002: ldelema [mscorlib]System.Int16 + IL_0007: dup + IL_0008: ldind.i2 + IL_0009: stloc.0 + IL_000a: ldloc.0 + IL_000b: ldc.i4.1 + IL_000c: add + IL_000d: conv.i2 + IL_000e: stind.i2 + IL_000f: ldloc.0 + IL_0010: ret + } // end of method CompoundAssignmentTest::PostIncrementArrayElementShort + + .method public hidebysig instance void + IncrementArrayElementShort(int16[] 'array', + int32 pos) cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldarg.2 + IL_0002: ldelema [mscorlib]System.Int16 + IL_0007: dup + IL_0008: ldind.i2 + IL_0009: ldc.i4.1 + IL_000a: add + IL_000b: conv.i2 + IL_000c: stind.i2 + IL_000d: ret + } // end of method CompoundAssignmentTest::IncrementArrayElementShort + + .method public hidebysig instance void + DoubleArrayElementShort(int16[] 'array', + int32 pos) cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldarg.2 + IL_0002: ldelema [mscorlib]System.Int16 + IL_0007: dup + IL_0008: ldind.i2 + IL_0009: ldc.i4.2 + IL_000a: mul + IL_000b: conv.i2 + IL_000c: stind.i2 + IL_000d: ret + } // end of method CompoundAssignmentTest::DoubleArrayElementShort + + .method public hidebysig instance int16 + DoubleArrayElementShortAndReturn(int16[] 'array', + int32 pos) cil managed + { + // Code size 17 (0x11) + .maxstack 3 + .locals init (int16 V_0) + IL_0000: ldarg.1 + IL_0001: ldarg.2 + IL_0002: ldelema [mscorlib]System.Int16 + IL_0007: dup + IL_0008: ldind.i2 + IL_0009: ldc.i4.2 + IL_000a: mul + IL_000b: conv.i2 + IL_000c: dup + IL_000d: stloc.0 + IL_000e: stind.i2 + IL_000f: ldloc.0 + IL_0010: ret + } // end of method CompoundAssignmentTest::DoubleArrayElementShortAndReturn + + .method public hidebysig instance int32 + PreIncrementInstanceField() cil managed + { + // Code size 23 (0x17) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_000c: ldc.i4.1 + IL_000d: add + IL_000e: stloc.0 + IL_000f: ldloc.0 + IL_0010: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0015: ldloc.0 + IL_0016: ret + } // end of method CompoundAssignmentTest::PreIncrementInstanceField + + .method public hidebysig instance int32 + PostIncrementInstanceField() cil managed + { + // Code size 23 (0x17) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: ldc.i4.1 + IL_000f: add + IL_0010: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0015: ldloc.0 + IL_0016: ret + } // end of method CompoundAssignmentTest::PostIncrementInstanceField + + .method public hidebysig instance void + IncrementInstanceField() cil managed + { + // Code size 20 (0x14) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_000c: ldc.i4.1 + IL_000d: add + IL_000e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0013: ret + } // end of method CompoundAssignmentTest::IncrementInstanceField + + .method public hidebysig instance void + DoubleInstanceField() cil managed + { + // Code size 20 (0x14) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_000c: ldc.i4.2 + IL_000d: mul + IL_000e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0013: ret + } // end of method CompoundAssignmentTest::DoubleInstanceField + + .method public hidebysig instance int32 + DoubleInstanceFieldAndReturn() cil managed + { + // Code size 23 (0x17) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_000c: ldc.i4.2 + IL_000d: mul + IL_000e: dup + IL_000f: stloc.0 + IL_0010: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0015: ldloc.0 + IL_0016: ret + } // end of method CompoundAssignmentTest::DoubleInstanceFieldAndReturn + + .method public hidebysig instance int32 + PreIncrementInstanceField2(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass m) cil managed + { + // Code size 18 (0x12) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.1 + IL_0001: dup + IL_0002: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: stloc.0 + IL_000a: ldloc.0 + IL_000b: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0010: ldloc.0 + IL_0011: ret + } // end of method CompoundAssignmentTest::PreIncrementInstanceField2 + + .method public hidebysig instance int32 + PostIncrementInstanceField2(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass m) cil managed + { + // Code size 18 (0x12) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.1 + IL_0001: dup + IL_0002: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: ldc.i4.1 + IL_000a: add + IL_000b: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0010: ldloc.0 + IL_0011: ret + } // end of method CompoundAssignmentTest::PostIncrementInstanceField2 + + .method public hidebysig instance void + IncrementInstanceField2(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass m) cil managed + { + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: dup + IL_0002: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_000e: ret + } // end of method CompoundAssignmentTest::IncrementInstanceField2 + + .method public hidebysig instance int32 + PreIncrementInstanceFieldShort() cil managed + { + // Code size 24 (0x18) + .maxstack 3 + .locals init (int16 V_0) + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField + IL_000c: ldc.i4.1 + IL_000d: add + IL_000e: conv.i2 + IL_000f: stloc.0 + IL_0010: ldloc.0 + IL_0011: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField + IL_0016: ldloc.0 + IL_0017: ret + } // end of method CompoundAssignmentTest::PreIncrementInstanceFieldShort + + .method public hidebysig instance int32 + PostIncrementInstanceFieldShort() cil managed + { + // Code size 24 (0x18) + .maxstack 3 + .locals init (int16 V_0) + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: ldc.i4.1 + IL_000f: add + IL_0010: conv.i2 + IL_0011: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField + IL_0016: ldloc.0 + IL_0017: ret + } // end of method CompoundAssignmentTest::PostIncrementInstanceFieldShort + + .method public hidebysig instance void + IncrementInstanceFieldShort() cil managed + { + // Code size 21 (0x15) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField + IL_000c: ldc.i4.1 + IL_000d: add + IL_000e: conv.i2 + IL_000f: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField + IL_0014: ret + } // end of method CompoundAssignmentTest::IncrementInstanceFieldShort + + .method public hidebysig instance int32 + PreIncrementInstanceProperty() cil managed + { + // Code size 23 (0x17) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() + IL_000c: ldc.i4.1 + IL_000d: add + IL_000e: stloc.0 + IL_000f: ldloc.0 + IL_0010: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) + IL_0015: ldloc.0 + IL_0016: ret + } // end of method CompoundAssignmentTest::PreIncrementInstanceProperty + + .method public hidebysig instance int32 + PostIncrementInstanceProperty() cil managed + { + // Code size 23 (0x17) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: ldc.i4.1 + IL_000f: add + IL_0010: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) + IL_0015: ldloc.0 + IL_0016: ret + } // end of method CompoundAssignmentTest::PostIncrementInstanceProperty + + .method public hidebysig instance void + IncrementInstanceProperty() cil managed + { + // Code size 22 (0x16) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: ldc.i4.1 + IL_000f: add + IL_0010: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) + IL_0015: ret + } // end of method CompoundAssignmentTest::IncrementInstanceProperty + + .method public hidebysig instance void + DoubleInstanceProperty() cil managed + { + // Code size 20 (0x14) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() + IL_000c: ldc.i4.2 + IL_000d: mul + IL_000e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) + IL_0013: ret + } // end of method CompoundAssignmentTest::DoubleInstanceProperty + + .method public hidebysig instance int32 + DoubleInstancePropertyAndReturn() cil managed + { + // Code size 23 (0x17) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() + IL_000c: ldc.i4.2 + IL_000d: mul + IL_000e: dup + IL_000f: stloc.0 + IL_0010: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) + IL_0015: ldloc.0 + IL_0016: ret + } // end of method CompoundAssignmentTest::DoubleInstancePropertyAndReturn + + .method public hidebysig instance int32 + PreIncrementInstancePropertyByte() cil managed + { + // Code size 24 (0x18) + .maxstack 3 + .locals init (uint8 V_0) + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() + IL_000c: ldc.i4.1 + IL_000d: add + IL_000e: conv.u1 + IL_000f: stloc.0 + IL_0010: ldloc.0 + IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) + IL_0016: ldloc.0 + IL_0017: ret + } // end of method CompoundAssignmentTest::PreIncrementInstancePropertyByte + + .method public hidebysig instance int32 + PostIncrementInstancePropertyByte() cil managed + { + // Code size 24 (0x18) + .maxstack 3 + .locals init (uint8 V_0) + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: ldc.i4.1 + IL_000f: add + IL_0010: conv.u1 + IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) + IL_0016: ldloc.0 + IL_0017: ret + } // end of method CompoundAssignmentTest::PostIncrementInstancePropertyByte + + .method public hidebysig instance void + IncrementInstancePropertyByte() cil managed + { + // Code size 23 (0x17) + .maxstack 3 + .locals init (uint8 V_0) + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: ldc.i4.1 + IL_000f: add + IL_0010: conv.u1 + IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) + IL_0016: ret + } // end of method CompoundAssignmentTest::IncrementInstancePropertyByte + + .method public hidebysig instance void + DoubleInstancePropertyByte() cil managed + { + // Code size 21 (0x15) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() + IL_000c: ldc.i4.2 + IL_000d: mul + IL_000e: conv.u1 + IL_000f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) + IL_0014: ret + } // end of method CompoundAssignmentTest::DoubleInstancePropertyByte + + .method public hidebysig instance int32 + DoubleInstancePropertyByteAndReturn() cil managed + { + // Code size 24 (0x18) + .maxstack 3 + .locals init (uint8 V_0) + IL_0000: ldarg.0 + IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0006: dup + IL_0007: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() + IL_000c: ldc.i4.2 + IL_000d: mul + IL_000e: conv.u1 + IL_000f: dup + IL_0010: stloc.0 + IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) + IL_0016: ldloc.0 + IL_0017: ret + } // end of method CompoundAssignmentTest::DoubleInstancePropertyByteAndReturn + + .method public hidebysig instance int32 + PreIncrementStaticField() cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: dup + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_000d: ret + } // end of method CompoundAssignmentTest::PreIncrementStaticField + + .method public hidebysig instance int32 + PostIncrementStaticField() cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_000d: ret + } // end of method CompoundAssignmentTest::PostIncrementStaticField + + .method public hidebysig instance void + IncrementStaticField() cil managed + { + // Code size 13 (0xd) + .maxstack 8 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_000c: ret + } // end of method CompoundAssignmentTest::IncrementStaticField + + .method public hidebysig instance void + DoubleStaticField() cil managed + { + // Code size 13 (0xd) + .maxstack 8 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_0005: ldc.i4.2 + IL_0006: mul + IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_000c: ret + } // end of method CompoundAssignmentTest::DoubleStaticField + + .method public hidebysig instance int32 + DoubleStaticFieldAndReturn() cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_0005: ldc.i4.2 + IL_0006: mul + IL_0007: dup + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_000d: ret + } // end of method CompoundAssignmentTest::DoubleStaticFieldAndReturn + + .method public hidebysig instance int32 + PreIncrementStaticFieldShort() cil managed + { + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: conv.i2 + IL_0008: dup + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_000e: ret + } // end of method CompoundAssignmentTest::PreIncrementStaticFieldShort + + .method public hidebysig instance int32 + PostIncrementStaticFieldShort() cil managed + { + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_000e: ret + } // end of method CompoundAssignmentTest::PostIncrementStaticFieldShort + + .method public hidebysig instance void + IncrementStaticFieldShort() cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: conv.i2 + IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_000d: ret + } // end of method CompoundAssignmentTest::IncrementStaticFieldShort + + .method public hidebysig instance void + DoubleStaticFieldShort() cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_0005: ldc.i4.2 + IL_0006: mul + IL_0007: conv.i2 + IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_000d: ret + } // end of method CompoundAssignmentTest::DoubleStaticFieldShort + + .method public hidebysig instance int16 + DoubleStaticFieldAndReturnShort() cil managed + { + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_0005: ldc.i4.2 + IL_0006: mul + IL_0007: conv.i2 + IL_0008: dup + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_000e: ret + } // end of method CompoundAssignmentTest::DoubleStaticFieldAndReturnShort + + .method public hidebysig instance int32 + PreIncrementStaticProperty() cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: dup + IL_0008: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) + IL_000d: ret + } // end of method CompoundAssignmentTest::PreIncrementStaticProperty + + .method public hidebysig instance int32 + PostIncrementStaticProperty() cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) + IL_000d: ret + } // end of method CompoundAssignmentTest::PostIncrementStaticProperty + + .method public hidebysig instance void + IncrementStaticProperty() cil managed + { + // Code size 13 (0xd) + .maxstack 8 + IL_0000: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) + IL_000c: ret + } // end of method CompoundAssignmentTest::IncrementStaticProperty + + .method public hidebysig instance void + DoubleStaticProperty() cil managed + { + // Code size 13 (0xd) + .maxstack 8 + IL_0000: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() + IL_0005: ldc.i4.2 + IL_0006: mul + IL_0007: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) + IL_000c: ret + } // end of method CompoundAssignmentTest::DoubleStaticProperty + + .method public hidebysig instance int32 + DoubleStaticPropertyAndReturn() cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() + IL_0005: ldc.i4.2 + IL_0006: mul + IL_0007: dup + IL_0008: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) + IL_000d: ret + } // end of method CompoundAssignmentTest::DoubleStaticPropertyAndReturn + + .method public hidebysig instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum + PreIncrementStaticPropertyShort() cil managed + { + // Code size 15 (0xf) + .maxstack 8 + IL_0000: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticShortProperty() + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: conv.i2 + IL_0008: dup + IL_0009: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum) + IL_000e: ret + } // end of method CompoundAssignmentTest::PreIncrementStaticPropertyShort + + .method public hidebysig instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum + PostIncrementStaticPropertyShort() cil managed + { + // Code size 15 (0xf) + .maxstack 8 + IL_0000: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticShortProperty() + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.i2 + IL_0009: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum) + IL_000e: ret + } // end of method CompoundAssignmentTest::PostIncrementStaticPropertyShort + + .method public hidebysig instance void + IncrementStaticPropertyShort() cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticShortProperty() + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: conv.i2 + IL_0008: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum) + IL_000d: ret + } // end of method CompoundAssignmentTest::IncrementStaticPropertyShort + + .method public hidebysig static void ByteAddTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: ldc.i4.5 + IL_0006: add + IL_0007: conv.u1 + IL_0008: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000d: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0012: ldc.i4.5 + IL_0013: add + IL_0014: conv.u1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0021: ldc.i4.5 + IL_0022: add + IL_0023: conv.u1 + IL_0024: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0030: ldc.i4.5 + IL_0031: add + IL_0032: conv.u1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0038: ldarga.s s + IL_003a: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_003f: dup + IL_0040: ldind.u1 + IL_0041: ldc.i4.5 + IL_0042: add + IL_0043: conv.u1 + IL_0044: stind.i1 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_004d: ldc.i4.5 + IL_004e: add + IL_004f: conv.u1 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0060: ldc.i4.5 + IL_0061: add + IL_0062: conv.u1 + IL_0063: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0073: ldc.i4.5 + IL_0074: add + IL_0075: conv.u1 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0085: dup + IL_0086: ldind.u1 + IL_0087: ldc.i4.5 + IL_0088: add + IL_0089: conv.u1 + IL_008a: stind.i1 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0096: ldc.i4.5 + IL_0097: add + IL_0098: conv.u1 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00a9: ldc.i4.5 + IL_00aa: add + IL_00ab: conv.u1 + IL_00ac: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00bc: ldc.i4.5 + IL_00bd: add + IL_00be: conv.u1 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00cf: ldc.i4.5 + IL_00d0: add + IL_00d1: conv.u1 + IL_00d2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e2: ldc.i4.5 + IL_00e3: add + IL_00e4: conv.u1 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00f4: dup + IL_00f5: ldind.u1 + IL_00f6: ldc.i4.5 + IL_00f7: add + IL_00f8: conv.u1 + IL_00f9: stind.i1 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0105: ldc.i4.5 + IL_0106: add + IL_0107: conv.u1 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_010d: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_0112: dup + IL_0113: ldind.u1 + IL_0114: ldc.i4.5 + IL_0115: add + IL_0116: conv.u1 + IL_0117: stind.i1 + IL_0118: ret + } // end of method CompoundAssignmentTest::ByteAddTest + + .method public hidebysig static void ByteSubtractTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: ldc.i4.5 + IL_0006: sub + IL_0007: conv.u1 + IL_0008: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000d: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0012: ldc.i4.5 + IL_0013: sub + IL_0014: conv.u1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0021: ldc.i4.5 + IL_0022: sub + IL_0023: conv.u1 + IL_0024: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0030: ldc.i4.5 + IL_0031: sub + IL_0032: conv.u1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0038: ldarga.s s + IL_003a: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_003f: dup + IL_0040: ldind.u1 + IL_0041: ldc.i4.5 + IL_0042: sub + IL_0043: conv.u1 + IL_0044: stind.i1 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_004d: ldc.i4.5 + IL_004e: sub + IL_004f: conv.u1 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0060: ldc.i4.5 + IL_0061: sub + IL_0062: conv.u1 + IL_0063: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0073: ldc.i4.5 + IL_0074: sub + IL_0075: conv.u1 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0085: dup + IL_0086: ldind.u1 + IL_0087: ldc.i4.5 + IL_0088: sub + IL_0089: conv.u1 + IL_008a: stind.i1 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0096: ldc.i4.5 + IL_0097: sub + IL_0098: conv.u1 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00a9: ldc.i4.5 + IL_00aa: sub + IL_00ab: conv.u1 + IL_00ac: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00bc: ldc.i4.5 + IL_00bd: sub + IL_00be: conv.u1 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00cf: ldc.i4.5 + IL_00d0: sub + IL_00d1: conv.u1 + IL_00d2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e2: ldc.i4.5 + IL_00e3: sub + IL_00e4: conv.u1 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00f4: dup + IL_00f5: ldind.u1 + IL_00f6: ldc.i4.5 + IL_00f7: sub + IL_00f8: conv.u1 + IL_00f9: stind.i1 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0105: ldc.i4.5 + IL_0106: sub + IL_0107: conv.u1 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_010d: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_0112: dup + IL_0113: ldind.u1 + IL_0114: ldc.i4.5 + IL_0115: sub + IL_0116: conv.u1 + IL_0117: stind.i1 + IL_0118: ret + } // end of method CompoundAssignmentTest::ByteSubtractTest + + .method public hidebysig static void ByteMultiplyTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: ldc.i4.5 + IL_0006: mul + IL_0007: conv.u1 + IL_0008: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000d: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0012: ldc.i4.5 + IL_0013: mul + IL_0014: conv.u1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0021: ldc.i4.5 + IL_0022: mul + IL_0023: conv.u1 + IL_0024: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0030: ldc.i4.5 + IL_0031: mul + IL_0032: conv.u1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0038: ldarga.s s + IL_003a: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_003f: dup + IL_0040: ldind.u1 + IL_0041: ldc.i4.5 + IL_0042: mul + IL_0043: conv.u1 + IL_0044: stind.i1 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_004d: ldc.i4.5 + IL_004e: mul + IL_004f: conv.u1 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0060: ldc.i4.5 + IL_0061: mul + IL_0062: conv.u1 + IL_0063: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0073: ldc.i4.5 + IL_0074: mul + IL_0075: conv.u1 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0085: dup + IL_0086: ldind.u1 + IL_0087: ldc.i4.5 + IL_0088: mul + IL_0089: conv.u1 + IL_008a: stind.i1 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0096: ldc.i4.5 + IL_0097: mul + IL_0098: conv.u1 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00a9: ldc.i4.5 + IL_00aa: mul + IL_00ab: conv.u1 + IL_00ac: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00bc: ldc.i4.5 + IL_00bd: mul + IL_00be: conv.u1 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00cf: ldc.i4.5 + IL_00d0: mul + IL_00d1: conv.u1 + IL_00d2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e2: ldc.i4.5 + IL_00e3: mul + IL_00e4: conv.u1 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00f4: dup + IL_00f5: ldind.u1 + IL_00f6: ldc.i4.5 + IL_00f7: mul + IL_00f8: conv.u1 + IL_00f9: stind.i1 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0105: ldc.i4.5 + IL_0106: mul + IL_0107: conv.u1 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_010d: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_0112: dup + IL_0113: ldind.u1 + IL_0114: ldc.i4.5 + IL_0115: mul + IL_0116: conv.u1 + IL_0117: stind.i1 + IL_0118: ret + } // end of method CompoundAssignmentTest::ByteMultiplyTest + + .method public hidebysig static void ByteDivideTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: ldc.i4.5 + IL_0006: div + IL_0007: conv.u1 + IL_0008: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000d: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0012: ldc.i4.5 + IL_0013: div + IL_0014: conv.u1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0021: ldc.i4.5 + IL_0022: div + IL_0023: conv.u1 + IL_0024: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0030: ldc.i4.5 + IL_0031: div + IL_0032: conv.u1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0038: ldarga.s s + IL_003a: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_003f: dup + IL_0040: ldind.u1 + IL_0041: ldc.i4.5 + IL_0042: div + IL_0043: conv.u1 + IL_0044: stind.i1 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_004d: ldc.i4.5 + IL_004e: div + IL_004f: conv.u1 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0060: ldc.i4.5 + IL_0061: div + IL_0062: conv.u1 + IL_0063: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0073: ldc.i4.5 + IL_0074: div + IL_0075: conv.u1 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0085: dup + IL_0086: ldind.u1 + IL_0087: ldc.i4.5 + IL_0088: div + IL_0089: conv.u1 + IL_008a: stind.i1 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0096: ldc.i4.5 + IL_0097: div + IL_0098: conv.u1 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00a9: ldc.i4.5 + IL_00aa: div + IL_00ab: conv.u1 + IL_00ac: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00bc: ldc.i4.5 + IL_00bd: div + IL_00be: conv.u1 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00cf: ldc.i4.5 + IL_00d0: div + IL_00d1: conv.u1 + IL_00d2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e2: ldc.i4.5 + IL_00e3: div + IL_00e4: conv.u1 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00f4: dup + IL_00f5: ldind.u1 + IL_00f6: ldc.i4.5 + IL_00f7: div + IL_00f8: conv.u1 + IL_00f9: stind.i1 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0105: ldc.i4.5 + IL_0106: div + IL_0107: conv.u1 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_010d: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_0112: dup + IL_0113: ldind.u1 + IL_0114: ldc.i4.5 + IL_0115: div + IL_0116: conv.u1 + IL_0117: stind.i1 + IL_0118: ret + } // end of method CompoundAssignmentTest::ByteDivideTest + + .method public hidebysig static void ByteModulusTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: ldc.i4.5 + IL_0006: rem + IL_0007: conv.u1 + IL_0008: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000d: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0012: ldc.i4.5 + IL_0013: rem + IL_0014: conv.u1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0021: ldc.i4.5 + IL_0022: rem + IL_0023: conv.u1 + IL_0024: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0030: ldc.i4.5 + IL_0031: rem + IL_0032: conv.u1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0038: ldarga.s s + IL_003a: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_003f: dup + IL_0040: ldind.u1 + IL_0041: ldc.i4.5 + IL_0042: rem + IL_0043: conv.u1 + IL_0044: stind.i1 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_004d: ldc.i4.5 + IL_004e: rem + IL_004f: conv.u1 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0060: ldc.i4.5 + IL_0061: rem + IL_0062: conv.u1 + IL_0063: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0073: ldc.i4.5 + IL_0074: rem + IL_0075: conv.u1 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0085: dup + IL_0086: ldind.u1 + IL_0087: ldc.i4.5 + IL_0088: rem + IL_0089: conv.u1 + IL_008a: stind.i1 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0096: ldc.i4.5 + IL_0097: rem + IL_0098: conv.u1 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00a9: ldc.i4.5 + IL_00aa: rem + IL_00ab: conv.u1 + IL_00ac: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00bc: ldc.i4.5 + IL_00bd: rem + IL_00be: conv.u1 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00cf: ldc.i4.5 + IL_00d0: rem + IL_00d1: conv.u1 + IL_00d2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e2: ldc.i4.5 + IL_00e3: rem + IL_00e4: conv.u1 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00f4: dup + IL_00f5: ldind.u1 + IL_00f6: ldc.i4.5 + IL_00f7: rem + IL_00f8: conv.u1 + IL_00f9: stind.i1 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0105: ldc.i4.5 + IL_0106: rem + IL_0107: conv.u1 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_010d: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_0112: dup + IL_0113: ldind.u1 + IL_0114: ldc.i4.5 + IL_0115: rem + IL_0116: conv.u1 + IL_0117: stind.i1 + IL_0118: ret + } // end of method CompoundAssignmentTest::ByteModulusTest + + .method public hidebysig static void ByteLeftShiftTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: ldc.i4.5 + IL_0006: shl + IL_0007: conv.u1 + IL_0008: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000d: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0012: ldc.i4.5 + IL_0013: shl + IL_0014: conv.u1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0021: ldc.i4.5 + IL_0022: shl + IL_0023: conv.u1 + IL_0024: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0030: ldc.i4.5 + IL_0031: shl + IL_0032: conv.u1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0038: ldarga.s s + IL_003a: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_003f: dup + IL_0040: ldind.u1 + IL_0041: ldc.i4.5 + IL_0042: shl + IL_0043: conv.u1 + IL_0044: stind.i1 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_004d: ldc.i4.5 + IL_004e: shl + IL_004f: conv.u1 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0060: ldc.i4.5 + IL_0061: shl + IL_0062: conv.u1 + IL_0063: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0073: ldc.i4.5 + IL_0074: shl + IL_0075: conv.u1 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0085: dup + IL_0086: ldind.u1 + IL_0087: ldc.i4.5 + IL_0088: shl + IL_0089: conv.u1 + IL_008a: stind.i1 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0096: ldc.i4.5 + IL_0097: shl + IL_0098: conv.u1 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00a9: ldc.i4.5 + IL_00aa: shl + IL_00ab: conv.u1 + IL_00ac: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00bc: ldc.i4.5 + IL_00bd: shl + IL_00be: conv.u1 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00cf: ldc.i4.5 + IL_00d0: shl + IL_00d1: conv.u1 + IL_00d2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e2: ldc.i4.5 + IL_00e3: shl + IL_00e4: conv.u1 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00f4: dup + IL_00f5: ldind.u1 + IL_00f6: ldc.i4.5 + IL_00f7: shl + IL_00f8: conv.u1 + IL_00f9: stind.i1 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0105: ldc.i4.5 + IL_0106: shl + IL_0107: conv.u1 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_010d: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_0112: dup + IL_0113: ldind.u1 + IL_0114: ldc.i4.5 + IL_0115: shl + IL_0116: conv.u1 + IL_0117: stind.i1 + IL_0118: ret + } // end of method CompoundAssignmentTest::ByteLeftShiftTest + + .method public hidebysig static void ByteRightShiftTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: ldc.i4.5 + IL_0006: shr + IL_0007: conv.u1 + IL_0008: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000d: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0012: ldc.i4.5 + IL_0013: shr + IL_0014: conv.u1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0021: ldc.i4.5 + IL_0022: shr + IL_0023: conv.u1 + IL_0024: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0030: ldc.i4.5 + IL_0031: shr + IL_0032: conv.u1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0038: ldarga.s s + IL_003a: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_003f: dup + IL_0040: ldind.u1 + IL_0041: ldc.i4.5 + IL_0042: shr + IL_0043: conv.u1 + IL_0044: stind.i1 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_004d: ldc.i4.5 + IL_004e: shr + IL_004f: conv.u1 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0060: ldc.i4.5 + IL_0061: shr + IL_0062: conv.u1 + IL_0063: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0073: ldc.i4.5 + IL_0074: shr + IL_0075: conv.u1 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0085: dup + IL_0086: ldind.u1 + IL_0087: ldc.i4.5 + IL_0088: shr + IL_0089: conv.u1 + IL_008a: stind.i1 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0096: ldc.i4.5 + IL_0097: shr + IL_0098: conv.u1 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00a9: ldc.i4.5 + IL_00aa: shr + IL_00ab: conv.u1 + IL_00ac: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00bc: ldc.i4.5 + IL_00bd: shr + IL_00be: conv.u1 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00cf: ldc.i4.5 + IL_00d0: shr + IL_00d1: conv.u1 + IL_00d2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e2: ldc.i4.5 + IL_00e3: shr + IL_00e4: conv.u1 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00f4: dup + IL_00f5: ldind.u1 + IL_00f6: ldc.i4.5 + IL_00f7: shr + IL_00f8: conv.u1 + IL_00f9: stind.i1 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0105: ldc.i4.5 + IL_0106: shr + IL_0107: conv.u1 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_010d: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_0112: dup + IL_0113: ldind.u1 + IL_0114: ldc.i4.5 + IL_0115: shr + IL_0116: conv.u1 + IL_0117: stind.i1 + IL_0118: ret + } // end of method CompoundAssignmentTest::ByteRightShiftTest + + .method public hidebysig static void ByteBitAndTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: ldc.i4.5 + IL_0006: and + IL_0007: conv.u1 + IL_0008: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000d: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0012: ldc.i4.5 + IL_0013: and + IL_0014: conv.u1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0021: ldc.i4.5 + IL_0022: and + IL_0023: conv.u1 + IL_0024: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0030: ldc.i4.5 + IL_0031: and + IL_0032: conv.u1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0038: ldarga.s s + IL_003a: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_003f: dup + IL_0040: ldind.u1 + IL_0041: ldc.i4.5 + IL_0042: and + IL_0043: conv.u1 + IL_0044: stind.i1 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_004d: ldc.i4.5 + IL_004e: and + IL_004f: conv.u1 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0060: ldc.i4.5 + IL_0061: and + IL_0062: conv.u1 + IL_0063: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0073: ldc.i4.5 + IL_0074: and + IL_0075: conv.u1 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0085: dup + IL_0086: ldind.u1 + IL_0087: ldc.i4.5 + IL_0088: and + IL_0089: conv.u1 + IL_008a: stind.i1 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0096: ldc.i4.5 + IL_0097: and + IL_0098: conv.u1 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00a9: ldc.i4.5 + IL_00aa: and + IL_00ab: conv.u1 + IL_00ac: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00bc: ldc.i4.5 + IL_00bd: and + IL_00be: conv.u1 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00cf: ldc.i4.5 + IL_00d0: and + IL_00d1: conv.u1 + IL_00d2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e2: ldc.i4.5 + IL_00e3: and + IL_00e4: conv.u1 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00f4: dup + IL_00f5: ldind.u1 + IL_00f6: ldc.i4.5 + IL_00f7: and + IL_00f8: conv.u1 + IL_00f9: stind.i1 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0105: ldc.i4.5 + IL_0106: and + IL_0107: conv.u1 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_010d: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_0112: dup + IL_0113: ldind.u1 + IL_0114: ldc.i4.5 + IL_0115: and + IL_0116: conv.u1 + IL_0117: stind.i1 + IL_0118: ret + } // end of method CompoundAssignmentTest::ByteBitAndTest + + .method public hidebysig static void ByteBitOrTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: ldc.i4.5 + IL_0006: or + IL_0007: conv.u1 + IL_0008: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000d: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0012: ldc.i4.5 + IL_0013: or + IL_0014: conv.u1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0021: ldc.i4.5 + IL_0022: or + IL_0023: conv.u1 + IL_0024: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0030: ldc.i4.5 + IL_0031: or + IL_0032: conv.u1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0038: ldarga.s s + IL_003a: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_003f: dup + IL_0040: ldind.u1 + IL_0041: ldc.i4.5 + IL_0042: or + IL_0043: conv.u1 + IL_0044: stind.i1 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_004d: ldc.i4.5 + IL_004e: or + IL_004f: conv.u1 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0060: ldc.i4.5 + IL_0061: or + IL_0062: conv.u1 + IL_0063: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0073: ldc.i4.5 + IL_0074: or + IL_0075: conv.u1 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0085: dup + IL_0086: ldind.u1 + IL_0087: ldc.i4.5 + IL_0088: or + IL_0089: conv.u1 + IL_008a: stind.i1 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0096: ldc.i4.5 + IL_0097: or + IL_0098: conv.u1 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00a9: ldc.i4.5 + IL_00aa: or + IL_00ab: conv.u1 + IL_00ac: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00bc: ldc.i4.5 + IL_00bd: or + IL_00be: conv.u1 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00cf: ldc.i4.5 + IL_00d0: or + IL_00d1: conv.u1 + IL_00d2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e2: ldc.i4.5 + IL_00e3: or + IL_00e4: conv.u1 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00f4: dup + IL_00f5: ldind.u1 + IL_00f6: ldc.i4.5 + IL_00f7: or + IL_00f8: conv.u1 + IL_00f9: stind.i1 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0105: ldc.i4.5 + IL_0106: or + IL_0107: conv.u1 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_010d: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_0112: dup + IL_0113: ldind.u1 + IL_0114: ldc.i4.5 + IL_0115: or + IL_0116: conv.u1 + IL_0117: stind.i1 + IL_0118: ret + } // end of method CompoundAssignmentTest::ByteBitOrTest + + .method public hidebysig static void ByteBitXorTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: ldc.i4.5 + IL_0006: xor + IL_0007: conv.u1 + IL_0008: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000d: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0012: ldc.i4.5 + IL_0013: xor + IL_0014: conv.u1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0021: ldc.i4.5 + IL_0022: xor + IL_0023: conv.u1 + IL_0024: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0030: ldc.i4.5 + IL_0031: xor + IL_0032: conv.u1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0038: ldarga.s s + IL_003a: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_003f: dup + IL_0040: ldind.u1 + IL_0041: ldc.i4.5 + IL_0042: xor + IL_0043: conv.u1 + IL_0044: stind.i1 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_004d: ldc.i4.5 + IL_004e: xor + IL_004f: conv.u1 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0060: ldc.i4.5 + IL_0061: xor + IL_0062: conv.u1 + IL_0063: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0073: ldc.i4.5 + IL_0074: xor + IL_0075: conv.u1 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0085: dup + IL_0086: ldind.u1 + IL_0087: ldc.i4.5 + IL_0088: xor + IL_0089: conv.u1 + IL_008a: stind.i1 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0096: ldc.i4.5 + IL_0097: xor + IL_0098: conv.u1 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00a9: ldc.i4.5 + IL_00aa: xor + IL_00ab: conv.u1 + IL_00ac: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00bc: ldc.i4.5 + IL_00bd: xor + IL_00be: conv.u1 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00cf: ldc.i4.5 + IL_00d0: xor + IL_00d1: conv.u1 + IL_00d2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e2: ldc.i4.5 + IL_00e3: xor + IL_00e4: conv.u1 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00f4: dup + IL_00f5: ldind.u1 + IL_00f6: ldc.i4.5 + IL_00f7: xor + IL_00f8: conv.u1 + IL_00f9: stind.i1 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0105: ldc.i4.5 + IL_0106: xor + IL_0107: conv.u1 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_010d: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_0112: dup + IL_0113: ldind.u1 + IL_0114: ldc.i4.5 + IL_0115: xor + IL_0116: conv.u1 + IL_0117: stind.i1 + IL_0118: ret + } // end of method CompoundAssignmentTest::ByteBitXorTest + + .method public hidebysig static void BytePostIncTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 413 (0x19d) + .maxstack 3 + .locals init (uint8 V_0) + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.u1 + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0018: dup + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: conv.u1 + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002d: stloc.0 + IL_002e: ldloc.0 + IL_002f: ldc.i4.1 + IL_0030: add + IL_0031: conv.u1 + IL_0032: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0044: stloc.0 + IL_0045: ldloc.0 + IL_0046: ldc.i4.1 + IL_0047: add + IL_0048: conv.u1 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_004e: ldloc.0 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_005b: dup + IL_005c: ldind.u1 + IL_005d: stloc.0 + IL_005e: ldloc.0 + IL_005f: ldc.i4.1 + IL_0060: add + IL_0061: conv.u1 + IL_0062: stind.i1 + IL_0063: ldloc.0 + IL_0064: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0069: ldarga.s s + IL_006b: dup + IL_006c: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0071: stloc.0 + IL_0072: ldloc.0 + IL_0073: ldc.i4.1 + IL_0074: add + IL_0075: conv.u1 + IL_0076: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_007b: ldloc.0 + IL_007c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_008c: stloc.0 + IL_008d: ldloc.0 + IL_008e: ldc.i4.1 + IL_008f: add + IL_0090: conv.u1 + IL_0091: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0096: ldloc.0 + IL_0097: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00a7: stloc.0 + IL_00a8: ldloc.0 + IL_00a9: ldc.i4.1 + IL_00aa: add + IL_00ab: conv.u1 + IL_00ac: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bc: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00c1: dup + IL_00c2: ldind.u1 + IL_00c3: stloc.0 + IL_00c4: ldloc.0 + IL_00c5: ldc.i4.1 + IL_00c6: add + IL_00c7: conv.u1 + IL_00c8: stind.i1 + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: dup + IL_00d5: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00da: stloc.0 + IL_00db: ldloc.0 + IL_00dc: ldc.i4.1 + IL_00dd: add + IL_00de: conv.u1 + IL_00df: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00e4: ldloc.0 + IL_00e5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ef: dup + IL_00f0: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00f5: stloc.0 + IL_00f6: ldloc.0 + IL_00f7: ldc.i4.1 + IL_00f8: add + IL_00f9: conv.u1 + IL_00fa: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00ff: ldloc.0 + IL_0100: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010a: dup + IL_010b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0110: stloc.0 + IL_0111: ldloc.0 + IL_0112: ldc.i4.1 + IL_0113: add + IL_0114: conv.u1 + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_011a: ldloc.0 + IL_011b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0120: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0125: dup + IL_0126: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_012b: stloc.0 + IL_012c: ldloc.0 + IL_012d: ldc.i4.1 + IL_012e: add + IL_012f: conv.u1 + IL_0130: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0140: dup + IL_0141: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0146: stloc.0 + IL_0147: ldloc.0 + IL_0148: ldc.i4.1 + IL_0149: add + IL_014a: conv.u1 + IL_014b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0150: ldloc.0 + IL_0151: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0156: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_015b: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0160: dup + IL_0161: ldind.u1 + IL_0162: stloc.0 + IL_0163: ldloc.0 + IL_0164: ldc.i4.1 + IL_0165: add + IL_0166: conv.u1 + IL_0167: stind.i1 + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0173: dup + IL_0174: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0179: stloc.0 + IL_017a: ldloc.0 + IL_017b: ldc.i4.1 + IL_017c: add + IL_017d: conv.u1 + IL_017e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0183: ldloc.0 + IL_0184: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0189: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_018e: dup + IL_018f: ldind.u1 + IL_0190: stloc.0 + IL_0191: ldloc.0 + IL_0192: ldc.i4.1 + IL_0193: add + IL_0194: conv.u1 + IL_0195: stind.i1 + IL_0196: ldloc.0 + IL_0197: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_019c: ret + } // end of method CompoundAssignmentTest::BytePostIncTest + + .method public hidebysig static void BytePreIncTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 413 (0x19d) + .maxstack 3 + .locals init (uint8 V_0) + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: conv.u1 + IL_0008: dup + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0018: ldc.i4.1 + IL_0019: add + IL_001a: conv.u1 + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002d: ldc.i4.1 + IL_002e: add + IL_002f: conv.u1 + IL_0030: stloc.0 + IL_0031: ldloc.0 + IL_0032: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0044: ldc.i4.1 + IL_0045: add + IL_0046: conv.u1 + IL_0047: stloc.0 + IL_0048: ldloc.0 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_004e: ldloc.0 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_005b: dup + IL_005c: ldind.u1 + IL_005d: ldc.i4.1 + IL_005e: add + IL_005f: conv.u1 + IL_0060: stloc.0 + IL_0061: ldloc.0 + IL_0062: stind.i1 + IL_0063: ldloc.0 + IL_0064: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0069: ldarga.s s + IL_006b: dup + IL_006c: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0071: ldc.i4.1 + IL_0072: add + IL_0073: conv.u1 + IL_0074: stloc.0 + IL_0075: ldloc.0 + IL_0076: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_007b: ldloc.0 + IL_007c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_008c: ldc.i4.1 + IL_008d: add + IL_008e: conv.u1 + IL_008f: stloc.0 + IL_0090: ldloc.0 + IL_0091: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0096: ldloc.0 + IL_0097: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00a7: ldc.i4.1 + IL_00a8: add + IL_00a9: conv.u1 + IL_00aa: stloc.0 + IL_00ab: ldloc.0 + IL_00ac: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bc: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00c1: dup + IL_00c2: ldind.u1 + IL_00c3: ldc.i4.1 + IL_00c4: add + IL_00c5: conv.u1 + IL_00c6: stloc.0 + IL_00c7: ldloc.0 + IL_00c8: stind.i1 + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: dup + IL_00d5: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00da: ldc.i4.1 + IL_00db: add + IL_00dc: conv.u1 + IL_00dd: stloc.0 + IL_00de: ldloc.0 + IL_00df: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00e4: ldloc.0 + IL_00e5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ef: dup + IL_00f0: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00f5: ldc.i4.1 + IL_00f6: add + IL_00f7: conv.u1 + IL_00f8: stloc.0 + IL_00f9: ldloc.0 + IL_00fa: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00ff: ldloc.0 + IL_0100: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010a: dup + IL_010b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0110: ldc.i4.1 + IL_0111: add + IL_0112: conv.u1 + IL_0113: stloc.0 + IL_0114: ldloc.0 + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_011a: ldloc.0 + IL_011b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0120: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0125: dup + IL_0126: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_012b: ldc.i4.1 + IL_012c: add + IL_012d: conv.u1 + IL_012e: stloc.0 + IL_012f: ldloc.0 + IL_0130: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0140: dup + IL_0141: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0146: ldc.i4.1 + IL_0147: add + IL_0148: conv.u1 + IL_0149: stloc.0 + IL_014a: ldloc.0 + IL_014b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0150: ldloc.0 + IL_0151: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0156: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_015b: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0160: dup + IL_0161: ldind.u1 + IL_0162: ldc.i4.1 + IL_0163: add + IL_0164: conv.u1 + IL_0165: stloc.0 + IL_0166: ldloc.0 + IL_0167: stind.i1 + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0173: dup + IL_0174: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0179: ldc.i4.1 + IL_017a: add + IL_017b: conv.u1 + IL_017c: stloc.0 + IL_017d: ldloc.0 + IL_017e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0183: ldloc.0 + IL_0184: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0189: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_018e: dup + IL_018f: ldind.u1 + IL_0190: ldc.i4.1 + IL_0191: add + IL_0192: conv.u1 + IL_0193: stloc.0 + IL_0194: ldloc.0 + IL_0195: stind.i1 + IL_0196: ldloc.0 + IL_0197: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_019c: ret + } // end of method CompoundAssignmentTest::BytePreIncTest + + .method public hidebysig static void BytePostDecTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 413 (0x19d) + .maxstack 3 + .locals init (uint8 V_0) + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: sub + IL_0008: conv.u1 + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0018: dup + IL_0019: ldc.i4.1 + IL_001a: sub + IL_001b: conv.u1 + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002d: stloc.0 + IL_002e: ldloc.0 + IL_002f: ldc.i4.1 + IL_0030: sub + IL_0031: conv.u1 + IL_0032: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0044: stloc.0 + IL_0045: ldloc.0 + IL_0046: ldc.i4.1 + IL_0047: sub + IL_0048: conv.u1 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_004e: ldloc.0 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_005b: dup + IL_005c: ldind.u1 + IL_005d: stloc.0 + IL_005e: ldloc.0 + IL_005f: ldc.i4.1 + IL_0060: sub + IL_0061: conv.u1 + IL_0062: stind.i1 + IL_0063: ldloc.0 + IL_0064: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0069: ldarga.s s + IL_006b: dup + IL_006c: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0071: stloc.0 + IL_0072: ldloc.0 + IL_0073: ldc.i4.1 + IL_0074: sub + IL_0075: conv.u1 + IL_0076: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_007b: ldloc.0 + IL_007c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_008c: stloc.0 + IL_008d: ldloc.0 + IL_008e: ldc.i4.1 + IL_008f: sub + IL_0090: conv.u1 + IL_0091: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0096: ldloc.0 + IL_0097: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00a7: stloc.0 + IL_00a8: ldloc.0 + IL_00a9: ldc.i4.1 + IL_00aa: sub + IL_00ab: conv.u1 + IL_00ac: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bc: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00c1: dup + IL_00c2: ldind.u1 + IL_00c3: stloc.0 + IL_00c4: ldloc.0 + IL_00c5: ldc.i4.1 + IL_00c6: sub + IL_00c7: conv.u1 + IL_00c8: stind.i1 + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: dup + IL_00d5: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00da: stloc.0 + IL_00db: ldloc.0 + IL_00dc: ldc.i4.1 + IL_00dd: sub + IL_00de: conv.u1 + IL_00df: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00e4: ldloc.0 + IL_00e5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ef: dup + IL_00f0: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00f5: stloc.0 + IL_00f6: ldloc.0 + IL_00f7: ldc.i4.1 + IL_00f8: sub + IL_00f9: conv.u1 + IL_00fa: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00ff: ldloc.0 + IL_0100: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010a: dup + IL_010b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0110: stloc.0 + IL_0111: ldloc.0 + IL_0112: ldc.i4.1 + IL_0113: sub + IL_0114: conv.u1 + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_011a: ldloc.0 + IL_011b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0120: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0125: dup + IL_0126: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_012b: stloc.0 + IL_012c: ldloc.0 + IL_012d: ldc.i4.1 + IL_012e: sub + IL_012f: conv.u1 + IL_0130: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0140: dup + IL_0141: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0146: stloc.0 + IL_0147: ldloc.0 + IL_0148: ldc.i4.1 + IL_0149: sub + IL_014a: conv.u1 + IL_014b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0150: ldloc.0 + IL_0151: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0156: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_015b: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0160: dup + IL_0161: ldind.u1 + IL_0162: stloc.0 + IL_0163: ldloc.0 + IL_0164: ldc.i4.1 + IL_0165: sub + IL_0166: conv.u1 + IL_0167: stind.i1 + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0173: dup + IL_0174: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0179: stloc.0 + IL_017a: ldloc.0 + IL_017b: ldc.i4.1 + IL_017c: sub + IL_017d: conv.u1 + IL_017e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0183: ldloc.0 + IL_0184: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0189: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_018e: dup + IL_018f: ldind.u1 + IL_0190: stloc.0 + IL_0191: ldloc.0 + IL_0192: ldc.i4.1 + IL_0193: sub + IL_0194: conv.u1 + IL_0195: stind.i1 + IL_0196: ldloc.0 + IL_0197: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_019c: ret + } // end of method CompoundAssignmentTest::BytePostDecTest + + .method public hidebysig static void BytePreDecTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 413 (0x19d) + .maxstack 3 + .locals init (uint8 V_0) + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0005: ldc.i4.1 + IL_0006: sub + IL_0007: conv.u1 + IL_0008: dup + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0018: ldc.i4.1 + IL_0019: sub + IL_001a: conv.u1 + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002d: ldc.i4.1 + IL_002e: sub + IL_002f: conv.u1 + IL_0030: stloc.0 + IL_0031: ldloc.0 + IL_0032: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0044: ldc.i4.1 + IL_0045: sub + IL_0046: conv.u1 + IL_0047: stloc.0 + IL_0048: ldloc.0 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_004e: ldloc.0 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_005b: dup + IL_005c: ldind.u1 + IL_005d: ldc.i4.1 + IL_005e: sub + IL_005f: conv.u1 + IL_0060: stloc.0 + IL_0061: ldloc.0 + IL_0062: stind.i1 + IL_0063: ldloc.0 + IL_0064: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0069: ldarga.s s + IL_006b: dup + IL_006c: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0071: ldc.i4.1 + IL_0072: sub + IL_0073: conv.u1 + IL_0074: stloc.0 + IL_0075: ldloc.0 + IL_0076: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_007b: ldloc.0 + IL_007c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_008c: ldc.i4.1 + IL_008d: sub + IL_008e: conv.u1 + IL_008f: stloc.0 + IL_0090: ldloc.0 + IL_0091: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0096: ldloc.0 + IL_0097: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00a7: ldc.i4.1 + IL_00a8: sub + IL_00a9: conv.u1 + IL_00aa: stloc.0 + IL_00ab: ldloc.0 + IL_00ac: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bc: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00c1: dup + IL_00c2: ldind.u1 + IL_00c3: ldc.i4.1 + IL_00c4: sub + IL_00c5: conv.u1 + IL_00c6: stloc.0 + IL_00c7: ldloc.0 + IL_00c8: stind.i1 + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: dup + IL_00d5: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00da: ldc.i4.1 + IL_00db: sub + IL_00dc: conv.u1 + IL_00dd: stloc.0 + IL_00de: ldloc.0 + IL_00df: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00e4: ldloc.0 + IL_00e5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ef: dup + IL_00f0: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00f5: ldc.i4.1 + IL_00f6: sub + IL_00f7: conv.u1 + IL_00f8: stloc.0 + IL_00f9: ldloc.0 + IL_00fa: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00ff: ldloc.0 + IL_0100: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010a: dup + IL_010b: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0110: ldc.i4.1 + IL_0111: sub + IL_0112: conv.u1 + IL_0113: stloc.0 + IL_0114: ldloc.0 + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_011a: ldloc.0 + IL_011b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0120: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0125: dup + IL_0126: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_012b: ldc.i4.1 + IL_012c: sub + IL_012d: conv.u1 + IL_012e: stloc.0 + IL_012f: ldloc.0 + IL_0130: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0140: dup + IL_0141: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0146: ldc.i4.1 + IL_0147: sub + IL_0148: conv.u1 + IL_0149: stloc.0 + IL_014a: ldloc.0 + IL_014b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0150: ldloc.0 + IL_0151: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0156: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_015b: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0160: dup + IL_0161: ldind.u1 + IL_0162: ldc.i4.1 + IL_0163: sub + IL_0164: conv.u1 + IL_0165: stloc.0 + IL_0166: ldloc.0 + IL_0167: stind.i1 + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0173: dup + IL_0174: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0179: ldc.i4.1 + IL_017a: sub + IL_017b: conv.u1 + IL_017c: stloc.0 + IL_017d: ldloc.0 + IL_017e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0183: ldloc.0 + IL_0184: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0189: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_018e: dup + IL_018f: ldind.u1 + IL_0190: ldc.i4.1 + IL_0191: sub + IL_0192: conv.u1 + IL_0193: stloc.0 + IL_0194: ldloc.0 + IL_0195: stind.i1 + IL_0196: ldloc.0 + IL_0197: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_019c: ret + } // end of method CompoundAssignmentTest::BytePreDecTest + + .method public hidebysig static void SbyteAddTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: ldc.i4.5 + IL_0006: add + IL_0007: conv.i1 + IL_0008: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000d: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0012: ldc.i4.5 + IL_0013: add + IL_0014: conv.i1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0021: ldc.i4.5 + IL_0022: add + IL_0023: conv.i1 + IL_0024: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0030: ldc.i4.5 + IL_0031: add + IL_0032: conv.i1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0038: ldarga.s s + IL_003a: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_003f: dup + IL_0040: ldind.i1 + IL_0041: ldc.i4.5 + IL_0042: add + IL_0043: conv.i1 + IL_0044: stind.i1 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_004d: ldc.i4.5 + IL_004e: add + IL_004f: conv.i1 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0060: ldc.i4.5 + IL_0061: add + IL_0062: conv.i1 + IL_0063: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0073: ldc.i4.5 + IL_0074: add + IL_0075: conv.i1 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0085: dup + IL_0086: ldind.i1 + IL_0087: ldc.i4.5 + IL_0088: add + IL_0089: conv.i1 + IL_008a: stind.i1 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0096: ldc.i4.5 + IL_0097: add + IL_0098: conv.i1 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00a9: ldc.i4.5 + IL_00aa: add + IL_00ab: conv.i1 + IL_00ac: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00bc: ldc.i4.5 + IL_00bd: add + IL_00be: conv.i1 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00cf: ldc.i4.5 + IL_00d0: add + IL_00d1: conv.i1 + IL_00d2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e2: ldc.i4.5 + IL_00e3: add + IL_00e4: conv.i1 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00f4: dup + IL_00f5: ldind.i1 + IL_00f6: ldc.i4.5 + IL_00f7: add + IL_00f8: conv.i1 + IL_00f9: stind.i1 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0105: ldc.i4.5 + IL_0106: add + IL_0107: conv.i1 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_010d: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_0112: dup + IL_0113: ldind.i1 + IL_0114: ldc.i4.5 + IL_0115: add + IL_0116: conv.i1 + IL_0117: stind.i1 + IL_0118: ret + } // end of method CompoundAssignmentTest::SbyteAddTest + + .method public hidebysig static void SbyteSubtractTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: ldc.i4.5 + IL_0006: sub + IL_0007: conv.i1 + IL_0008: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000d: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0012: ldc.i4.5 + IL_0013: sub + IL_0014: conv.i1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0021: ldc.i4.5 + IL_0022: sub + IL_0023: conv.i1 + IL_0024: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0030: ldc.i4.5 + IL_0031: sub + IL_0032: conv.i1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0038: ldarga.s s + IL_003a: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_003f: dup + IL_0040: ldind.i1 + IL_0041: ldc.i4.5 + IL_0042: sub + IL_0043: conv.i1 + IL_0044: stind.i1 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_004d: ldc.i4.5 + IL_004e: sub + IL_004f: conv.i1 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0060: ldc.i4.5 + IL_0061: sub + IL_0062: conv.i1 + IL_0063: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0073: ldc.i4.5 + IL_0074: sub + IL_0075: conv.i1 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0085: dup + IL_0086: ldind.i1 + IL_0087: ldc.i4.5 + IL_0088: sub + IL_0089: conv.i1 + IL_008a: stind.i1 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0096: ldc.i4.5 + IL_0097: sub + IL_0098: conv.i1 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00a9: ldc.i4.5 + IL_00aa: sub + IL_00ab: conv.i1 + IL_00ac: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00bc: ldc.i4.5 + IL_00bd: sub + IL_00be: conv.i1 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00cf: ldc.i4.5 + IL_00d0: sub + IL_00d1: conv.i1 + IL_00d2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e2: ldc.i4.5 + IL_00e3: sub + IL_00e4: conv.i1 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00f4: dup + IL_00f5: ldind.i1 + IL_00f6: ldc.i4.5 + IL_00f7: sub + IL_00f8: conv.i1 + IL_00f9: stind.i1 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0105: ldc.i4.5 + IL_0106: sub + IL_0107: conv.i1 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_010d: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_0112: dup + IL_0113: ldind.i1 + IL_0114: ldc.i4.5 + IL_0115: sub + IL_0116: conv.i1 + IL_0117: stind.i1 + IL_0118: ret + } // end of method CompoundAssignmentTest::SbyteSubtractTest + + .method public hidebysig static void SbyteMultiplyTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: ldc.i4.5 + IL_0006: mul + IL_0007: conv.i1 + IL_0008: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000d: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0012: ldc.i4.5 + IL_0013: mul + IL_0014: conv.i1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0021: ldc.i4.5 + IL_0022: mul + IL_0023: conv.i1 + IL_0024: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0030: ldc.i4.5 + IL_0031: mul + IL_0032: conv.i1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0038: ldarga.s s + IL_003a: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_003f: dup + IL_0040: ldind.i1 + IL_0041: ldc.i4.5 + IL_0042: mul + IL_0043: conv.i1 + IL_0044: stind.i1 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_004d: ldc.i4.5 + IL_004e: mul + IL_004f: conv.i1 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0060: ldc.i4.5 + IL_0061: mul + IL_0062: conv.i1 + IL_0063: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0073: ldc.i4.5 + IL_0074: mul + IL_0075: conv.i1 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0085: dup + IL_0086: ldind.i1 + IL_0087: ldc.i4.5 + IL_0088: mul + IL_0089: conv.i1 + IL_008a: stind.i1 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0096: ldc.i4.5 + IL_0097: mul + IL_0098: conv.i1 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00a9: ldc.i4.5 + IL_00aa: mul + IL_00ab: conv.i1 + IL_00ac: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00bc: ldc.i4.5 + IL_00bd: mul + IL_00be: conv.i1 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00cf: ldc.i4.5 + IL_00d0: mul + IL_00d1: conv.i1 + IL_00d2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e2: ldc.i4.5 + IL_00e3: mul + IL_00e4: conv.i1 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00f4: dup + IL_00f5: ldind.i1 + IL_00f6: ldc.i4.5 + IL_00f7: mul + IL_00f8: conv.i1 + IL_00f9: stind.i1 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0105: ldc.i4.5 + IL_0106: mul + IL_0107: conv.i1 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_010d: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_0112: dup + IL_0113: ldind.i1 + IL_0114: ldc.i4.5 + IL_0115: mul + IL_0116: conv.i1 + IL_0117: stind.i1 + IL_0118: ret + } // end of method CompoundAssignmentTest::SbyteMultiplyTest + + .method public hidebysig static void SbyteDivideTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: ldc.i4.5 + IL_0006: div + IL_0007: conv.i1 + IL_0008: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000d: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0012: ldc.i4.5 + IL_0013: div + IL_0014: conv.i1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0021: ldc.i4.5 + IL_0022: div + IL_0023: conv.i1 + IL_0024: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0030: ldc.i4.5 + IL_0031: div + IL_0032: conv.i1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0038: ldarga.s s + IL_003a: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_003f: dup + IL_0040: ldind.i1 + IL_0041: ldc.i4.5 + IL_0042: div + IL_0043: conv.i1 + IL_0044: stind.i1 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_004d: ldc.i4.5 + IL_004e: div + IL_004f: conv.i1 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0060: ldc.i4.5 + IL_0061: div + IL_0062: conv.i1 + IL_0063: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0073: ldc.i4.5 + IL_0074: div + IL_0075: conv.i1 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0085: dup + IL_0086: ldind.i1 + IL_0087: ldc.i4.5 + IL_0088: div + IL_0089: conv.i1 + IL_008a: stind.i1 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0096: ldc.i4.5 + IL_0097: div + IL_0098: conv.i1 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00a9: ldc.i4.5 + IL_00aa: div + IL_00ab: conv.i1 + IL_00ac: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00bc: ldc.i4.5 + IL_00bd: div + IL_00be: conv.i1 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00cf: ldc.i4.5 + IL_00d0: div + IL_00d1: conv.i1 + IL_00d2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e2: ldc.i4.5 + IL_00e3: div + IL_00e4: conv.i1 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00f4: dup + IL_00f5: ldind.i1 + IL_00f6: ldc.i4.5 + IL_00f7: div + IL_00f8: conv.i1 + IL_00f9: stind.i1 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0105: ldc.i4.5 + IL_0106: div + IL_0107: conv.i1 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_010d: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_0112: dup + IL_0113: ldind.i1 + IL_0114: ldc.i4.5 + IL_0115: div + IL_0116: conv.i1 + IL_0117: stind.i1 + IL_0118: ret + } // end of method CompoundAssignmentTest::SbyteDivideTest + + .method public hidebysig static void SbyteModulusTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: ldc.i4.5 + IL_0006: rem + IL_0007: conv.i1 + IL_0008: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000d: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0012: ldc.i4.5 + IL_0013: rem + IL_0014: conv.i1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0021: ldc.i4.5 + IL_0022: rem + IL_0023: conv.i1 + IL_0024: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0030: ldc.i4.5 + IL_0031: rem + IL_0032: conv.i1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0038: ldarga.s s + IL_003a: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_003f: dup + IL_0040: ldind.i1 + IL_0041: ldc.i4.5 + IL_0042: rem + IL_0043: conv.i1 + IL_0044: stind.i1 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_004d: ldc.i4.5 + IL_004e: rem + IL_004f: conv.i1 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0060: ldc.i4.5 + IL_0061: rem + IL_0062: conv.i1 + IL_0063: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0073: ldc.i4.5 + IL_0074: rem + IL_0075: conv.i1 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0085: dup + IL_0086: ldind.i1 + IL_0087: ldc.i4.5 + IL_0088: rem + IL_0089: conv.i1 + IL_008a: stind.i1 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0096: ldc.i4.5 + IL_0097: rem + IL_0098: conv.i1 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00a9: ldc.i4.5 + IL_00aa: rem + IL_00ab: conv.i1 + IL_00ac: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00bc: ldc.i4.5 + IL_00bd: rem + IL_00be: conv.i1 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00cf: ldc.i4.5 + IL_00d0: rem + IL_00d1: conv.i1 + IL_00d2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e2: ldc.i4.5 + IL_00e3: rem + IL_00e4: conv.i1 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00f4: dup + IL_00f5: ldind.i1 + IL_00f6: ldc.i4.5 + IL_00f7: rem + IL_00f8: conv.i1 + IL_00f9: stind.i1 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0105: ldc.i4.5 + IL_0106: rem + IL_0107: conv.i1 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_010d: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_0112: dup + IL_0113: ldind.i1 + IL_0114: ldc.i4.5 + IL_0115: rem + IL_0116: conv.i1 + IL_0117: stind.i1 + IL_0118: ret + } // end of method CompoundAssignmentTest::SbyteModulusTest + + .method public hidebysig static void SbyteLeftShiftTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: ldc.i4.5 + IL_0006: shl + IL_0007: conv.i1 + IL_0008: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000d: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0012: ldc.i4.5 + IL_0013: shl + IL_0014: conv.i1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0021: ldc.i4.5 + IL_0022: shl + IL_0023: conv.i1 + IL_0024: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0030: ldc.i4.5 + IL_0031: shl + IL_0032: conv.i1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0038: ldarga.s s + IL_003a: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_003f: dup + IL_0040: ldind.i1 + IL_0041: ldc.i4.5 + IL_0042: shl + IL_0043: conv.i1 + IL_0044: stind.i1 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_004d: ldc.i4.5 + IL_004e: shl + IL_004f: conv.i1 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0060: ldc.i4.5 + IL_0061: shl + IL_0062: conv.i1 + IL_0063: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0073: ldc.i4.5 + IL_0074: shl + IL_0075: conv.i1 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0085: dup + IL_0086: ldind.i1 + IL_0087: ldc.i4.5 + IL_0088: shl + IL_0089: conv.i1 + IL_008a: stind.i1 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0096: ldc.i4.5 + IL_0097: shl + IL_0098: conv.i1 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00a9: ldc.i4.5 + IL_00aa: shl + IL_00ab: conv.i1 + IL_00ac: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00bc: ldc.i4.5 + IL_00bd: shl + IL_00be: conv.i1 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00cf: ldc.i4.5 + IL_00d0: shl + IL_00d1: conv.i1 + IL_00d2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e2: ldc.i4.5 + IL_00e3: shl + IL_00e4: conv.i1 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00f4: dup + IL_00f5: ldind.i1 + IL_00f6: ldc.i4.5 + IL_00f7: shl + IL_00f8: conv.i1 + IL_00f9: stind.i1 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0105: ldc.i4.5 + IL_0106: shl + IL_0107: conv.i1 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_010d: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_0112: dup + IL_0113: ldind.i1 + IL_0114: ldc.i4.5 + IL_0115: shl + IL_0116: conv.i1 + IL_0117: stind.i1 + IL_0118: ret + } // end of method CompoundAssignmentTest::SbyteLeftShiftTest + + .method public hidebysig static void SbyteRightShiftTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: ldc.i4.5 + IL_0006: shr + IL_0007: conv.i1 + IL_0008: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000d: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0012: ldc.i4.5 + IL_0013: shr + IL_0014: conv.i1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0021: ldc.i4.5 + IL_0022: shr + IL_0023: conv.i1 + IL_0024: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0030: ldc.i4.5 + IL_0031: shr + IL_0032: conv.i1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0038: ldarga.s s + IL_003a: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_003f: dup + IL_0040: ldind.i1 + IL_0041: ldc.i4.5 + IL_0042: shr + IL_0043: conv.i1 + IL_0044: stind.i1 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_004d: ldc.i4.5 + IL_004e: shr + IL_004f: conv.i1 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0060: ldc.i4.5 + IL_0061: shr + IL_0062: conv.i1 + IL_0063: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0073: ldc.i4.5 + IL_0074: shr + IL_0075: conv.i1 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0085: dup + IL_0086: ldind.i1 + IL_0087: ldc.i4.5 + IL_0088: shr + IL_0089: conv.i1 + IL_008a: stind.i1 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0096: ldc.i4.5 + IL_0097: shr + IL_0098: conv.i1 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00a9: ldc.i4.5 + IL_00aa: shr + IL_00ab: conv.i1 + IL_00ac: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00bc: ldc.i4.5 + IL_00bd: shr + IL_00be: conv.i1 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00cf: ldc.i4.5 + IL_00d0: shr + IL_00d1: conv.i1 + IL_00d2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e2: ldc.i4.5 + IL_00e3: shr + IL_00e4: conv.i1 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00f4: dup + IL_00f5: ldind.i1 + IL_00f6: ldc.i4.5 + IL_00f7: shr + IL_00f8: conv.i1 + IL_00f9: stind.i1 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0105: ldc.i4.5 + IL_0106: shr + IL_0107: conv.i1 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_010d: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_0112: dup + IL_0113: ldind.i1 + IL_0114: ldc.i4.5 + IL_0115: shr + IL_0116: conv.i1 + IL_0117: stind.i1 + IL_0118: ret + } // end of method CompoundAssignmentTest::SbyteRightShiftTest + + .method public hidebysig static void SbyteBitAndTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: ldc.i4.5 + IL_0006: and + IL_0007: conv.i1 + IL_0008: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000d: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0012: ldc.i4.5 + IL_0013: and + IL_0014: conv.i1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0021: ldc.i4.5 + IL_0022: and + IL_0023: conv.i1 + IL_0024: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0030: ldc.i4.5 + IL_0031: and + IL_0032: conv.i1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0038: ldarga.s s + IL_003a: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_003f: dup + IL_0040: ldind.i1 + IL_0041: ldc.i4.5 + IL_0042: and + IL_0043: conv.i1 + IL_0044: stind.i1 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_004d: ldc.i4.5 + IL_004e: and + IL_004f: conv.i1 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0060: ldc.i4.5 + IL_0061: and + IL_0062: conv.i1 + IL_0063: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0073: ldc.i4.5 + IL_0074: and + IL_0075: conv.i1 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0085: dup + IL_0086: ldind.i1 + IL_0087: ldc.i4.5 + IL_0088: and + IL_0089: conv.i1 + IL_008a: stind.i1 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0096: ldc.i4.5 + IL_0097: and + IL_0098: conv.i1 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00a9: ldc.i4.5 + IL_00aa: and + IL_00ab: conv.i1 + IL_00ac: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00bc: ldc.i4.5 + IL_00bd: and + IL_00be: conv.i1 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00cf: ldc.i4.5 + IL_00d0: and + IL_00d1: conv.i1 + IL_00d2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e2: ldc.i4.5 + IL_00e3: and + IL_00e4: conv.i1 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00f4: dup + IL_00f5: ldind.i1 + IL_00f6: ldc.i4.5 + IL_00f7: and + IL_00f8: conv.i1 + IL_00f9: stind.i1 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0105: ldc.i4.5 + IL_0106: and + IL_0107: conv.i1 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_010d: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_0112: dup + IL_0113: ldind.i1 + IL_0114: ldc.i4.5 + IL_0115: and + IL_0116: conv.i1 + IL_0117: stind.i1 + IL_0118: ret + } // end of method CompoundAssignmentTest::SbyteBitAndTest + + .method public hidebysig static void SbyteBitOrTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: ldc.i4.5 + IL_0006: or + IL_0007: conv.i1 + IL_0008: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000d: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0012: ldc.i4.5 + IL_0013: or + IL_0014: conv.i1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0021: ldc.i4.5 + IL_0022: or + IL_0023: conv.i1 + IL_0024: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0030: ldc.i4.5 + IL_0031: or + IL_0032: conv.i1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0038: ldarga.s s + IL_003a: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_003f: dup + IL_0040: ldind.i1 + IL_0041: ldc.i4.5 + IL_0042: or + IL_0043: conv.i1 + IL_0044: stind.i1 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_004d: ldc.i4.5 + IL_004e: or + IL_004f: conv.i1 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0060: ldc.i4.5 + IL_0061: or + IL_0062: conv.i1 + IL_0063: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0073: ldc.i4.5 + IL_0074: or + IL_0075: conv.i1 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0085: dup + IL_0086: ldind.i1 + IL_0087: ldc.i4.5 + IL_0088: or + IL_0089: conv.i1 + IL_008a: stind.i1 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0096: ldc.i4.5 + IL_0097: or + IL_0098: conv.i1 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00a9: ldc.i4.5 + IL_00aa: or + IL_00ab: conv.i1 + IL_00ac: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00bc: ldc.i4.5 + IL_00bd: or + IL_00be: conv.i1 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00cf: ldc.i4.5 + IL_00d0: or + IL_00d1: conv.i1 + IL_00d2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e2: ldc.i4.5 + IL_00e3: or + IL_00e4: conv.i1 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00f4: dup + IL_00f5: ldind.i1 + IL_00f6: ldc.i4.5 + IL_00f7: or + IL_00f8: conv.i1 + IL_00f9: stind.i1 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0105: ldc.i4.5 + IL_0106: or + IL_0107: conv.i1 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_010d: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_0112: dup + IL_0113: ldind.i1 + IL_0114: ldc.i4.5 + IL_0115: or + IL_0116: conv.i1 + IL_0117: stind.i1 + IL_0118: ret + } // end of method CompoundAssignmentTest::SbyteBitOrTest + + .method public hidebysig static void SbyteBitXorTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: ldc.i4.5 + IL_0006: xor + IL_0007: conv.i1 + IL_0008: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000d: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0012: ldc.i4.5 + IL_0013: xor + IL_0014: conv.i1 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0021: ldc.i4.5 + IL_0022: xor + IL_0023: conv.i1 + IL_0024: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0030: ldc.i4.5 + IL_0031: xor + IL_0032: conv.i1 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0038: ldarga.s s + IL_003a: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_003f: dup + IL_0040: ldind.i1 + IL_0041: ldc.i4.5 + IL_0042: xor + IL_0043: conv.i1 + IL_0044: stind.i1 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_004d: ldc.i4.5 + IL_004e: xor + IL_004f: conv.i1 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0060: ldc.i4.5 + IL_0061: xor + IL_0062: conv.i1 + IL_0063: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0073: ldc.i4.5 + IL_0074: xor + IL_0075: conv.i1 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0085: dup + IL_0086: ldind.i1 + IL_0087: ldc.i4.5 + IL_0088: xor + IL_0089: conv.i1 + IL_008a: stind.i1 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0096: ldc.i4.5 + IL_0097: xor + IL_0098: conv.i1 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00a9: ldc.i4.5 + IL_00aa: xor + IL_00ab: conv.i1 + IL_00ac: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00bc: ldc.i4.5 + IL_00bd: xor + IL_00be: conv.i1 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00cf: ldc.i4.5 + IL_00d0: xor + IL_00d1: conv.i1 + IL_00d2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e2: ldc.i4.5 + IL_00e3: xor + IL_00e4: conv.i1 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00f4: dup + IL_00f5: ldind.i1 + IL_00f6: ldc.i4.5 + IL_00f7: xor + IL_00f8: conv.i1 + IL_00f9: stind.i1 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0105: ldc.i4.5 + IL_0106: xor + IL_0107: conv.i1 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_010d: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_0112: dup + IL_0113: ldind.i1 + IL_0114: ldc.i4.5 + IL_0115: xor + IL_0116: conv.i1 + IL_0117: stind.i1 + IL_0118: ret + } // end of method CompoundAssignmentTest::SbyteBitXorTest + + .method public hidebysig static void SbytePostIncTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 413 (0x19d) + .maxstack 3 + .locals init (int8 V_0) + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.i1 + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0018: dup + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: conv.i1 + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002d: stloc.0 + IL_002e: ldloc.0 + IL_002f: ldc.i4.1 + IL_0030: add + IL_0031: conv.i1 + IL_0032: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0044: stloc.0 + IL_0045: ldloc.0 + IL_0046: ldc.i4.1 + IL_0047: add + IL_0048: conv.i1 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_004e: ldloc.0 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_005b: dup + IL_005c: ldind.i1 + IL_005d: stloc.0 + IL_005e: ldloc.0 + IL_005f: ldc.i4.1 + IL_0060: add + IL_0061: conv.i1 + IL_0062: stind.i1 + IL_0063: ldloc.0 + IL_0064: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0069: ldarga.s s + IL_006b: dup + IL_006c: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0071: stloc.0 + IL_0072: ldloc.0 + IL_0073: ldc.i4.1 + IL_0074: add + IL_0075: conv.i1 + IL_0076: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_007b: ldloc.0 + IL_007c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_008c: stloc.0 + IL_008d: ldloc.0 + IL_008e: ldc.i4.1 + IL_008f: add + IL_0090: conv.i1 + IL_0091: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0096: ldloc.0 + IL_0097: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00a7: stloc.0 + IL_00a8: ldloc.0 + IL_00a9: ldc.i4.1 + IL_00aa: add + IL_00ab: conv.i1 + IL_00ac: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bc: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00c1: dup + IL_00c2: ldind.i1 + IL_00c3: stloc.0 + IL_00c4: ldloc.0 + IL_00c5: ldc.i4.1 + IL_00c6: add + IL_00c7: conv.i1 + IL_00c8: stind.i1 + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: dup + IL_00d5: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00da: stloc.0 + IL_00db: ldloc.0 + IL_00dc: ldc.i4.1 + IL_00dd: add + IL_00de: conv.i1 + IL_00df: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00e4: ldloc.0 + IL_00e5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ef: dup + IL_00f0: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00f5: stloc.0 + IL_00f6: ldloc.0 + IL_00f7: ldc.i4.1 + IL_00f8: add + IL_00f9: conv.i1 + IL_00fa: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00ff: ldloc.0 + IL_0100: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010a: dup + IL_010b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0110: stloc.0 + IL_0111: ldloc.0 + IL_0112: ldc.i4.1 + IL_0113: add + IL_0114: conv.i1 + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_011a: ldloc.0 + IL_011b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0120: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0125: dup + IL_0126: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_012b: stloc.0 + IL_012c: ldloc.0 + IL_012d: ldc.i4.1 + IL_012e: add + IL_012f: conv.i1 + IL_0130: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0140: dup + IL_0141: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0146: stloc.0 + IL_0147: ldloc.0 + IL_0148: ldc.i4.1 + IL_0149: add + IL_014a: conv.i1 + IL_014b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0150: ldloc.0 + IL_0151: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0156: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_015b: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0160: dup + IL_0161: ldind.i1 + IL_0162: stloc.0 + IL_0163: ldloc.0 + IL_0164: ldc.i4.1 + IL_0165: add + IL_0166: conv.i1 + IL_0167: stind.i1 + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0173: dup + IL_0174: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0179: stloc.0 + IL_017a: ldloc.0 + IL_017b: ldc.i4.1 + IL_017c: add + IL_017d: conv.i1 + IL_017e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0183: ldloc.0 + IL_0184: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0189: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_018e: dup + IL_018f: ldind.i1 + IL_0190: stloc.0 + IL_0191: ldloc.0 + IL_0192: ldc.i4.1 + IL_0193: add + IL_0194: conv.i1 + IL_0195: stind.i1 + IL_0196: ldloc.0 + IL_0197: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_019c: ret + } // end of method CompoundAssignmentTest::SbytePostIncTest + + .method public hidebysig static void SbytePreIncTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 413 (0x19d) + .maxstack 3 + .locals init (int8 V_0) + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: conv.i1 + IL_0008: dup + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0018: ldc.i4.1 + IL_0019: add + IL_001a: conv.i1 + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002d: ldc.i4.1 + IL_002e: add + IL_002f: conv.i1 + IL_0030: stloc.0 + IL_0031: ldloc.0 + IL_0032: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0044: ldc.i4.1 + IL_0045: add + IL_0046: conv.i1 + IL_0047: stloc.0 + IL_0048: ldloc.0 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_004e: ldloc.0 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_005b: dup + IL_005c: ldind.i1 + IL_005d: ldc.i4.1 + IL_005e: add + IL_005f: conv.i1 + IL_0060: stloc.0 + IL_0061: ldloc.0 + IL_0062: stind.i1 + IL_0063: ldloc.0 + IL_0064: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0069: ldarga.s s + IL_006b: dup + IL_006c: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0071: ldc.i4.1 + IL_0072: add + IL_0073: conv.i1 + IL_0074: stloc.0 + IL_0075: ldloc.0 + IL_0076: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_007b: ldloc.0 + IL_007c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_008c: ldc.i4.1 + IL_008d: add + IL_008e: conv.i1 + IL_008f: stloc.0 + IL_0090: ldloc.0 + IL_0091: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0096: ldloc.0 + IL_0097: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00a7: ldc.i4.1 + IL_00a8: add + IL_00a9: conv.i1 + IL_00aa: stloc.0 + IL_00ab: ldloc.0 + IL_00ac: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bc: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00c1: dup + IL_00c2: ldind.i1 + IL_00c3: ldc.i4.1 + IL_00c4: add + IL_00c5: conv.i1 + IL_00c6: stloc.0 + IL_00c7: ldloc.0 + IL_00c8: stind.i1 + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: dup + IL_00d5: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00da: ldc.i4.1 + IL_00db: add + IL_00dc: conv.i1 + IL_00dd: stloc.0 + IL_00de: ldloc.0 + IL_00df: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00e4: ldloc.0 + IL_00e5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ef: dup + IL_00f0: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00f5: ldc.i4.1 + IL_00f6: add + IL_00f7: conv.i1 + IL_00f8: stloc.0 + IL_00f9: ldloc.0 + IL_00fa: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00ff: ldloc.0 + IL_0100: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010a: dup + IL_010b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0110: ldc.i4.1 + IL_0111: add + IL_0112: conv.i1 + IL_0113: stloc.0 + IL_0114: ldloc.0 + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_011a: ldloc.0 + IL_011b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0120: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0125: dup + IL_0126: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_012b: ldc.i4.1 + IL_012c: add + IL_012d: conv.i1 + IL_012e: stloc.0 + IL_012f: ldloc.0 + IL_0130: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0140: dup + IL_0141: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0146: ldc.i4.1 + IL_0147: add + IL_0148: conv.i1 + IL_0149: stloc.0 + IL_014a: ldloc.0 + IL_014b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0150: ldloc.0 + IL_0151: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0156: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_015b: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0160: dup + IL_0161: ldind.i1 + IL_0162: ldc.i4.1 + IL_0163: add + IL_0164: conv.i1 + IL_0165: stloc.0 + IL_0166: ldloc.0 + IL_0167: stind.i1 + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0173: dup + IL_0174: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0179: ldc.i4.1 + IL_017a: add + IL_017b: conv.i1 + IL_017c: stloc.0 + IL_017d: ldloc.0 + IL_017e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0183: ldloc.0 + IL_0184: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0189: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_018e: dup + IL_018f: ldind.i1 + IL_0190: ldc.i4.1 + IL_0191: add + IL_0192: conv.i1 + IL_0193: stloc.0 + IL_0194: ldloc.0 + IL_0195: stind.i1 + IL_0196: ldloc.0 + IL_0197: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_019c: ret + } // end of method CompoundAssignmentTest::SbytePreIncTest + + .method public hidebysig static void SbytePostDecTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 413 (0x19d) + .maxstack 3 + .locals init (int8 V_0) + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: sub + IL_0008: conv.i1 + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0018: dup + IL_0019: ldc.i4.1 + IL_001a: sub + IL_001b: conv.i1 + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002d: stloc.0 + IL_002e: ldloc.0 + IL_002f: ldc.i4.1 + IL_0030: sub + IL_0031: conv.i1 + IL_0032: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0044: stloc.0 + IL_0045: ldloc.0 + IL_0046: ldc.i4.1 + IL_0047: sub + IL_0048: conv.i1 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_004e: ldloc.0 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_005b: dup + IL_005c: ldind.i1 + IL_005d: stloc.0 + IL_005e: ldloc.0 + IL_005f: ldc.i4.1 + IL_0060: sub + IL_0061: conv.i1 + IL_0062: stind.i1 + IL_0063: ldloc.0 + IL_0064: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0069: ldarga.s s + IL_006b: dup + IL_006c: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0071: stloc.0 + IL_0072: ldloc.0 + IL_0073: ldc.i4.1 + IL_0074: sub + IL_0075: conv.i1 + IL_0076: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_007b: ldloc.0 + IL_007c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_008c: stloc.0 + IL_008d: ldloc.0 + IL_008e: ldc.i4.1 + IL_008f: sub + IL_0090: conv.i1 + IL_0091: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0096: ldloc.0 + IL_0097: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00a7: stloc.0 + IL_00a8: ldloc.0 + IL_00a9: ldc.i4.1 + IL_00aa: sub + IL_00ab: conv.i1 + IL_00ac: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bc: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00c1: dup + IL_00c2: ldind.i1 + IL_00c3: stloc.0 + IL_00c4: ldloc.0 + IL_00c5: ldc.i4.1 + IL_00c6: sub + IL_00c7: conv.i1 + IL_00c8: stind.i1 + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: dup + IL_00d5: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00da: stloc.0 + IL_00db: ldloc.0 + IL_00dc: ldc.i4.1 + IL_00dd: sub + IL_00de: conv.i1 + IL_00df: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00e4: ldloc.0 + IL_00e5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ef: dup + IL_00f0: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00f5: stloc.0 + IL_00f6: ldloc.0 + IL_00f7: ldc.i4.1 + IL_00f8: sub + IL_00f9: conv.i1 + IL_00fa: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00ff: ldloc.0 + IL_0100: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010a: dup + IL_010b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0110: stloc.0 + IL_0111: ldloc.0 + IL_0112: ldc.i4.1 + IL_0113: sub + IL_0114: conv.i1 + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_011a: ldloc.0 + IL_011b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0120: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0125: dup + IL_0126: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_012b: stloc.0 + IL_012c: ldloc.0 + IL_012d: ldc.i4.1 + IL_012e: sub + IL_012f: conv.i1 + IL_0130: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0140: dup + IL_0141: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0146: stloc.0 + IL_0147: ldloc.0 + IL_0148: ldc.i4.1 + IL_0149: sub + IL_014a: conv.i1 + IL_014b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0150: ldloc.0 + IL_0151: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0156: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_015b: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0160: dup + IL_0161: ldind.i1 + IL_0162: stloc.0 + IL_0163: ldloc.0 + IL_0164: ldc.i4.1 + IL_0165: sub + IL_0166: conv.i1 + IL_0167: stind.i1 + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0173: dup + IL_0174: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0179: stloc.0 + IL_017a: ldloc.0 + IL_017b: ldc.i4.1 + IL_017c: sub + IL_017d: conv.i1 + IL_017e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0183: ldloc.0 + IL_0184: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0189: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_018e: dup + IL_018f: ldind.i1 + IL_0190: stloc.0 + IL_0191: ldloc.0 + IL_0192: ldc.i4.1 + IL_0193: sub + IL_0194: conv.i1 + IL_0195: stind.i1 + IL_0196: ldloc.0 + IL_0197: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_019c: ret + } // end of method CompoundAssignmentTest::SbytePostDecTest + + .method public hidebysig static void SbytePreDecTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 413 (0x19d) + .maxstack 3 + .locals init (int8 V_0) + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0005: ldc.i4.1 + IL_0006: sub + IL_0007: conv.i1 + IL_0008: dup + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0018: ldc.i4.1 + IL_0019: sub + IL_001a: conv.i1 + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002d: ldc.i4.1 + IL_002e: sub + IL_002f: conv.i1 + IL_0030: stloc.0 + IL_0031: ldloc.0 + IL_0032: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0044: ldc.i4.1 + IL_0045: sub + IL_0046: conv.i1 + IL_0047: stloc.0 + IL_0048: ldloc.0 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_004e: ldloc.0 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_005b: dup + IL_005c: ldind.i1 + IL_005d: ldc.i4.1 + IL_005e: sub + IL_005f: conv.i1 + IL_0060: stloc.0 + IL_0061: ldloc.0 + IL_0062: stind.i1 + IL_0063: ldloc.0 + IL_0064: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0069: ldarga.s s + IL_006b: dup + IL_006c: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0071: ldc.i4.1 + IL_0072: sub + IL_0073: conv.i1 + IL_0074: stloc.0 + IL_0075: ldloc.0 + IL_0076: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_007b: ldloc.0 + IL_007c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_008c: ldc.i4.1 + IL_008d: sub + IL_008e: conv.i1 + IL_008f: stloc.0 + IL_0090: ldloc.0 + IL_0091: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0096: ldloc.0 + IL_0097: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00a7: ldc.i4.1 + IL_00a8: sub + IL_00a9: conv.i1 + IL_00aa: stloc.0 + IL_00ab: ldloc.0 + IL_00ac: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bc: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00c1: dup + IL_00c2: ldind.i1 + IL_00c3: ldc.i4.1 + IL_00c4: sub + IL_00c5: conv.i1 + IL_00c6: stloc.0 + IL_00c7: ldloc.0 + IL_00c8: stind.i1 + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: dup + IL_00d5: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00da: ldc.i4.1 + IL_00db: sub + IL_00dc: conv.i1 + IL_00dd: stloc.0 + IL_00de: ldloc.0 + IL_00df: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00e4: ldloc.0 + IL_00e5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ef: dup + IL_00f0: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00f5: ldc.i4.1 + IL_00f6: sub + IL_00f7: conv.i1 + IL_00f8: stloc.0 + IL_00f9: ldloc.0 + IL_00fa: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00ff: ldloc.0 + IL_0100: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010a: dup + IL_010b: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0110: ldc.i4.1 + IL_0111: sub + IL_0112: conv.i1 + IL_0113: stloc.0 + IL_0114: ldloc.0 + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_011a: ldloc.0 + IL_011b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0120: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0125: dup + IL_0126: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_012b: ldc.i4.1 + IL_012c: sub + IL_012d: conv.i1 + IL_012e: stloc.0 + IL_012f: ldloc.0 + IL_0130: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0140: dup + IL_0141: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0146: ldc.i4.1 + IL_0147: sub + IL_0148: conv.i1 + IL_0149: stloc.0 + IL_014a: ldloc.0 + IL_014b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0150: ldloc.0 + IL_0151: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0156: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_015b: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0160: dup + IL_0161: ldind.i1 + IL_0162: ldc.i4.1 + IL_0163: sub + IL_0164: conv.i1 + IL_0165: stloc.0 + IL_0166: ldloc.0 + IL_0167: stind.i1 + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0173: dup + IL_0174: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0179: ldc.i4.1 + IL_017a: sub + IL_017b: conv.i1 + IL_017c: stloc.0 + IL_017d: ldloc.0 + IL_017e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0183: ldloc.0 + IL_0184: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0189: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_018e: dup + IL_018f: ldind.i1 + IL_0190: ldc.i4.1 + IL_0191: sub + IL_0192: conv.i1 + IL_0193: stloc.0 + IL_0194: ldloc.0 + IL_0195: stind.i1 + IL_0196: ldloc.0 + IL_0197: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_019c: ret + } // end of method CompoundAssignmentTest::SbytePreDecTest + + .method public hidebysig static void ShortAddTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: ldc.i4.5 + IL_0006: add + IL_0007: conv.i2 + IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000d: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0012: ldc.i4.5 + IL_0013: add + IL_0014: conv.i2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0021: ldc.i4.5 + IL_0022: add + IL_0023: conv.i2 + IL_0024: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0030: ldc.i4.5 + IL_0031: add + IL_0032: conv.i2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0038: ldarga.s s + IL_003a: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_003f: dup + IL_0040: ldind.i2 + IL_0041: ldc.i4.5 + IL_0042: add + IL_0043: conv.i2 + IL_0044: stind.i2 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_004d: ldc.i4.5 + IL_004e: add + IL_004f: conv.i2 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0060: ldc.i4.5 + IL_0061: add + IL_0062: conv.i2 + IL_0063: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0073: ldc.i4.5 + IL_0074: add + IL_0075: conv.i2 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0085: dup + IL_0086: ldind.i2 + IL_0087: ldc.i4.5 + IL_0088: add + IL_0089: conv.i2 + IL_008a: stind.i2 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0096: ldc.i4.5 + IL_0097: add + IL_0098: conv.i2 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00a9: ldc.i4.5 + IL_00aa: add + IL_00ab: conv.i2 + IL_00ac: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00bc: ldc.i4.5 + IL_00bd: add + IL_00be: conv.i2 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00cf: ldc.i4.5 + IL_00d0: add + IL_00d1: conv.i2 + IL_00d2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e2: ldc.i4.5 + IL_00e3: add + IL_00e4: conv.i2 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00f4: dup + IL_00f5: ldind.i2 + IL_00f6: ldc.i4.5 + IL_00f7: add + IL_00f8: conv.i2 + IL_00f9: stind.i2 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0105: ldc.i4.5 + IL_0106: add + IL_0107: conv.i2 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_010d: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_0112: dup + IL_0113: ldind.i2 + IL_0114: ldc.i4.5 + IL_0115: add + IL_0116: conv.i2 + IL_0117: stind.i2 + IL_0118: ret + } // end of method CompoundAssignmentTest::ShortAddTest + + .method public hidebysig static void ShortSubtractTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: ldc.i4.5 + IL_0006: sub + IL_0007: conv.i2 + IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000d: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0012: ldc.i4.5 + IL_0013: sub + IL_0014: conv.i2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0021: ldc.i4.5 + IL_0022: sub + IL_0023: conv.i2 + IL_0024: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0030: ldc.i4.5 + IL_0031: sub + IL_0032: conv.i2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0038: ldarga.s s + IL_003a: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_003f: dup + IL_0040: ldind.i2 + IL_0041: ldc.i4.5 + IL_0042: sub + IL_0043: conv.i2 + IL_0044: stind.i2 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_004d: ldc.i4.5 + IL_004e: sub + IL_004f: conv.i2 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0060: ldc.i4.5 + IL_0061: sub + IL_0062: conv.i2 + IL_0063: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0073: ldc.i4.5 + IL_0074: sub + IL_0075: conv.i2 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0085: dup + IL_0086: ldind.i2 + IL_0087: ldc.i4.5 + IL_0088: sub + IL_0089: conv.i2 + IL_008a: stind.i2 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0096: ldc.i4.5 + IL_0097: sub + IL_0098: conv.i2 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00a9: ldc.i4.5 + IL_00aa: sub + IL_00ab: conv.i2 + IL_00ac: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00bc: ldc.i4.5 + IL_00bd: sub + IL_00be: conv.i2 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00cf: ldc.i4.5 + IL_00d0: sub + IL_00d1: conv.i2 + IL_00d2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e2: ldc.i4.5 + IL_00e3: sub + IL_00e4: conv.i2 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00f4: dup + IL_00f5: ldind.i2 + IL_00f6: ldc.i4.5 + IL_00f7: sub + IL_00f8: conv.i2 + IL_00f9: stind.i2 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0105: ldc.i4.5 + IL_0106: sub + IL_0107: conv.i2 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_010d: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_0112: dup + IL_0113: ldind.i2 + IL_0114: ldc.i4.5 + IL_0115: sub + IL_0116: conv.i2 + IL_0117: stind.i2 + IL_0118: ret + } // end of method CompoundAssignmentTest::ShortSubtractTest + + .method public hidebysig static void ShortMultiplyTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: ldc.i4.5 + IL_0006: mul + IL_0007: conv.i2 + IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000d: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0012: ldc.i4.5 + IL_0013: mul + IL_0014: conv.i2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0021: ldc.i4.5 + IL_0022: mul + IL_0023: conv.i2 + IL_0024: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0030: ldc.i4.5 + IL_0031: mul + IL_0032: conv.i2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0038: ldarga.s s + IL_003a: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_003f: dup + IL_0040: ldind.i2 + IL_0041: ldc.i4.5 + IL_0042: mul + IL_0043: conv.i2 + IL_0044: stind.i2 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_004d: ldc.i4.5 + IL_004e: mul + IL_004f: conv.i2 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0060: ldc.i4.5 + IL_0061: mul + IL_0062: conv.i2 + IL_0063: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0073: ldc.i4.5 + IL_0074: mul + IL_0075: conv.i2 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0085: dup + IL_0086: ldind.i2 + IL_0087: ldc.i4.5 + IL_0088: mul + IL_0089: conv.i2 + IL_008a: stind.i2 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0096: ldc.i4.5 + IL_0097: mul + IL_0098: conv.i2 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00a9: ldc.i4.5 + IL_00aa: mul + IL_00ab: conv.i2 + IL_00ac: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00bc: ldc.i4.5 + IL_00bd: mul + IL_00be: conv.i2 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00cf: ldc.i4.5 + IL_00d0: mul + IL_00d1: conv.i2 + IL_00d2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e2: ldc.i4.5 + IL_00e3: mul + IL_00e4: conv.i2 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00f4: dup + IL_00f5: ldind.i2 + IL_00f6: ldc.i4.5 + IL_00f7: mul + IL_00f8: conv.i2 + IL_00f9: stind.i2 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0105: ldc.i4.5 + IL_0106: mul + IL_0107: conv.i2 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_010d: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_0112: dup + IL_0113: ldind.i2 + IL_0114: ldc.i4.5 + IL_0115: mul + IL_0116: conv.i2 + IL_0117: stind.i2 + IL_0118: ret + } // end of method CompoundAssignmentTest::ShortMultiplyTest + + .method public hidebysig static void ShortDivideTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: ldc.i4.5 + IL_0006: div + IL_0007: conv.i2 + IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000d: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0012: ldc.i4.5 + IL_0013: div + IL_0014: conv.i2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0021: ldc.i4.5 + IL_0022: div + IL_0023: conv.i2 + IL_0024: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0030: ldc.i4.5 + IL_0031: div + IL_0032: conv.i2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0038: ldarga.s s + IL_003a: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_003f: dup + IL_0040: ldind.i2 + IL_0041: ldc.i4.5 + IL_0042: div + IL_0043: conv.i2 + IL_0044: stind.i2 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_004d: ldc.i4.5 + IL_004e: div + IL_004f: conv.i2 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0060: ldc.i4.5 + IL_0061: div + IL_0062: conv.i2 + IL_0063: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0073: ldc.i4.5 + IL_0074: div + IL_0075: conv.i2 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0085: dup + IL_0086: ldind.i2 + IL_0087: ldc.i4.5 + IL_0088: div + IL_0089: conv.i2 + IL_008a: stind.i2 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0096: ldc.i4.5 + IL_0097: div + IL_0098: conv.i2 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00a9: ldc.i4.5 + IL_00aa: div + IL_00ab: conv.i2 + IL_00ac: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00bc: ldc.i4.5 + IL_00bd: div + IL_00be: conv.i2 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00cf: ldc.i4.5 + IL_00d0: div + IL_00d1: conv.i2 + IL_00d2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e2: ldc.i4.5 + IL_00e3: div + IL_00e4: conv.i2 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00f4: dup + IL_00f5: ldind.i2 + IL_00f6: ldc.i4.5 + IL_00f7: div + IL_00f8: conv.i2 + IL_00f9: stind.i2 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0105: ldc.i4.5 + IL_0106: div + IL_0107: conv.i2 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_010d: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_0112: dup + IL_0113: ldind.i2 + IL_0114: ldc.i4.5 + IL_0115: div + IL_0116: conv.i2 + IL_0117: stind.i2 + IL_0118: ret + } // end of method CompoundAssignmentTest::ShortDivideTest + + .method public hidebysig static void ShortModulusTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: ldc.i4.5 + IL_0006: rem + IL_0007: conv.i2 + IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000d: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0012: ldc.i4.5 + IL_0013: rem + IL_0014: conv.i2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0021: ldc.i4.5 + IL_0022: rem + IL_0023: conv.i2 + IL_0024: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0030: ldc.i4.5 + IL_0031: rem + IL_0032: conv.i2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0038: ldarga.s s + IL_003a: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_003f: dup + IL_0040: ldind.i2 + IL_0041: ldc.i4.5 + IL_0042: rem + IL_0043: conv.i2 + IL_0044: stind.i2 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_004d: ldc.i4.5 + IL_004e: rem + IL_004f: conv.i2 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0060: ldc.i4.5 + IL_0061: rem + IL_0062: conv.i2 + IL_0063: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0073: ldc.i4.5 + IL_0074: rem + IL_0075: conv.i2 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0085: dup + IL_0086: ldind.i2 + IL_0087: ldc.i4.5 + IL_0088: rem + IL_0089: conv.i2 + IL_008a: stind.i2 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0096: ldc.i4.5 + IL_0097: rem + IL_0098: conv.i2 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00a9: ldc.i4.5 + IL_00aa: rem + IL_00ab: conv.i2 + IL_00ac: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00bc: ldc.i4.5 + IL_00bd: rem + IL_00be: conv.i2 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00cf: ldc.i4.5 + IL_00d0: rem + IL_00d1: conv.i2 + IL_00d2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e2: ldc.i4.5 + IL_00e3: rem + IL_00e4: conv.i2 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00f4: dup + IL_00f5: ldind.i2 + IL_00f6: ldc.i4.5 + IL_00f7: rem + IL_00f8: conv.i2 + IL_00f9: stind.i2 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0105: ldc.i4.5 + IL_0106: rem + IL_0107: conv.i2 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_010d: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_0112: dup + IL_0113: ldind.i2 + IL_0114: ldc.i4.5 + IL_0115: rem + IL_0116: conv.i2 + IL_0117: stind.i2 + IL_0118: ret + } // end of method CompoundAssignmentTest::ShortModulusTest + + .method public hidebysig static void ShortLeftShiftTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: ldc.i4.5 + IL_0006: shl + IL_0007: conv.i2 + IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000d: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0012: ldc.i4.5 + IL_0013: shl + IL_0014: conv.i2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0021: ldc.i4.5 + IL_0022: shl + IL_0023: conv.i2 + IL_0024: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0030: ldc.i4.5 + IL_0031: shl + IL_0032: conv.i2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0038: ldarga.s s + IL_003a: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_003f: dup + IL_0040: ldind.i2 + IL_0041: ldc.i4.5 + IL_0042: shl + IL_0043: conv.i2 + IL_0044: stind.i2 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_004d: ldc.i4.5 + IL_004e: shl + IL_004f: conv.i2 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0060: ldc.i4.5 + IL_0061: shl + IL_0062: conv.i2 + IL_0063: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0073: ldc.i4.5 + IL_0074: shl + IL_0075: conv.i2 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0085: dup + IL_0086: ldind.i2 + IL_0087: ldc.i4.5 + IL_0088: shl + IL_0089: conv.i2 + IL_008a: stind.i2 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0096: ldc.i4.5 + IL_0097: shl + IL_0098: conv.i2 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00a9: ldc.i4.5 + IL_00aa: shl + IL_00ab: conv.i2 + IL_00ac: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00bc: ldc.i4.5 + IL_00bd: shl + IL_00be: conv.i2 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00cf: ldc.i4.5 + IL_00d0: shl + IL_00d1: conv.i2 + IL_00d2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e2: ldc.i4.5 + IL_00e3: shl + IL_00e4: conv.i2 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00f4: dup + IL_00f5: ldind.i2 + IL_00f6: ldc.i4.5 + IL_00f7: shl + IL_00f8: conv.i2 + IL_00f9: stind.i2 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0105: ldc.i4.5 + IL_0106: shl + IL_0107: conv.i2 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_010d: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_0112: dup + IL_0113: ldind.i2 + IL_0114: ldc.i4.5 + IL_0115: shl + IL_0116: conv.i2 + IL_0117: stind.i2 + IL_0118: ret + } // end of method CompoundAssignmentTest::ShortLeftShiftTest + + .method public hidebysig static void ShortRightShiftTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: ldc.i4.5 + IL_0006: shr + IL_0007: conv.i2 + IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000d: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0012: ldc.i4.5 + IL_0013: shr + IL_0014: conv.i2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0021: ldc.i4.5 + IL_0022: shr + IL_0023: conv.i2 + IL_0024: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0030: ldc.i4.5 + IL_0031: shr + IL_0032: conv.i2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0038: ldarga.s s + IL_003a: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_003f: dup + IL_0040: ldind.i2 + IL_0041: ldc.i4.5 + IL_0042: shr + IL_0043: conv.i2 + IL_0044: stind.i2 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_004d: ldc.i4.5 + IL_004e: shr + IL_004f: conv.i2 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0060: ldc.i4.5 + IL_0061: shr + IL_0062: conv.i2 + IL_0063: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0073: ldc.i4.5 + IL_0074: shr + IL_0075: conv.i2 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0085: dup + IL_0086: ldind.i2 + IL_0087: ldc.i4.5 + IL_0088: shr + IL_0089: conv.i2 + IL_008a: stind.i2 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0096: ldc.i4.5 + IL_0097: shr + IL_0098: conv.i2 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00a9: ldc.i4.5 + IL_00aa: shr + IL_00ab: conv.i2 + IL_00ac: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00bc: ldc.i4.5 + IL_00bd: shr + IL_00be: conv.i2 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00cf: ldc.i4.5 + IL_00d0: shr + IL_00d1: conv.i2 + IL_00d2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e2: ldc.i4.5 + IL_00e3: shr + IL_00e4: conv.i2 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00f4: dup + IL_00f5: ldind.i2 + IL_00f6: ldc.i4.5 + IL_00f7: shr + IL_00f8: conv.i2 + IL_00f9: stind.i2 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0105: ldc.i4.5 + IL_0106: shr + IL_0107: conv.i2 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_010d: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_0112: dup + IL_0113: ldind.i2 + IL_0114: ldc.i4.5 + IL_0115: shr + IL_0116: conv.i2 + IL_0117: stind.i2 + IL_0118: ret + } // end of method CompoundAssignmentTest::ShortRightShiftTest + + .method public hidebysig static void ShortBitAndTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: ldc.i4.5 + IL_0006: and + IL_0007: conv.i2 + IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000d: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0012: ldc.i4.5 + IL_0013: and + IL_0014: conv.i2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0021: ldc.i4.5 + IL_0022: and + IL_0023: conv.i2 + IL_0024: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0030: ldc.i4.5 + IL_0031: and + IL_0032: conv.i2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0038: ldarga.s s + IL_003a: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_003f: dup + IL_0040: ldind.i2 + IL_0041: ldc.i4.5 + IL_0042: and + IL_0043: conv.i2 + IL_0044: stind.i2 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_004d: ldc.i4.5 + IL_004e: and + IL_004f: conv.i2 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0060: ldc.i4.5 + IL_0061: and + IL_0062: conv.i2 + IL_0063: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0073: ldc.i4.5 + IL_0074: and + IL_0075: conv.i2 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0085: dup + IL_0086: ldind.i2 + IL_0087: ldc.i4.5 + IL_0088: and + IL_0089: conv.i2 + IL_008a: stind.i2 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0096: ldc.i4.5 + IL_0097: and + IL_0098: conv.i2 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00a9: ldc.i4.5 + IL_00aa: and + IL_00ab: conv.i2 + IL_00ac: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00bc: ldc.i4.5 + IL_00bd: and + IL_00be: conv.i2 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00cf: ldc.i4.5 + IL_00d0: and + IL_00d1: conv.i2 + IL_00d2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e2: ldc.i4.5 + IL_00e3: and + IL_00e4: conv.i2 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00f4: dup + IL_00f5: ldind.i2 + IL_00f6: ldc.i4.5 + IL_00f7: and + IL_00f8: conv.i2 + IL_00f9: stind.i2 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0105: ldc.i4.5 + IL_0106: and + IL_0107: conv.i2 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_010d: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_0112: dup + IL_0113: ldind.i2 + IL_0114: ldc.i4.5 + IL_0115: and + IL_0116: conv.i2 + IL_0117: stind.i2 + IL_0118: ret + } // end of method CompoundAssignmentTest::ShortBitAndTest + + .method public hidebysig static void ShortBitOrTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: ldc.i4.5 + IL_0006: or + IL_0007: conv.i2 + IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000d: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0012: ldc.i4.5 + IL_0013: or + IL_0014: conv.i2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0021: ldc.i4.5 + IL_0022: or + IL_0023: conv.i2 + IL_0024: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0030: ldc.i4.5 + IL_0031: or + IL_0032: conv.i2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0038: ldarga.s s + IL_003a: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_003f: dup + IL_0040: ldind.i2 + IL_0041: ldc.i4.5 + IL_0042: or + IL_0043: conv.i2 + IL_0044: stind.i2 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_004d: ldc.i4.5 + IL_004e: or + IL_004f: conv.i2 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0060: ldc.i4.5 + IL_0061: or + IL_0062: conv.i2 + IL_0063: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0073: ldc.i4.5 + IL_0074: or + IL_0075: conv.i2 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0085: dup + IL_0086: ldind.i2 + IL_0087: ldc.i4.5 + IL_0088: or + IL_0089: conv.i2 + IL_008a: stind.i2 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0096: ldc.i4.5 + IL_0097: or + IL_0098: conv.i2 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00a9: ldc.i4.5 + IL_00aa: or + IL_00ab: conv.i2 + IL_00ac: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00bc: ldc.i4.5 + IL_00bd: or + IL_00be: conv.i2 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00cf: ldc.i4.5 + IL_00d0: or + IL_00d1: conv.i2 + IL_00d2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e2: ldc.i4.5 + IL_00e3: or + IL_00e4: conv.i2 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00f4: dup + IL_00f5: ldind.i2 + IL_00f6: ldc.i4.5 + IL_00f7: or + IL_00f8: conv.i2 + IL_00f9: stind.i2 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0105: ldc.i4.5 + IL_0106: or + IL_0107: conv.i2 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_010d: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_0112: dup + IL_0113: ldind.i2 + IL_0114: ldc.i4.5 + IL_0115: or + IL_0116: conv.i2 + IL_0117: stind.i2 + IL_0118: ret + } // end of method CompoundAssignmentTest::ShortBitOrTest + + .method public hidebysig static void ShortBitXorTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: ldc.i4.5 + IL_0006: xor + IL_0007: conv.i2 + IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000d: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0012: ldc.i4.5 + IL_0013: xor + IL_0014: conv.i2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0021: ldc.i4.5 + IL_0022: xor + IL_0023: conv.i2 + IL_0024: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0030: ldc.i4.5 + IL_0031: xor + IL_0032: conv.i2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0038: ldarga.s s + IL_003a: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_003f: dup + IL_0040: ldind.i2 + IL_0041: ldc.i4.5 + IL_0042: xor + IL_0043: conv.i2 + IL_0044: stind.i2 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_004d: ldc.i4.5 + IL_004e: xor + IL_004f: conv.i2 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0060: ldc.i4.5 + IL_0061: xor + IL_0062: conv.i2 + IL_0063: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0073: ldc.i4.5 + IL_0074: xor + IL_0075: conv.i2 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0085: dup + IL_0086: ldind.i2 + IL_0087: ldc.i4.5 + IL_0088: xor + IL_0089: conv.i2 + IL_008a: stind.i2 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0096: ldc.i4.5 + IL_0097: xor + IL_0098: conv.i2 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00a9: ldc.i4.5 + IL_00aa: xor + IL_00ab: conv.i2 + IL_00ac: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00bc: ldc.i4.5 + IL_00bd: xor + IL_00be: conv.i2 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00cf: ldc.i4.5 + IL_00d0: xor + IL_00d1: conv.i2 + IL_00d2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e2: ldc.i4.5 + IL_00e3: xor + IL_00e4: conv.i2 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00f4: dup + IL_00f5: ldind.i2 + IL_00f6: ldc.i4.5 + IL_00f7: xor + IL_00f8: conv.i2 + IL_00f9: stind.i2 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0105: ldc.i4.5 + IL_0106: xor + IL_0107: conv.i2 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_010d: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_0112: dup + IL_0113: ldind.i2 + IL_0114: ldc.i4.5 + IL_0115: xor + IL_0116: conv.i2 + IL_0117: stind.i2 + IL_0118: ret + } // end of method CompoundAssignmentTest::ShortBitXorTest + + .method public hidebysig static void ShortPostIncTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 413 (0x19d) + .maxstack 3 + .locals init (int16 V_0) + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0018: dup + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: conv.i2 + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002d: stloc.0 + IL_002e: ldloc.0 + IL_002f: ldc.i4.1 + IL_0030: add + IL_0031: conv.i2 + IL_0032: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0044: stloc.0 + IL_0045: ldloc.0 + IL_0046: ldc.i4.1 + IL_0047: add + IL_0048: conv.i2 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_004e: ldloc.0 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_005b: dup + IL_005c: ldind.i2 + IL_005d: stloc.0 + IL_005e: ldloc.0 + IL_005f: ldc.i4.1 + IL_0060: add + IL_0061: conv.i2 + IL_0062: stind.i2 + IL_0063: ldloc.0 + IL_0064: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0069: ldarga.s s + IL_006b: dup + IL_006c: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0071: stloc.0 + IL_0072: ldloc.0 + IL_0073: ldc.i4.1 + IL_0074: add + IL_0075: conv.i2 + IL_0076: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_007b: ldloc.0 + IL_007c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_008c: stloc.0 + IL_008d: ldloc.0 + IL_008e: ldc.i4.1 + IL_008f: add + IL_0090: conv.i2 + IL_0091: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0096: ldloc.0 + IL_0097: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00a7: stloc.0 + IL_00a8: ldloc.0 + IL_00a9: ldc.i4.1 + IL_00aa: add + IL_00ab: conv.i2 + IL_00ac: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bc: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00c1: dup + IL_00c2: ldind.i2 + IL_00c3: stloc.0 + IL_00c4: ldloc.0 + IL_00c5: ldc.i4.1 + IL_00c6: add + IL_00c7: conv.i2 + IL_00c8: stind.i2 + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: dup + IL_00d5: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00da: stloc.0 + IL_00db: ldloc.0 + IL_00dc: ldc.i4.1 + IL_00dd: add + IL_00de: conv.i2 + IL_00df: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00e4: ldloc.0 + IL_00e5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ef: dup + IL_00f0: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00f5: stloc.0 + IL_00f6: ldloc.0 + IL_00f7: ldc.i4.1 + IL_00f8: add + IL_00f9: conv.i2 + IL_00fa: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00ff: ldloc.0 + IL_0100: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010a: dup + IL_010b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0110: stloc.0 + IL_0111: ldloc.0 + IL_0112: ldc.i4.1 + IL_0113: add + IL_0114: conv.i2 + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_011a: ldloc.0 + IL_011b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0120: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0125: dup + IL_0126: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_012b: stloc.0 + IL_012c: ldloc.0 + IL_012d: ldc.i4.1 + IL_012e: add + IL_012f: conv.i2 + IL_0130: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0140: dup + IL_0141: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0146: stloc.0 + IL_0147: ldloc.0 + IL_0148: ldc.i4.1 + IL_0149: add + IL_014a: conv.i2 + IL_014b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0150: ldloc.0 + IL_0151: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0156: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_015b: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0160: dup + IL_0161: ldind.i2 + IL_0162: stloc.0 + IL_0163: ldloc.0 + IL_0164: ldc.i4.1 + IL_0165: add + IL_0166: conv.i2 + IL_0167: stind.i2 + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0173: dup + IL_0174: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0179: stloc.0 + IL_017a: ldloc.0 + IL_017b: ldc.i4.1 + IL_017c: add + IL_017d: conv.i2 + IL_017e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0183: ldloc.0 + IL_0184: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0189: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_018e: dup + IL_018f: ldind.i2 + IL_0190: stloc.0 + IL_0191: ldloc.0 + IL_0192: ldc.i4.1 + IL_0193: add + IL_0194: conv.i2 + IL_0195: stind.i2 + IL_0196: ldloc.0 + IL_0197: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_019c: ret + } // end of method CompoundAssignmentTest::ShortPostIncTest + + .method public hidebysig static void ShortPreIncTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 413 (0x19d) + .maxstack 3 + .locals init (int16 V_0) + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: conv.i2 + IL_0008: dup + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0018: ldc.i4.1 + IL_0019: add + IL_001a: conv.i2 + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002d: ldc.i4.1 + IL_002e: add + IL_002f: conv.i2 + IL_0030: stloc.0 + IL_0031: ldloc.0 + IL_0032: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0044: ldc.i4.1 + IL_0045: add + IL_0046: conv.i2 + IL_0047: stloc.0 + IL_0048: ldloc.0 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_004e: ldloc.0 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_005b: dup + IL_005c: ldind.i2 + IL_005d: ldc.i4.1 + IL_005e: add + IL_005f: conv.i2 + IL_0060: stloc.0 + IL_0061: ldloc.0 + IL_0062: stind.i2 + IL_0063: ldloc.0 + IL_0064: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0069: ldarga.s s + IL_006b: dup + IL_006c: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0071: ldc.i4.1 + IL_0072: add + IL_0073: conv.i2 + IL_0074: stloc.0 + IL_0075: ldloc.0 + IL_0076: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_007b: ldloc.0 + IL_007c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_008c: ldc.i4.1 + IL_008d: add + IL_008e: conv.i2 + IL_008f: stloc.0 + IL_0090: ldloc.0 + IL_0091: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0096: ldloc.0 + IL_0097: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00a7: ldc.i4.1 + IL_00a8: add + IL_00a9: conv.i2 + IL_00aa: stloc.0 + IL_00ab: ldloc.0 + IL_00ac: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bc: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00c1: dup + IL_00c2: ldind.i2 + IL_00c3: ldc.i4.1 + IL_00c4: add + IL_00c5: conv.i2 + IL_00c6: stloc.0 + IL_00c7: ldloc.0 + IL_00c8: stind.i2 + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: dup + IL_00d5: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00da: ldc.i4.1 + IL_00db: add + IL_00dc: conv.i2 + IL_00dd: stloc.0 + IL_00de: ldloc.0 + IL_00df: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00e4: ldloc.0 + IL_00e5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ef: dup + IL_00f0: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00f5: ldc.i4.1 + IL_00f6: add + IL_00f7: conv.i2 + IL_00f8: stloc.0 + IL_00f9: ldloc.0 + IL_00fa: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00ff: ldloc.0 + IL_0100: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010a: dup + IL_010b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0110: ldc.i4.1 + IL_0111: add + IL_0112: conv.i2 + IL_0113: stloc.0 + IL_0114: ldloc.0 + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_011a: ldloc.0 + IL_011b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0120: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0125: dup + IL_0126: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_012b: ldc.i4.1 + IL_012c: add + IL_012d: conv.i2 + IL_012e: stloc.0 + IL_012f: ldloc.0 + IL_0130: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0140: dup + IL_0141: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0146: ldc.i4.1 + IL_0147: add + IL_0148: conv.i2 + IL_0149: stloc.0 + IL_014a: ldloc.0 + IL_014b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0150: ldloc.0 + IL_0151: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0156: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_015b: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0160: dup + IL_0161: ldind.i2 + IL_0162: ldc.i4.1 + IL_0163: add + IL_0164: conv.i2 + IL_0165: stloc.0 + IL_0166: ldloc.0 + IL_0167: stind.i2 + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0173: dup + IL_0174: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0179: ldc.i4.1 + IL_017a: add + IL_017b: conv.i2 + IL_017c: stloc.0 + IL_017d: ldloc.0 + IL_017e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0183: ldloc.0 + IL_0184: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0189: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_018e: dup + IL_018f: ldind.i2 + IL_0190: ldc.i4.1 + IL_0191: add + IL_0192: conv.i2 + IL_0193: stloc.0 + IL_0194: ldloc.0 + IL_0195: stind.i2 + IL_0196: ldloc.0 + IL_0197: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_019c: ret + } // end of method CompoundAssignmentTest::ShortPreIncTest + + .method public hidebysig static void ShortPostDecTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 413 (0x19d) + .maxstack 3 + .locals init (int16 V_0) + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: sub + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0018: dup + IL_0019: ldc.i4.1 + IL_001a: sub + IL_001b: conv.i2 + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002d: stloc.0 + IL_002e: ldloc.0 + IL_002f: ldc.i4.1 + IL_0030: sub + IL_0031: conv.i2 + IL_0032: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0044: stloc.0 + IL_0045: ldloc.0 + IL_0046: ldc.i4.1 + IL_0047: sub + IL_0048: conv.i2 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_004e: ldloc.0 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_005b: dup + IL_005c: ldind.i2 + IL_005d: stloc.0 + IL_005e: ldloc.0 + IL_005f: ldc.i4.1 + IL_0060: sub + IL_0061: conv.i2 + IL_0062: stind.i2 + IL_0063: ldloc.0 + IL_0064: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0069: ldarga.s s + IL_006b: dup + IL_006c: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0071: stloc.0 + IL_0072: ldloc.0 + IL_0073: ldc.i4.1 + IL_0074: sub + IL_0075: conv.i2 + IL_0076: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_007b: ldloc.0 + IL_007c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_008c: stloc.0 + IL_008d: ldloc.0 + IL_008e: ldc.i4.1 + IL_008f: sub + IL_0090: conv.i2 + IL_0091: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0096: ldloc.0 + IL_0097: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00a7: stloc.0 + IL_00a8: ldloc.0 + IL_00a9: ldc.i4.1 + IL_00aa: sub + IL_00ab: conv.i2 + IL_00ac: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bc: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00c1: dup + IL_00c2: ldind.i2 + IL_00c3: stloc.0 + IL_00c4: ldloc.0 + IL_00c5: ldc.i4.1 + IL_00c6: sub + IL_00c7: conv.i2 + IL_00c8: stind.i2 + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: dup + IL_00d5: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00da: stloc.0 + IL_00db: ldloc.0 + IL_00dc: ldc.i4.1 + IL_00dd: sub + IL_00de: conv.i2 + IL_00df: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00e4: ldloc.0 + IL_00e5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ef: dup + IL_00f0: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00f5: stloc.0 + IL_00f6: ldloc.0 + IL_00f7: ldc.i4.1 + IL_00f8: sub + IL_00f9: conv.i2 + IL_00fa: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00ff: ldloc.0 + IL_0100: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010a: dup + IL_010b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0110: stloc.0 + IL_0111: ldloc.0 + IL_0112: ldc.i4.1 + IL_0113: sub + IL_0114: conv.i2 + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_011a: ldloc.0 + IL_011b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0120: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0125: dup + IL_0126: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_012b: stloc.0 + IL_012c: ldloc.0 + IL_012d: ldc.i4.1 + IL_012e: sub + IL_012f: conv.i2 + IL_0130: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0140: dup + IL_0141: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0146: stloc.0 + IL_0147: ldloc.0 + IL_0148: ldc.i4.1 + IL_0149: sub + IL_014a: conv.i2 + IL_014b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0150: ldloc.0 + IL_0151: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0156: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_015b: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0160: dup + IL_0161: ldind.i2 + IL_0162: stloc.0 + IL_0163: ldloc.0 + IL_0164: ldc.i4.1 + IL_0165: sub + IL_0166: conv.i2 + IL_0167: stind.i2 + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0173: dup + IL_0174: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0179: stloc.0 + IL_017a: ldloc.0 + IL_017b: ldc.i4.1 + IL_017c: sub + IL_017d: conv.i2 + IL_017e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0183: ldloc.0 + IL_0184: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0189: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_018e: dup + IL_018f: ldind.i2 + IL_0190: stloc.0 + IL_0191: ldloc.0 + IL_0192: ldc.i4.1 + IL_0193: sub + IL_0194: conv.i2 + IL_0195: stind.i2 + IL_0196: ldloc.0 + IL_0197: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_019c: ret + } // end of method CompoundAssignmentTest::ShortPostDecTest + + .method public hidebysig static void ShortPreDecTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 413 (0x19d) + .maxstack 3 + .locals init (int16 V_0) + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0005: ldc.i4.1 + IL_0006: sub + IL_0007: conv.i2 + IL_0008: dup + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0018: ldc.i4.1 + IL_0019: sub + IL_001a: conv.i2 + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002d: ldc.i4.1 + IL_002e: sub + IL_002f: conv.i2 + IL_0030: stloc.0 + IL_0031: ldloc.0 + IL_0032: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0044: ldc.i4.1 + IL_0045: sub + IL_0046: conv.i2 + IL_0047: stloc.0 + IL_0048: ldloc.0 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_004e: ldloc.0 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_005b: dup + IL_005c: ldind.i2 + IL_005d: ldc.i4.1 + IL_005e: sub + IL_005f: conv.i2 + IL_0060: stloc.0 + IL_0061: ldloc.0 + IL_0062: stind.i2 + IL_0063: ldloc.0 + IL_0064: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0069: ldarga.s s + IL_006b: dup + IL_006c: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0071: ldc.i4.1 + IL_0072: sub + IL_0073: conv.i2 + IL_0074: stloc.0 + IL_0075: ldloc.0 + IL_0076: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_007b: ldloc.0 + IL_007c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_008c: ldc.i4.1 + IL_008d: sub + IL_008e: conv.i2 + IL_008f: stloc.0 + IL_0090: ldloc.0 + IL_0091: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0096: ldloc.0 + IL_0097: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00a7: ldc.i4.1 + IL_00a8: sub + IL_00a9: conv.i2 + IL_00aa: stloc.0 + IL_00ab: ldloc.0 + IL_00ac: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bc: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00c1: dup + IL_00c2: ldind.i2 + IL_00c3: ldc.i4.1 + IL_00c4: sub + IL_00c5: conv.i2 + IL_00c6: stloc.0 + IL_00c7: ldloc.0 + IL_00c8: stind.i2 + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: dup + IL_00d5: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00da: ldc.i4.1 + IL_00db: sub + IL_00dc: conv.i2 + IL_00dd: stloc.0 + IL_00de: ldloc.0 + IL_00df: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00e4: ldloc.0 + IL_00e5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ef: dup + IL_00f0: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00f5: ldc.i4.1 + IL_00f6: sub + IL_00f7: conv.i2 + IL_00f8: stloc.0 + IL_00f9: ldloc.0 + IL_00fa: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00ff: ldloc.0 + IL_0100: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010a: dup + IL_010b: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0110: ldc.i4.1 + IL_0111: sub + IL_0112: conv.i2 + IL_0113: stloc.0 + IL_0114: ldloc.0 + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_011a: ldloc.0 + IL_011b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0120: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0125: dup + IL_0126: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_012b: ldc.i4.1 + IL_012c: sub + IL_012d: conv.i2 + IL_012e: stloc.0 + IL_012f: ldloc.0 + IL_0130: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0140: dup + IL_0141: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0146: ldc.i4.1 + IL_0147: sub + IL_0148: conv.i2 + IL_0149: stloc.0 + IL_014a: ldloc.0 + IL_014b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0150: ldloc.0 + IL_0151: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0156: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_015b: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0160: dup + IL_0161: ldind.i2 + IL_0162: ldc.i4.1 + IL_0163: sub + IL_0164: conv.i2 + IL_0165: stloc.0 + IL_0166: ldloc.0 + IL_0167: stind.i2 + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0173: dup + IL_0174: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0179: ldc.i4.1 + IL_017a: sub + IL_017b: conv.i2 + IL_017c: stloc.0 + IL_017d: ldloc.0 + IL_017e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0183: ldloc.0 + IL_0184: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0189: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_018e: dup + IL_018f: ldind.i2 + IL_0190: ldc.i4.1 + IL_0191: sub + IL_0192: conv.i2 + IL_0193: stloc.0 + IL_0194: ldloc.0 + IL_0195: stind.i2 + IL_0196: ldloc.0 + IL_0197: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_019c: ret + } // end of method CompoundAssignmentTest::ShortPreDecTest + + .method public hidebysig static void UshortAddTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: ldc.i4.5 + IL_0006: add + IL_0007: conv.u2 + IL_0008: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000d: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0012: ldc.i4.5 + IL_0013: add + IL_0014: conv.u2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0021: ldc.i4.5 + IL_0022: add + IL_0023: conv.u2 + IL_0024: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0030: ldc.i4.5 + IL_0031: add + IL_0032: conv.u2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0038: ldarga.s s + IL_003a: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_003f: dup + IL_0040: ldind.u2 + IL_0041: ldc.i4.5 + IL_0042: add + IL_0043: conv.u2 + IL_0044: stind.i2 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_004d: ldc.i4.5 + IL_004e: add + IL_004f: conv.u2 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0060: ldc.i4.5 + IL_0061: add + IL_0062: conv.u2 + IL_0063: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0073: ldc.i4.5 + IL_0074: add + IL_0075: conv.u2 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0085: dup + IL_0086: ldind.u2 + IL_0087: ldc.i4.5 + IL_0088: add + IL_0089: conv.u2 + IL_008a: stind.i2 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0096: ldc.i4.5 + IL_0097: add + IL_0098: conv.u2 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00a9: ldc.i4.5 + IL_00aa: add + IL_00ab: conv.u2 + IL_00ac: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00bc: ldc.i4.5 + IL_00bd: add + IL_00be: conv.u2 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00cf: ldc.i4.5 + IL_00d0: add + IL_00d1: conv.u2 + IL_00d2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e2: ldc.i4.5 + IL_00e3: add + IL_00e4: conv.u2 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00f4: dup + IL_00f5: ldind.u2 + IL_00f6: ldc.i4.5 + IL_00f7: add + IL_00f8: conv.u2 + IL_00f9: stind.i2 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0105: ldc.i4.5 + IL_0106: add + IL_0107: conv.u2 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_010d: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_0112: dup + IL_0113: ldind.u2 + IL_0114: ldc.i4.5 + IL_0115: add + IL_0116: conv.u2 + IL_0117: stind.i2 + IL_0118: ret + } // end of method CompoundAssignmentTest::UshortAddTest + + .method public hidebysig static void UshortSubtractTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: ldc.i4.5 + IL_0006: sub + IL_0007: conv.u2 + IL_0008: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000d: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0012: ldc.i4.5 + IL_0013: sub + IL_0014: conv.u2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0021: ldc.i4.5 + IL_0022: sub + IL_0023: conv.u2 + IL_0024: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0030: ldc.i4.5 + IL_0031: sub + IL_0032: conv.u2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0038: ldarga.s s + IL_003a: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_003f: dup + IL_0040: ldind.u2 + IL_0041: ldc.i4.5 + IL_0042: sub + IL_0043: conv.u2 + IL_0044: stind.i2 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_004d: ldc.i4.5 + IL_004e: sub + IL_004f: conv.u2 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0060: ldc.i4.5 + IL_0061: sub + IL_0062: conv.u2 + IL_0063: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0073: ldc.i4.5 + IL_0074: sub + IL_0075: conv.u2 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0085: dup + IL_0086: ldind.u2 + IL_0087: ldc.i4.5 + IL_0088: sub + IL_0089: conv.u2 + IL_008a: stind.i2 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0096: ldc.i4.5 + IL_0097: sub + IL_0098: conv.u2 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00a9: ldc.i4.5 + IL_00aa: sub + IL_00ab: conv.u2 + IL_00ac: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00bc: ldc.i4.5 + IL_00bd: sub + IL_00be: conv.u2 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00cf: ldc.i4.5 + IL_00d0: sub + IL_00d1: conv.u2 + IL_00d2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e2: ldc.i4.5 + IL_00e3: sub + IL_00e4: conv.u2 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00f4: dup + IL_00f5: ldind.u2 + IL_00f6: ldc.i4.5 + IL_00f7: sub + IL_00f8: conv.u2 + IL_00f9: stind.i2 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0105: ldc.i4.5 + IL_0106: sub + IL_0107: conv.u2 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_010d: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_0112: dup + IL_0113: ldind.u2 + IL_0114: ldc.i4.5 + IL_0115: sub + IL_0116: conv.u2 + IL_0117: stind.i2 + IL_0118: ret + } // end of method CompoundAssignmentTest::UshortSubtractTest + + .method public hidebysig static void UshortMultiplyTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: ldc.i4.5 + IL_0006: mul + IL_0007: conv.u2 + IL_0008: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000d: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0012: ldc.i4.5 + IL_0013: mul + IL_0014: conv.u2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0021: ldc.i4.5 + IL_0022: mul + IL_0023: conv.u2 + IL_0024: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0030: ldc.i4.5 + IL_0031: mul + IL_0032: conv.u2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0038: ldarga.s s + IL_003a: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_003f: dup + IL_0040: ldind.u2 + IL_0041: ldc.i4.5 + IL_0042: mul + IL_0043: conv.u2 + IL_0044: stind.i2 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_004d: ldc.i4.5 + IL_004e: mul + IL_004f: conv.u2 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0060: ldc.i4.5 + IL_0061: mul + IL_0062: conv.u2 + IL_0063: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0073: ldc.i4.5 + IL_0074: mul + IL_0075: conv.u2 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0085: dup + IL_0086: ldind.u2 + IL_0087: ldc.i4.5 + IL_0088: mul + IL_0089: conv.u2 + IL_008a: stind.i2 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0096: ldc.i4.5 + IL_0097: mul + IL_0098: conv.u2 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00a9: ldc.i4.5 + IL_00aa: mul + IL_00ab: conv.u2 + IL_00ac: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00bc: ldc.i4.5 + IL_00bd: mul + IL_00be: conv.u2 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00cf: ldc.i4.5 + IL_00d0: mul + IL_00d1: conv.u2 + IL_00d2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e2: ldc.i4.5 + IL_00e3: mul + IL_00e4: conv.u2 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00f4: dup + IL_00f5: ldind.u2 + IL_00f6: ldc.i4.5 + IL_00f7: mul + IL_00f8: conv.u2 + IL_00f9: stind.i2 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0105: ldc.i4.5 + IL_0106: mul + IL_0107: conv.u2 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_010d: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_0112: dup + IL_0113: ldind.u2 + IL_0114: ldc.i4.5 + IL_0115: mul + IL_0116: conv.u2 + IL_0117: stind.i2 + IL_0118: ret + } // end of method CompoundAssignmentTest::UshortMultiplyTest + + .method public hidebysig static void UshortDivideTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: ldc.i4.5 + IL_0006: div + IL_0007: conv.u2 + IL_0008: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000d: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0012: ldc.i4.5 + IL_0013: div + IL_0014: conv.u2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0021: ldc.i4.5 + IL_0022: div + IL_0023: conv.u2 + IL_0024: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0030: ldc.i4.5 + IL_0031: div + IL_0032: conv.u2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0038: ldarga.s s + IL_003a: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_003f: dup + IL_0040: ldind.u2 + IL_0041: ldc.i4.5 + IL_0042: div + IL_0043: conv.u2 + IL_0044: stind.i2 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_004d: ldc.i4.5 + IL_004e: div + IL_004f: conv.u2 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0060: ldc.i4.5 + IL_0061: div + IL_0062: conv.u2 + IL_0063: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0073: ldc.i4.5 + IL_0074: div + IL_0075: conv.u2 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0085: dup + IL_0086: ldind.u2 + IL_0087: ldc.i4.5 + IL_0088: div + IL_0089: conv.u2 + IL_008a: stind.i2 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0096: ldc.i4.5 + IL_0097: div + IL_0098: conv.u2 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00a9: ldc.i4.5 + IL_00aa: div + IL_00ab: conv.u2 + IL_00ac: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00bc: ldc.i4.5 + IL_00bd: div + IL_00be: conv.u2 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00cf: ldc.i4.5 + IL_00d0: div + IL_00d1: conv.u2 + IL_00d2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e2: ldc.i4.5 + IL_00e3: div + IL_00e4: conv.u2 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00f4: dup + IL_00f5: ldind.u2 + IL_00f6: ldc.i4.5 + IL_00f7: div + IL_00f8: conv.u2 + IL_00f9: stind.i2 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0105: ldc.i4.5 + IL_0106: div + IL_0107: conv.u2 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_010d: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_0112: dup + IL_0113: ldind.u2 + IL_0114: ldc.i4.5 + IL_0115: div + IL_0116: conv.u2 + IL_0117: stind.i2 + IL_0118: ret + } // end of method CompoundAssignmentTest::UshortDivideTest + + .method public hidebysig static void UshortModulusTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: ldc.i4.5 + IL_0006: rem + IL_0007: conv.u2 + IL_0008: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000d: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0012: ldc.i4.5 + IL_0013: rem + IL_0014: conv.u2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0021: ldc.i4.5 + IL_0022: rem + IL_0023: conv.u2 + IL_0024: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0030: ldc.i4.5 + IL_0031: rem + IL_0032: conv.u2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0038: ldarga.s s + IL_003a: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_003f: dup + IL_0040: ldind.u2 + IL_0041: ldc.i4.5 + IL_0042: rem + IL_0043: conv.u2 + IL_0044: stind.i2 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_004d: ldc.i4.5 + IL_004e: rem + IL_004f: conv.u2 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0060: ldc.i4.5 + IL_0061: rem + IL_0062: conv.u2 + IL_0063: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0073: ldc.i4.5 + IL_0074: rem + IL_0075: conv.u2 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0085: dup + IL_0086: ldind.u2 + IL_0087: ldc.i4.5 + IL_0088: rem + IL_0089: conv.u2 + IL_008a: stind.i2 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0096: ldc.i4.5 + IL_0097: rem + IL_0098: conv.u2 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00a9: ldc.i4.5 + IL_00aa: rem + IL_00ab: conv.u2 + IL_00ac: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00bc: ldc.i4.5 + IL_00bd: rem + IL_00be: conv.u2 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00cf: ldc.i4.5 + IL_00d0: rem + IL_00d1: conv.u2 + IL_00d2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e2: ldc.i4.5 + IL_00e3: rem + IL_00e4: conv.u2 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00f4: dup + IL_00f5: ldind.u2 + IL_00f6: ldc.i4.5 + IL_00f7: rem + IL_00f8: conv.u2 + IL_00f9: stind.i2 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0105: ldc.i4.5 + IL_0106: rem + IL_0107: conv.u2 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_010d: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_0112: dup + IL_0113: ldind.u2 + IL_0114: ldc.i4.5 + IL_0115: rem + IL_0116: conv.u2 + IL_0117: stind.i2 + IL_0118: ret + } // end of method CompoundAssignmentTest::UshortModulusTest + + .method public hidebysig static void UshortLeftShiftTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: ldc.i4.5 + IL_0006: shl + IL_0007: conv.u2 + IL_0008: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000d: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0012: ldc.i4.5 + IL_0013: shl + IL_0014: conv.u2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0021: ldc.i4.5 + IL_0022: shl + IL_0023: conv.u2 + IL_0024: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0030: ldc.i4.5 + IL_0031: shl + IL_0032: conv.u2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0038: ldarga.s s + IL_003a: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_003f: dup + IL_0040: ldind.u2 + IL_0041: ldc.i4.5 + IL_0042: shl + IL_0043: conv.u2 + IL_0044: stind.i2 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_004d: ldc.i4.5 + IL_004e: shl + IL_004f: conv.u2 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0060: ldc.i4.5 + IL_0061: shl + IL_0062: conv.u2 + IL_0063: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0073: ldc.i4.5 + IL_0074: shl + IL_0075: conv.u2 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0085: dup + IL_0086: ldind.u2 + IL_0087: ldc.i4.5 + IL_0088: shl + IL_0089: conv.u2 + IL_008a: stind.i2 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0096: ldc.i4.5 + IL_0097: shl + IL_0098: conv.u2 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00a9: ldc.i4.5 + IL_00aa: shl + IL_00ab: conv.u2 + IL_00ac: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00bc: ldc.i4.5 + IL_00bd: shl + IL_00be: conv.u2 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00cf: ldc.i4.5 + IL_00d0: shl + IL_00d1: conv.u2 + IL_00d2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e2: ldc.i4.5 + IL_00e3: shl + IL_00e4: conv.u2 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00f4: dup + IL_00f5: ldind.u2 + IL_00f6: ldc.i4.5 + IL_00f7: shl + IL_00f8: conv.u2 + IL_00f9: stind.i2 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0105: ldc.i4.5 + IL_0106: shl + IL_0107: conv.u2 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_010d: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_0112: dup + IL_0113: ldind.u2 + IL_0114: ldc.i4.5 + IL_0115: shl + IL_0116: conv.u2 + IL_0117: stind.i2 + IL_0118: ret + } // end of method CompoundAssignmentTest::UshortLeftShiftTest + + .method public hidebysig static void UshortRightShiftTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: ldc.i4.5 + IL_0006: shr + IL_0007: conv.u2 + IL_0008: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000d: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0012: ldc.i4.5 + IL_0013: shr + IL_0014: conv.u2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0021: ldc.i4.5 + IL_0022: shr + IL_0023: conv.u2 + IL_0024: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0030: ldc.i4.5 + IL_0031: shr + IL_0032: conv.u2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0038: ldarga.s s + IL_003a: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_003f: dup + IL_0040: ldind.u2 + IL_0041: ldc.i4.5 + IL_0042: shr + IL_0043: conv.u2 + IL_0044: stind.i2 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_004d: ldc.i4.5 + IL_004e: shr + IL_004f: conv.u2 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0060: ldc.i4.5 + IL_0061: shr + IL_0062: conv.u2 + IL_0063: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0073: ldc.i4.5 + IL_0074: shr + IL_0075: conv.u2 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0085: dup + IL_0086: ldind.u2 + IL_0087: ldc.i4.5 + IL_0088: shr + IL_0089: conv.u2 + IL_008a: stind.i2 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0096: ldc.i4.5 + IL_0097: shr + IL_0098: conv.u2 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00a9: ldc.i4.5 + IL_00aa: shr + IL_00ab: conv.u2 + IL_00ac: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00bc: ldc.i4.5 + IL_00bd: shr + IL_00be: conv.u2 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00cf: ldc.i4.5 + IL_00d0: shr + IL_00d1: conv.u2 + IL_00d2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e2: ldc.i4.5 + IL_00e3: shr + IL_00e4: conv.u2 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00f4: dup + IL_00f5: ldind.u2 + IL_00f6: ldc.i4.5 + IL_00f7: shr + IL_00f8: conv.u2 + IL_00f9: stind.i2 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0105: ldc.i4.5 + IL_0106: shr + IL_0107: conv.u2 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_010d: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_0112: dup + IL_0113: ldind.u2 + IL_0114: ldc.i4.5 + IL_0115: shr + IL_0116: conv.u2 + IL_0117: stind.i2 + IL_0118: ret + } // end of method CompoundAssignmentTest::UshortRightShiftTest + + .method public hidebysig static void UshortBitAndTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: ldc.i4.5 + IL_0006: and + IL_0007: conv.u2 + IL_0008: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000d: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0012: ldc.i4.5 + IL_0013: and + IL_0014: conv.u2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0021: ldc.i4.5 + IL_0022: and + IL_0023: conv.u2 + IL_0024: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0030: ldc.i4.5 + IL_0031: and + IL_0032: conv.u2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0038: ldarga.s s + IL_003a: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_003f: dup + IL_0040: ldind.u2 + IL_0041: ldc.i4.5 + IL_0042: and + IL_0043: conv.u2 + IL_0044: stind.i2 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_004d: ldc.i4.5 + IL_004e: and + IL_004f: conv.u2 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0060: ldc.i4.5 + IL_0061: and + IL_0062: conv.u2 + IL_0063: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0073: ldc.i4.5 + IL_0074: and + IL_0075: conv.u2 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0085: dup + IL_0086: ldind.u2 + IL_0087: ldc.i4.5 + IL_0088: and + IL_0089: conv.u2 + IL_008a: stind.i2 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0096: ldc.i4.5 + IL_0097: and + IL_0098: conv.u2 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00a9: ldc.i4.5 + IL_00aa: and + IL_00ab: conv.u2 + IL_00ac: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00bc: ldc.i4.5 + IL_00bd: and + IL_00be: conv.u2 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00cf: ldc.i4.5 + IL_00d0: and + IL_00d1: conv.u2 + IL_00d2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e2: ldc.i4.5 + IL_00e3: and + IL_00e4: conv.u2 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00f4: dup + IL_00f5: ldind.u2 + IL_00f6: ldc.i4.5 + IL_00f7: and + IL_00f8: conv.u2 + IL_00f9: stind.i2 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0105: ldc.i4.5 + IL_0106: and + IL_0107: conv.u2 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_010d: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_0112: dup + IL_0113: ldind.u2 + IL_0114: ldc.i4.5 + IL_0115: and + IL_0116: conv.u2 + IL_0117: stind.i2 + IL_0118: ret + } // end of method CompoundAssignmentTest::UshortBitAndTest + + .method public hidebysig static void UshortBitOrTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - // Code size 6 (0x6) - .maxstack 8 - IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' - IL_0005: ret - } // end of method CompoundAssignmentTest::get_StaticProperty + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: ldc.i4.5 + IL_0006: or + IL_0007: conv.u2 + IL_0008: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000d: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0012: ldc.i4.5 + IL_0013: or + IL_0014: conv.u2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0021: ldc.i4.5 + IL_0022: or + IL_0023: conv.u2 + IL_0024: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0030: ldc.i4.5 + IL_0031: or + IL_0032: conv.u2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0038: ldarga.s s + IL_003a: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_003f: dup + IL_0040: ldind.u2 + IL_0041: ldc.i4.5 + IL_0042: or + IL_0043: conv.u2 + IL_0044: stind.i2 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_004d: ldc.i4.5 + IL_004e: or + IL_004f: conv.u2 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0060: ldc.i4.5 + IL_0061: or + IL_0062: conv.u2 + IL_0063: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0073: ldc.i4.5 + IL_0074: or + IL_0075: conv.u2 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0085: dup + IL_0086: ldind.u2 + IL_0087: ldc.i4.5 + IL_0088: or + IL_0089: conv.u2 + IL_008a: stind.i2 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0096: ldc.i4.5 + IL_0097: or + IL_0098: conv.u2 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00a9: ldc.i4.5 + IL_00aa: or + IL_00ab: conv.u2 + IL_00ac: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00bc: ldc.i4.5 + IL_00bd: or + IL_00be: conv.u2 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00cf: ldc.i4.5 + IL_00d0: or + IL_00d1: conv.u2 + IL_00d2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e2: ldc.i4.5 + IL_00e3: or + IL_00e4: conv.u2 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00f4: dup + IL_00f5: ldind.u2 + IL_00f6: ldc.i4.5 + IL_00f7: or + IL_00f8: conv.u2 + IL_00f9: stind.i2 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0105: ldc.i4.5 + IL_0106: or + IL_0107: conv.u2 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_010d: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_0112: dup + IL_0113: ldind.u2 + IL_0114: ldc.i4.5 + IL_0115: or + IL_0116: conv.u2 + IL_0117: stind.i2 + IL_0118: ret + } // end of method CompoundAssignmentTest::UshortBitOrTest - .method public hidebysig specialname static - void set_StaticProperty(int32 'value') cil managed + .method public hidebysig static void UshortBitXorTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' - IL_0006: ret - } // end of method CompoundAssignmentTest::set_StaticProperty + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: ldc.i4.5 + IL_0006: xor + IL_0007: conv.u2 + IL_0008: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000d: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0012: ldc.i4.5 + IL_0013: xor + IL_0014: conv.u2 + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0021: ldc.i4.5 + IL_0022: xor + IL_0023: conv.u2 + IL_0024: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0030: ldc.i4.5 + IL_0031: xor + IL_0032: conv.u2 + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0038: ldarga.s s + IL_003a: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_003f: dup + IL_0040: ldind.u2 + IL_0041: ldc.i4.5 + IL_0042: xor + IL_0043: conv.u2 + IL_0044: stind.i2 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_004d: ldc.i4.5 + IL_004e: xor + IL_004f: conv.u2 + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0060: ldc.i4.5 + IL_0061: xor + IL_0062: conv.u2 + IL_0063: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0073: ldc.i4.5 + IL_0074: xor + IL_0075: conv.u2 + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0085: dup + IL_0086: ldind.u2 + IL_0087: ldc.i4.5 + IL_0088: xor + IL_0089: conv.u2 + IL_008a: stind.i2 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0096: ldc.i4.5 + IL_0097: xor + IL_0098: conv.u2 + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00a9: ldc.i4.5 + IL_00aa: xor + IL_00ab: conv.u2 + IL_00ac: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00bc: ldc.i4.5 + IL_00bd: xor + IL_00be: conv.u2 + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00cf: ldc.i4.5 + IL_00d0: xor + IL_00d1: conv.u2 + IL_00d2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e2: ldc.i4.5 + IL_00e3: xor + IL_00e4: conv.u2 + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00f4: dup + IL_00f5: ldind.u2 + IL_00f6: ldc.i4.5 + IL_00f7: xor + IL_00f8: conv.u2 + IL_00f9: stind.i2 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0105: ldc.i4.5 + IL_0106: xor + IL_0107: conv.u2 + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_010d: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_0112: dup + IL_0113: ldind.u2 + IL_0114: ldc.i4.5 + IL_0115: xor + IL_0116: conv.u2 + IL_0117: stind.i2 + IL_0118: ret + } // end of method CompoundAssignmentTest::UshortBitXorTest - .method public hidebysig specialname static - valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum - get_StaticShortProperty() cil managed + .method public hidebysig static void UshortPostIncTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - // Code size 6 (0x6) - .maxstack 8 - IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' - IL_0005: ret - } // end of method CompoundAssignmentTest::get_StaticShortProperty + // Code size 413 (0x19d) + .maxstack 3 + .locals init (uint16 V_0) + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.u2 + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0018: dup + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: conv.u2 + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002d: stloc.0 + IL_002e: ldloc.0 + IL_002f: ldc.i4.1 + IL_0030: add + IL_0031: conv.u2 + IL_0032: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0044: stloc.0 + IL_0045: ldloc.0 + IL_0046: ldc.i4.1 + IL_0047: add + IL_0048: conv.u2 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_004e: ldloc.0 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_005b: dup + IL_005c: ldind.u2 + IL_005d: stloc.0 + IL_005e: ldloc.0 + IL_005f: ldc.i4.1 + IL_0060: add + IL_0061: conv.u2 + IL_0062: stind.i2 + IL_0063: ldloc.0 + IL_0064: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0069: ldarga.s s + IL_006b: dup + IL_006c: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0071: stloc.0 + IL_0072: ldloc.0 + IL_0073: ldc.i4.1 + IL_0074: add + IL_0075: conv.u2 + IL_0076: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_007b: ldloc.0 + IL_007c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_008c: stloc.0 + IL_008d: ldloc.0 + IL_008e: ldc.i4.1 + IL_008f: add + IL_0090: conv.u2 + IL_0091: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0096: ldloc.0 + IL_0097: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00a7: stloc.0 + IL_00a8: ldloc.0 + IL_00a9: ldc.i4.1 + IL_00aa: add + IL_00ab: conv.u2 + IL_00ac: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bc: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00c1: dup + IL_00c2: ldind.u2 + IL_00c3: stloc.0 + IL_00c4: ldloc.0 + IL_00c5: ldc.i4.1 + IL_00c6: add + IL_00c7: conv.u2 + IL_00c8: stind.i2 + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: dup + IL_00d5: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00da: stloc.0 + IL_00db: ldloc.0 + IL_00dc: ldc.i4.1 + IL_00dd: add + IL_00de: conv.u2 + IL_00df: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00e4: ldloc.0 + IL_00e5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ef: dup + IL_00f0: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00f5: stloc.0 + IL_00f6: ldloc.0 + IL_00f7: ldc.i4.1 + IL_00f8: add + IL_00f9: conv.u2 + IL_00fa: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00ff: ldloc.0 + IL_0100: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010a: dup + IL_010b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0110: stloc.0 + IL_0111: ldloc.0 + IL_0112: ldc.i4.1 + IL_0113: add + IL_0114: conv.u2 + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_011a: ldloc.0 + IL_011b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0120: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0125: dup + IL_0126: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_012b: stloc.0 + IL_012c: ldloc.0 + IL_012d: ldc.i4.1 + IL_012e: add + IL_012f: conv.u2 + IL_0130: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0140: dup + IL_0141: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0146: stloc.0 + IL_0147: ldloc.0 + IL_0148: ldc.i4.1 + IL_0149: add + IL_014a: conv.u2 + IL_014b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0150: ldloc.0 + IL_0151: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0156: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_015b: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0160: dup + IL_0161: ldind.u2 + IL_0162: stloc.0 + IL_0163: ldloc.0 + IL_0164: ldc.i4.1 + IL_0165: add + IL_0166: conv.u2 + IL_0167: stind.i2 + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0173: dup + IL_0174: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0179: stloc.0 + IL_017a: ldloc.0 + IL_017b: ldc.i4.1 + IL_017c: add + IL_017d: conv.u2 + IL_017e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0183: ldloc.0 + IL_0184: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0189: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_018e: dup + IL_018f: ldind.u2 + IL_0190: stloc.0 + IL_0191: ldloc.0 + IL_0192: ldc.i4.1 + IL_0193: add + IL_0194: conv.u2 + IL_0195: stind.i2 + IL_0196: ldloc.0 + IL_0197: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_019c: ret + } // end of method CompoundAssignmentTest::UshortPostIncTest - .method public hidebysig specialname static - void set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum 'value') cil managed + .method public hidebysig static void UshortPreIncTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' - IL_0006: ret - } // end of method CompoundAssignmentTest::set_StaticShortProperty + // Code size 413 (0x19d) + .maxstack 3 + .locals init (uint16 V_0) + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: conv.u2 + IL_0008: dup + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0018: ldc.i4.1 + IL_0019: add + IL_001a: conv.u2 + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002d: ldc.i4.1 + IL_002e: add + IL_002f: conv.u2 + IL_0030: stloc.0 + IL_0031: ldloc.0 + IL_0032: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0044: ldc.i4.1 + IL_0045: add + IL_0046: conv.u2 + IL_0047: stloc.0 + IL_0048: ldloc.0 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_004e: ldloc.0 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_005b: dup + IL_005c: ldind.u2 + IL_005d: ldc.i4.1 + IL_005e: add + IL_005f: conv.u2 + IL_0060: stloc.0 + IL_0061: ldloc.0 + IL_0062: stind.i2 + IL_0063: ldloc.0 + IL_0064: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0069: ldarga.s s + IL_006b: dup + IL_006c: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0071: ldc.i4.1 + IL_0072: add + IL_0073: conv.u2 + IL_0074: stloc.0 + IL_0075: ldloc.0 + IL_0076: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_007b: ldloc.0 + IL_007c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_008c: ldc.i4.1 + IL_008d: add + IL_008e: conv.u2 + IL_008f: stloc.0 + IL_0090: ldloc.0 + IL_0091: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0096: ldloc.0 + IL_0097: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00a7: ldc.i4.1 + IL_00a8: add + IL_00a9: conv.u2 + IL_00aa: stloc.0 + IL_00ab: ldloc.0 + IL_00ac: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bc: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00c1: dup + IL_00c2: ldind.u2 + IL_00c3: ldc.i4.1 + IL_00c4: add + IL_00c5: conv.u2 + IL_00c6: stloc.0 + IL_00c7: ldloc.0 + IL_00c8: stind.i2 + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: dup + IL_00d5: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00da: ldc.i4.1 + IL_00db: add + IL_00dc: conv.u2 + IL_00dd: stloc.0 + IL_00de: ldloc.0 + IL_00df: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00e4: ldloc.0 + IL_00e5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ef: dup + IL_00f0: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00f5: ldc.i4.1 + IL_00f6: add + IL_00f7: conv.u2 + IL_00f8: stloc.0 + IL_00f9: ldloc.0 + IL_00fa: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00ff: ldloc.0 + IL_0100: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010a: dup + IL_010b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0110: ldc.i4.1 + IL_0111: add + IL_0112: conv.u2 + IL_0113: stloc.0 + IL_0114: ldloc.0 + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_011a: ldloc.0 + IL_011b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0120: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0125: dup + IL_0126: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_012b: ldc.i4.1 + IL_012c: add + IL_012d: conv.u2 + IL_012e: stloc.0 + IL_012f: ldloc.0 + IL_0130: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0140: dup + IL_0141: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0146: ldc.i4.1 + IL_0147: add + IL_0148: conv.u2 + IL_0149: stloc.0 + IL_014a: ldloc.0 + IL_014b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0150: ldloc.0 + IL_0151: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0156: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_015b: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0160: dup + IL_0161: ldind.u2 + IL_0162: ldc.i4.1 + IL_0163: add + IL_0164: conv.u2 + IL_0165: stloc.0 + IL_0166: ldloc.0 + IL_0167: stind.i2 + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0173: dup + IL_0174: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0179: ldc.i4.1 + IL_017a: add + IL_017b: conv.u2 + IL_017c: stloc.0 + IL_017d: ldloc.0 + IL_017e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0183: ldloc.0 + IL_0184: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0189: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_018e: dup + IL_018f: ldind.u2 + IL_0190: ldc.i4.1 + IL_0191: add + IL_0192: conv.u2 + IL_0193: stloc.0 + IL_0194: ldloc.0 + IL_0195: stind.i2 + IL_0196: ldloc.0 + IL_0197: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_019c: ret + } // end of method CompoundAssignmentTest::UshortPreIncTest - .method private hidebysig instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass - M() cil managed + .method public hidebysig static void UshortPostDecTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 6 (0x6) - .maxstack 8 - IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::.ctor() - IL_0005: ret - } // end of method CompoundAssignmentTest::M + // Code size 413 (0x19d) + .maxstack 3 + .locals init (uint16 V_0) + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: sub + IL_0008: conv.u2 + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0018: dup + IL_0019: ldc.i4.1 + IL_001a: sub + IL_001b: conv.u2 + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002d: stloc.0 + IL_002e: ldloc.0 + IL_002f: ldc.i4.1 + IL_0030: sub + IL_0031: conv.u2 + IL_0032: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0044: stloc.0 + IL_0045: ldloc.0 + IL_0046: ldc.i4.1 + IL_0047: sub + IL_0048: conv.u2 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_004e: ldloc.0 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_005b: dup + IL_005c: ldind.u2 + IL_005d: stloc.0 + IL_005e: ldloc.0 + IL_005f: ldc.i4.1 + IL_0060: sub + IL_0061: conv.u2 + IL_0062: stind.i2 + IL_0063: ldloc.0 + IL_0064: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0069: ldarga.s s + IL_006b: dup + IL_006c: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0071: stloc.0 + IL_0072: ldloc.0 + IL_0073: ldc.i4.1 + IL_0074: sub + IL_0075: conv.u2 + IL_0076: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_007b: ldloc.0 + IL_007c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_008c: stloc.0 + IL_008d: ldloc.0 + IL_008e: ldc.i4.1 + IL_008f: sub + IL_0090: conv.u2 + IL_0091: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0096: ldloc.0 + IL_0097: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00a7: stloc.0 + IL_00a8: ldloc.0 + IL_00a9: ldc.i4.1 + IL_00aa: sub + IL_00ab: conv.u2 + IL_00ac: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bc: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00c1: dup + IL_00c2: ldind.u2 + IL_00c3: stloc.0 + IL_00c4: ldloc.0 + IL_00c5: ldc.i4.1 + IL_00c6: sub + IL_00c7: conv.u2 + IL_00c8: stind.i2 + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: dup + IL_00d5: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00da: stloc.0 + IL_00db: ldloc.0 + IL_00dc: ldc.i4.1 + IL_00dd: sub + IL_00de: conv.u2 + IL_00df: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00e4: ldloc.0 + IL_00e5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ef: dup + IL_00f0: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00f5: stloc.0 + IL_00f6: ldloc.0 + IL_00f7: ldc.i4.1 + IL_00f8: sub + IL_00f9: conv.u2 + IL_00fa: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00ff: ldloc.0 + IL_0100: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010a: dup + IL_010b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0110: stloc.0 + IL_0111: ldloc.0 + IL_0112: ldc.i4.1 + IL_0113: sub + IL_0114: conv.u2 + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_011a: ldloc.0 + IL_011b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0120: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0125: dup + IL_0126: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_012b: stloc.0 + IL_012c: ldloc.0 + IL_012d: ldc.i4.1 + IL_012e: sub + IL_012f: conv.u2 + IL_0130: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0140: dup + IL_0141: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0146: stloc.0 + IL_0147: ldloc.0 + IL_0148: ldc.i4.1 + IL_0149: sub + IL_014a: conv.u2 + IL_014b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0150: ldloc.0 + IL_0151: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0156: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_015b: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0160: dup + IL_0161: ldind.u2 + IL_0162: stloc.0 + IL_0163: ldloc.0 + IL_0164: ldc.i4.1 + IL_0165: sub + IL_0166: conv.u2 + IL_0167: stind.i2 + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0173: dup + IL_0174: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0179: stloc.0 + IL_017a: ldloc.0 + IL_017b: ldc.i4.1 + IL_017c: sub + IL_017d: conv.u2 + IL_017e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0183: ldloc.0 + IL_0184: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0189: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_018e: dup + IL_018f: ldind.u2 + IL_0190: stloc.0 + IL_0191: ldloc.0 + IL_0192: ldc.i4.1 + IL_0193: sub + IL_0194: conv.u2 + IL_0195: stind.i2 + IL_0196: ldloc.0 + IL_0197: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_019c: ret + } // end of method CompoundAssignmentTest::UshortPostDecTest - .method private hidebysig instance int32[0...,0...] - Array() cil managed + .method public hidebysig static void UshortPreDecTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 2 (0x2) - .maxstack 8 - IL_0000: ldnull - IL_0001: ret - } // end of method CompoundAssignmentTest::Array + // Code size 413 (0x19d) + .maxstack 3 + .locals init (uint16 V_0) + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0005: ldc.i4.1 + IL_0006: sub + IL_0007: conv.u2 + IL_0008: dup + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0018: ldc.i4.1 + IL_0019: sub + IL_001a: conv.u2 + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002d: ldc.i4.1 + IL_002e: sub + IL_002f: conv.u2 + IL_0030: stloc.0 + IL_0031: ldloc.0 + IL_0032: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0044: ldc.i4.1 + IL_0045: sub + IL_0046: conv.u2 + IL_0047: stloc.0 + IL_0048: ldloc.0 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_004e: ldloc.0 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_005b: dup + IL_005c: ldind.u2 + IL_005d: ldc.i4.1 + IL_005e: sub + IL_005f: conv.u2 + IL_0060: stloc.0 + IL_0061: ldloc.0 + IL_0062: stind.i2 + IL_0063: ldloc.0 + IL_0064: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0069: ldarga.s s + IL_006b: dup + IL_006c: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0071: ldc.i4.1 + IL_0072: sub + IL_0073: conv.u2 + IL_0074: stloc.0 + IL_0075: ldloc.0 + IL_0076: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_007b: ldloc.0 + IL_007c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_008c: ldc.i4.1 + IL_008d: sub + IL_008e: conv.u2 + IL_008f: stloc.0 + IL_0090: ldloc.0 + IL_0091: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0096: ldloc.0 + IL_0097: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00a7: ldc.i4.1 + IL_00a8: sub + IL_00a9: conv.u2 + IL_00aa: stloc.0 + IL_00ab: ldloc.0 + IL_00ac: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bc: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00c1: dup + IL_00c2: ldind.u2 + IL_00c3: ldc.i4.1 + IL_00c4: sub + IL_00c5: conv.u2 + IL_00c6: stloc.0 + IL_00c7: ldloc.0 + IL_00c8: stind.i2 + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: dup + IL_00d5: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00da: ldc.i4.1 + IL_00db: sub + IL_00dc: conv.u2 + IL_00dd: stloc.0 + IL_00de: ldloc.0 + IL_00df: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00e4: ldloc.0 + IL_00e5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ef: dup + IL_00f0: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00f5: ldc.i4.1 + IL_00f6: sub + IL_00f7: conv.u2 + IL_00f8: stloc.0 + IL_00f9: ldloc.0 + IL_00fa: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00ff: ldloc.0 + IL_0100: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010a: dup + IL_010b: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0110: ldc.i4.1 + IL_0111: sub + IL_0112: conv.u2 + IL_0113: stloc.0 + IL_0114: ldloc.0 + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_011a: ldloc.0 + IL_011b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0120: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0125: dup + IL_0126: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_012b: ldc.i4.1 + IL_012c: sub + IL_012d: conv.u2 + IL_012e: stloc.0 + IL_012f: ldloc.0 + IL_0130: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0140: dup + IL_0141: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0146: ldc.i4.1 + IL_0147: sub + IL_0148: conv.u2 + IL_0149: stloc.0 + IL_014a: ldloc.0 + IL_014b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0150: ldloc.0 + IL_0151: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0156: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_015b: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0160: dup + IL_0161: ldind.u2 + IL_0162: ldc.i4.1 + IL_0163: sub + IL_0164: conv.u2 + IL_0165: stloc.0 + IL_0166: ldloc.0 + IL_0167: stind.i2 + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0173: dup + IL_0174: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0179: ldc.i4.1 + IL_017a: sub + IL_017b: conv.u2 + IL_017c: stloc.0 + IL_017d: ldloc.0 + IL_017e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0183: ldloc.0 + IL_0184: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0189: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_018e: dup + IL_018f: ldind.u2 + IL_0190: ldc.i4.1 + IL_0191: sub + IL_0192: conv.u2 + IL_0193: stloc.0 + IL_0194: ldloc.0 + IL_0195: stind.i2 + IL_0196: ldloc.0 + IL_0197: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_019c: ret + } // end of method CompoundAssignmentTest::UshortPreDecTest - .method private hidebysig instance int32* - GetPointer() cil managed + .method public hidebysig static void IntAddTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 3 (0x3) - .maxstack 8 - IL_0000: ldc.i4.0 - IL_0001: conv.u - IL_0002: ret - } // end of method CompoundAssignmentTest::GetPointer + // Code size 264 (0x108) + .maxstack 3 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: ldc.i4.5 + IL_0006: add + IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000c: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0011: ldc.i4.5 + IL_0012: add + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_001f: ldc.i4.5 + IL_0020: add + IL_0021: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002d: ldc.i4.5 + IL_002e: add + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0034: ldarga.s s + IL_0036: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003b: dup + IL_003c: ldind.i4 + IL_003d: ldc.i4.5 + IL_003e: add + IL_003f: stind.i4 + IL_0040: ldarga.s s + IL_0042: dup + IL_0043: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0048: ldc.i4.5 + IL_0049: add + IL_004a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_004f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0054: dup + IL_0055: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005a: ldc.i4.5 + IL_005b: add + IL_005c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0061: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0066: dup + IL_0067: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_006c: ldc.i4.5 + IL_006d: add + IL_006e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0073: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0078: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_007d: dup + IL_007e: ldind.i4 + IL_007f: ldc.i4.5 + IL_0080: add + IL_0081: stind.i4 + IL_0082: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0087: dup + IL_0088: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_008d: ldc.i4.5 + IL_008e: add + IL_008f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0094: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0099: dup + IL_009a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_009f: ldc.i4.5 + IL_00a0: add + IL_00a1: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ab: dup + IL_00ac: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b1: ldc.i4.5 + IL_00b2: add + IL_00b3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00bd: dup + IL_00be: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00c3: ldc.i4.5 + IL_00c4: add + IL_00c5: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00d5: ldc.i4.5 + IL_00d6: add + IL_00d7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e1: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00e6: dup + IL_00e7: ldind.i4 + IL_00e8: ldc.i4.5 + IL_00e9: add + IL_00ea: stind.i4 + IL_00eb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f0: dup + IL_00f1: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00f6: ldc.i4.5 + IL_00f7: add + IL_00f8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00fd: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_0102: dup + IL_0103: ldind.i4 + IL_0104: ldc.i4.5 + IL_0105: add + IL_0106: stind.i4 + IL_0107: ret + } // end of method CompoundAssignmentTest::IntAddTest - .method public hidebysig instance int32 - GetIndex() cil managed + .method public hidebysig static void IntSubtractTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 - IL_0000: newobj instance void [mscorlib]System.Random::.ctor() - IL_0005: ldc.i4.0 - IL_0006: ldc.i4.s 100 - IL_0008: callvirt instance int32 [mscorlib]System.Random::Next(int32, - int32) - IL_000d: ret - } // end of method CompoundAssignmentTest::GetIndex + // Code size 264 (0x108) + .maxstack 3 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: ldc.i4.5 + IL_0006: sub + IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000c: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0011: ldc.i4.5 + IL_0012: sub + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_001f: ldc.i4.5 + IL_0020: sub + IL_0021: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002d: ldc.i4.5 + IL_002e: sub + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0034: ldarga.s s + IL_0036: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003b: dup + IL_003c: ldind.i4 + IL_003d: ldc.i4.5 + IL_003e: sub + IL_003f: stind.i4 + IL_0040: ldarga.s s + IL_0042: dup + IL_0043: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0048: ldc.i4.5 + IL_0049: sub + IL_004a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_004f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0054: dup + IL_0055: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005a: ldc.i4.5 + IL_005b: sub + IL_005c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0061: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0066: dup + IL_0067: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_006c: ldc.i4.5 + IL_006d: sub + IL_006e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0073: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0078: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_007d: dup + IL_007e: ldind.i4 + IL_007f: ldc.i4.5 + IL_0080: sub + IL_0081: stind.i4 + IL_0082: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0087: dup + IL_0088: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_008d: ldc.i4.5 + IL_008e: sub + IL_008f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0094: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0099: dup + IL_009a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_009f: ldc.i4.5 + IL_00a0: sub + IL_00a1: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ab: dup + IL_00ac: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b1: ldc.i4.5 + IL_00b2: sub + IL_00b3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00bd: dup + IL_00be: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00c3: ldc.i4.5 + IL_00c4: sub + IL_00c5: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00d5: ldc.i4.5 + IL_00d6: sub + IL_00d7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e1: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00e6: dup + IL_00e7: ldind.i4 + IL_00e8: ldc.i4.5 + IL_00e9: sub + IL_00ea: stind.i4 + IL_00eb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f0: dup + IL_00f1: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00f6: ldc.i4.5 + IL_00f7: sub + IL_00f8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00fd: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_0102: dup + IL_0103: ldind.i4 + IL_0104: ldc.i4.5 + IL_0105: sub + IL_0106: stind.i4 + IL_0107: ret + } // end of method CompoundAssignmentTest::IntSubtractTest - .method public hidebysig instance int32[] - GetArray() cil managed + .method public hidebysig static void IntMultiplyTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 6 (0x6) - .maxstack 8 - IL_0000: newobj instance void [mscorlib]System.NotImplementedException::.ctor() - IL_0005: throw - } // end of method CompoundAssignmentTest::GetArray + // Code size 264 (0x108) + .maxstack 3 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: ldc.i4.5 + IL_0006: mul + IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000c: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0011: ldc.i4.5 + IL_0012: mul + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_001f: ldc.i4.5 + IL_0020: mul + IL_0021: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002d: ldc.i4.5 + IL_002e: mul + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0034: ldarga.s s + IL_0036: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003b: dup + IL_003c: ldind.i4 + IL_003d: ldc.i4.5 + IL_003e: mul + IL_003f: stind.i4 + IL_0040: ldarga.s s + IL_0042: dup + IL_0043: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0048: ldc.i4.5 + IL_0049: mul + IL_004a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_004f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0054: dup + IL_0055: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005a: ldc.i4.5 + IL_005b: mul + IL_005c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0061: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0066: dup + IL_0067: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_006c: ldc.i4.5 + IL_006d: mul + IL_006e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0073: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0078: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_007d: dup + IL_007e: ldind.i4 + IL_007f: ldc.i4.5 + IL_0080: mul + IL_0081: stind.i4 + IL_0082: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0087: dup + IL_0088: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_008d: ldc.i4.5 + IL_008e: mul + IL_008f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0094: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0099: dup + IL_009a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_009f: ldc.i4.5 + IL_00a0: mul + IL_00a1: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ab: dup + IL_00ac: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b1: ldc.i4.5 + IL_00b2: mul + IL_00b3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00bd: dup + IL_00be: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00c3: ldc.i4.5 + IL_00c4: mul + IL_00c5: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00d5: ldc.i4.5 + IL_00d6: mul + IL_00d7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e1: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00e6: dup + IL_00e7: ldind.i4 + IL_00e8: ldc.i4.5 + IL_00e9: mul + IL_00ea: stind.i4 + IL_00eb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f0: dup + IL_00f1: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00f6: ldc.i4.5 + IL_00f7: mul + IL_00f8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00fd: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_0102: dup + IL_0103: ldind.i4 + IL_0104: ldc.i4.5 + IL_0105: mul + IL_0106: stind.i4 + IL_0107: ret + } // end of method CompoundAssignmentTest::IntMultiplyTest - .method public hidebysig instance int32 - GetValue(int32 'value') cil managed + .method public hidebysig static void IntDivideTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 2 (0x2) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ret - } // end of method CompoundAssignmentTest::GetValue + // Code size 264 (0x108) + .maxstack 3 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: ldc.i4.5 + IL_0006: div + IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000c: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0011: ldc.i4.5 + IL_0012: div + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_001f: ldc.i4.5 + IL_0020: div + IL_0021: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002d: ldc.i4.5 + IL_002e: div + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0034: ldarga.s s + IL_0036: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003b: dup + IL_003c: ldind.i4 + IL_003d: ldc.i4.5 + IL_003e: div + IL_003f: stind.i4 + IL_0040: ldarga.s s + IL_0042: dup + IL_0043: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0048: ldc.i4.5 + IL_0049: div + IL_004a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_004f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0054: dup + IL_0055: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005a: ldc.i4.5 + IL_005b: div + IL_005c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0061: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0066: dup + IL_0067: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_006c: ldc.i4.5 + IL_006d: div + IL_006e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0073: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0078: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_007d: dup + IL_007e: ldind.i4 + IL_007f: ldc.i4.5 + IL_0080: div + IL_0081: stind.i4 + IL_0082: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0087: dup + IL_0088: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_008d: ldc.i4.5 + IL_008e: div + IL_008f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0094: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0099: dup + IL_009a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_009f: ldc.i4.5 + IL_00a0: div + IL_00a1: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ab: dup + IL_00ac: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b1: ldc.i4.5 + IL_00b2: div + IL_00b3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00bd: dup + IL_00be: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00c3: ldc.i4.5 + IL_00c4: div + IL_00c5: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00d5: ldc.i4.5 + IL_00d6: div + IL_00d7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e1: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00e6: dup + IL_00e7: ldind.i4 + IL_00e8: ldc.i4.5 + IL_00e9: div + IL_00ea: stind.i4 + IL_00eb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f0: dup + IL_00f1: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00f6: ldc.i4.5 + IL_00f7: div + IL_00f8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00fd: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_0102: dup + IL_0103: ldind.i4 + IL_0104: ldc.i4.5 + IL_0105: div + IL_0106: stind.i4 + IL_0107: ret + } // end of method CompoundAssignmentTest::IntDivideTest - .method public hidebysig instance bool - IsUpperCaseA(char a) cil managed + .method public hidebysig static void IntModulusTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 6 (0x6) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldc.i4.s 65 - IL_0003: ceq - IL_0005: ret - } // end of method CompoundAssignmentTest::IsUpperCaseA + // Code size 264 (0x108) + .maxstack 3 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: ldc.i4.5 + IL_0006: rem + IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000c: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0011: ldc.i4.5 + IL_0012: rem + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_001f: ldc.i4.5 + IL_0020: rem + IL_0021: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002d: ldc.i4.5 + IL_002e: rem + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0034: ldarga.s s + IL_0036: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003b: dup + IL_003c: ldind.i4 + IL_003d: ldc.i4.5 + IL_003e: rem + IL_003f: stind.i4 + IL_0040: ldarga.s s + IL_0042: dup + IL_0043: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0048: ldc.i4.5 + IL_0049: rem + IL_004a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_004f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0054: dup + IL_0055: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005a: ldc.i4.5 + IL_005b: rem + IL_005c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0061: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0066: dup + IL_0067: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_006c: ldc.i4.5 + IL_006d: rem + IL_006e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0073: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0078: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_007d: dup + IL_007e: ldind.i4 + IL_007f: ldc.i4.5 + IL_0080: rem + IL_0081: stind.i4 + IL_0082: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0087: dup + IL_0088: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_008d: ldc.i4.5 + IL_008e: rem + IL_008f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0094: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0099: dup + IL_009a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_009f: ldc.i4.5 + IL_00a0: rem + IL_00a1: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ab: dup + IL_00ac: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b1: ldc.i4.5 + IL_00b2: rem + IL_00b3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00bd: dup + IL_00be: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00c3: ldc.i4.5 + IL_00c4: rem + IL_00c5: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00d5: ldc.i4.5 + IL_00d6: rem + IL_00d7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e1: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00e6: dup + IL_00e7: ldind.i4 + IL_00e8: ldc.i4.5 + IL_00e9: rem + IL_00ea: stind.i4 + IL_00eb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f0: dup + IL_00f1: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00f6: ldc.i4.5 + IL_00f7: rem + IL_00f8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00fd: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_0102: dup + IL_0103: ldind.i4 + IL_0104: ldc.i4.5 + IL_0105: rem + IL_0106: stind.i4 + IL_0107: ret + } // end of method CompoundAssignmentTest::IntModulusTest - .method public hidebysig instance void - Int32_Local_Add(int32 i) cil managed + .method public hidebysig static void IntLeftShiftTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 44 (0x2c) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldc.i4.1 - IL_0002: add - IL_0003: starg.s i - IL_0005: ldarg.1 - IL_0006: dup - IL_0007: ldc.i4.1 - IL_0008: add - IL_0009: starg.s i - IL_000b: call void [mscorlib]System.Console::WriteLine(int32) - IL_0010: ldarg.1 - IL_0011: ldc.i4.1 - IL_0012: add - IL_0013: dup - IL_0014: starg.s i - IL_0016: call void [mscorlib]System.Console::WriteLine(int32) - IL_001b: ldarg.1 - IL_001c: ldc.i4.5 - IL_001d: add - IL_001e: starg.s i - IL_0020: ldarg.1 - IL_0021: ldc.i4.5 - IL_0022: add - IL_0023: dup - IL_0024: starg.s i - IL_0026: call void [mscorlib]System.Console::WriteLine(int32) - IL_002b: ret - } // end of method CompoundAssignmentTest::Int32_Local_Add + // Code size 264 (0x108) + .maxstack 3 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: ldc.i4.5 + IL_0006: shl + IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000c: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0011: ldc.i4.5 + IL_0012: shl + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_001f: ldc.i4.5 + IL_0020: shl + IL_0021: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002d: ldc.i4.5 + IL_002e: shl + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0034: ldarga.s s + IL_0036: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003b: dup + IL_003c: ldind.i4 + IL_003d: ldc.i4.5 + IL_003e: shl + IL_003f: stind.i4 + IL_0040: ldarga.s s + IL_0042: dup + IL_0043: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0048: ldc.i4.5 + IL_0049: shl + IL_004a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_004f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0054: dup + IL_0055: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005a: ldc.i4.5 + IL_005b: shl + IL_005c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0061: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0066: dup + IL_0067: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_006c: ldc.i4.5 + IL_006d: shl + IL_006e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0073: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0078: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_007d: dup + IL_007e: ldind.i4 + IL_007f: ldc.i4.5 + IL_0080: shl + IL_0081: stind.i4 + IL_0082: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0087: dup + IL_0088: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_008d: ldc.i4.5 + IL_008e: shl + IL_008f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0094: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0099: dup + IL_009a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_009f: ldc.i4.5 + IL_00a0: shl + IL_00a1: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ab: dup + IL_00ac: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b1: ldc.i4.5 + IL_00b2: shl + IL_00b3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00bd: dup + IL_00be: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00c3: ldc.i4.5 + IL_00c4: shl + IL_00c5: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00d5: ldc.i4.5 + IL_00d6: shl + IL_00d7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e1: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00e6: dup + IL_00e7: ldind.i4 + IL_00e8: ldc.i4.5 + IL_00e9: shl + IL_00ea: stind.i4 + IL_00eb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f0: dup + IL_00f1: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00f6: ldc.i4.5 + IL_00f7: shl + IL_00f8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00fd: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_0102: dup + IL_0103: ldind.i4 + IL_0104: ldc.i4.5 + IL_0105: shl + IL_0106: stind.i4 + IL_0107: ret + } // end of method CompoundAssignmentTest::IntLeftShiftTest - .method public hidebysig instance void - Int32_Local_Sub(int32 i) cil managed + .method public hidebysig static void IntRightShiftTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 44 (0x2c) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldc.i4.1 - IL_0002: sub - IL_0003: starg.s i - IL_0005: ldarg.1 - IL_0006: dup - IL_0007: ldc.i4.1 - IL_0008: sub - IL_0009: starg.s i - IL_000b: call void [mscorlib]System.Console::WriteLine(int32) - IL_0010: ldarg.1 - IL_0011: ldc.i4.1 - IL_0012: sub - IL_0013: dup - IL_0014: starg.s i - IL_0016: call void [mscorlib]System.Console::WriteLine(int32) - IL_001b: ldarg.1 - IL_001c: ldc.i4.5 - IL_001d: sub - IL_001e: starg.s i - IL_0020: ldarg.1 - IL_0021: ldc.i4.5 - IL_0022: sub - IL_0023: dup - IL_0024: starg.s i - IL_0026: call void [mscorlib]System.Console::WriteLine(int32) - IL_002b: ret - } // end of method CompoundAssignmentTest::Int32_Local_Sub + // Code size 264 (0x108) + .maxstack 3 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: ldc.i4.5 + IL_0006: shr + IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000c: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0011: ldc.i4.5 + IL_0012: shr + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_001f: ldc.i4.5 + IL_0020: shr + IL_0021: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002d: ldc.i4.5 + IL_002e: shr + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0034: ldarga.s s + IL_0036: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003b: dup + IL_003c: ldind.i4 + IL_003d: ldc.i4.5 + IL_003e: shr + IL_003f: stind.i4 + IL_0040: ldarga.s s + IL_0042: dup + IL_0043: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0048: ldc.i4.5 + IL_0049: shr + IL_004a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_004f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0054: dup + IL_0055: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005a: ldc.i4.5 + IL_005b: shr + IL_005c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0061: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0066: dup + IL_0067: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_006c: ldc.i4.5 + IL_006d: shr + IL_006e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0073: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0078: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_007d: dup + IL_007e: ldind.i4 + IL_007f: ldc.i4.5 + IL_0080: shr + IL_0081: stind.i4 + IL_0082: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0087: dup + IL_0088: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_008d: ldc.i4.5 + IL_008e: shr + IL_008f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0094: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0099: dup + IL_009a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_009f: ldc.i4.5 + IL_00a0: shr + IL_00a1: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ab: dup + IL_00ac: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b1: ldc.i4.5 + IL_00b2: shr + IL_00b3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00bd: dup + IL_00be: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00c3: ldc.i4.5 + IL_00c4: shr + IL_00c5: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00d5: ldc.i4.5 + IL_00d6: shr + IL_00d7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e1: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00e6: dup + IL_00e7: ldind.i4 + IL_00e8: ldc.i4.5 + IL_00e9: shr + IL_00ea: stind.i4 + IL_00eb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f0: dup + IL_00f1: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00f6: ldc.i4.5 + IL_00f7: shr + IL_00f8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00fd: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_0102: dup + IL_0103: ldind.i4 + IL_0104: ldc.i4.5 + IL_0105: shr + IL_0106: stind.i4 + IL_0107: ret + } // end of method CompoundAssignmentTest::IntRightShiftTest - .method public hidebysig instance void - Int32_Local_Mul(int32 i) cil managed + .method public hidebysig static void IntBitAndTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 17 (0x11) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldc.i4.5 - IL_0002: mul - IL_0003: starg.s i - IL_0005: ldarg.1 - IL_0006: ldc.i4.5 - IL_0007: mul - IL_0008: dup - IL_0009: starg.s i - IL_000b: call void [mscorlib]System.Console::WriteLine(int32) - IL_0010: ret - } // end of method CompoundAssignmentTest::Int32_Local_Mul + // Code size 264 (0x108) + .maxstack 3 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: ldc.i4.5 + IL_0006: and + IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000c: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0011: ldc.i4.5 + IL_0012: and + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_001f: ldc.i4.5 + IL_0020: and + IL_0021: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002d: ldc.i4.5 + IL_002e: and + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0034: ldarga.s s + IL_0036: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003b: dup + IL_003c: ldind.i4 + IL_003d: ldc.i4.5 + IL_003e: and + IL_003f: stind.i4 + IL_0040: ldarga.s s + IL_0042: dup + IL_0043: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0048: ldc.i4.5 + IL_0049: and + IL_004a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_004f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0054: dup + IL_0055: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005a: ldc.i4.5 + IL_005b: and + IL_005c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0061: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0066: dup + IL_0067: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_006c: ldc.i4.5 + IL_006d: and + IL_006e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0073: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0078: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_007d: dup + IL_007e: ldind.i4 + IL_007f: ldc.i4.5 + IL_0080: and + IL_0081: stind.i4 + IL_0082: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0087: dup + IL_0088: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_008d: ldc.i4.5 + IL_008e: and + IL_008f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0094: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0099: dup + IL_009a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_009f: ldc.i4.5 + IL_00a0: and + IL_00a1: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ab: dup + IL_00ac: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b1: ldc.i4.5 + IL_00b2: and + IL_00b3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00bd: dup + IL_00be: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00c3: ldc.i4.5 + IL_00c4: and + IL_00c5: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00d5: ldc.i4.5 + IL_00d6: and + IL_00d7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e1: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00e6: dup + IL_00e7: ldind.i4 + IL_00e8: ldc.i4.5 + IL_00e9: and + IL_00ea: stind.i4 + IL_00eb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f0: dup + IL_00f1: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00f6: ldc.i4.5 + IL_00f7: and + IL_00f8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00fd: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_0102: dup + IL_0103: ldind.i4 + IL_0104: ldc.i4.5 + IL_0105: and + IL_0106: stind.i4 + IL_0107: ret + } // end of method CompoundAssignmentTest::IntBitAndTest + + .method public hidebysig static void IntBitOrTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 264 (0x108) + .maxstack 3 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: ldc.i4.5 + IL_0006: or + IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000c: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0011: ldc.i4.5 + IL_0012: or + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_001f: ldc.i4.5 + IL_0020: or + IL_0021: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002d: ldc.i4.5 + IL_002e: or + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0034: ldarga.s s + IL_0036: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003b: dup + IL_003c: ldind.i4 + IL_003d: ldc.i4.5 + IL_003e: or + IL_003f: stind.i4 + IL_0040: ldarga.s s + IL_0042: dup + IL_0043: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0048: ldc.i4.5 + IL_0049: or + IL_004a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_004f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0054: dup + IL_0055: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005a: ldc.i4.5 + IL_005b: or + IL_005c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0061: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0066: dup + IL_0067: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_006c: ldc.i4.5 + IL_006d: or + IL_006e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0073: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0078: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_007d: dup + IL_007e: ldind.i4 + IL_007f: ldc.i4.5 + IL_0080: or + IL_0081: stind.i4 + IL_0082: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0087: dup + IL_0088: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_008d: ldc.i4.5 + IL_008e: or + IL_008f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0094: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0099: dup + IL_009a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_009f: ldc.i4.5 + IL_00a0: or + IL_00a1: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ab: dup + IL_00ac: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b1: ldc.i4.5 + IL_00b2: or + IL_00b3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00bd: dup + IL_00be: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00c3: ldc.i4.5 + IL_00c4: or + IL_00c5: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00d5: ldc.i4.5 + IL_00d6: or + IL_00d7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e1: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00e6: dup + IL_00e7: ldind.i4 + IL_00e8: ldc.i4.5 + IL_00e9: or + IL_00ea: stind.i4 + IL_00eb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f0: dup + IL_00f1: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00f6: ldc.i4.5 + IL_00f7: or + IL_00f8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00fd: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_0102: dup + IL_0103: ldind.i4 + IL_0104: ldc.i4.5 + IL_0105: or + IL_0106: stind.i4 + IL_0107: ret + } // end of method CompoundAssignmentTest::IntBitOrTest + + .method public hidebysig static void IntBitXorTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 264 (0x108) + .maxstack 3 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: ldc.i4.5 + IL_0006: xor + IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000c: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0011: ldc.i4.5 + IL_0012: xor + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_001f: ldc.i4.5 + IL_0020: xor + IL_0021: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002d: ldc.i4.5 + IL_002e: xor + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0034: ldarga.s s + IL_0036: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003b: dup + IL_003c: ldind.i4 + IL_003d: ldc.i4.5 + IL_003e: xor + IL_003f: stind.i4 + IL_0040: ldarga.s s + IL_0042: dup + IL_0043: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0048: ldc.i4.5 + IL_0049: xor + IL_004a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_004f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0054: dup + IL_0055: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005a: ldc.i4.5 + IL_005b: xor + IL_005c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0061: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0066: dup + IL_0067: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_006c: ldc.i4.5 + IL_006d: xor + IL_006e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0073: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0078: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_007d: dup + IL_007e: ldind.i4 + IL_007f: ldc.i4.5 + IL_0080: xor + IL_0081: stind.i4 + IL_0082: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0087: dup + IL_0088: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_008d: ldc.i4.5 + IL_008e: xor + IL_008f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0094: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0099: dup + IL_009a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_009f: ldc.i4.5 + IL_00a0: xor + IL_00a1: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ab: dup + IL_00ac: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b1: ldc.i4.5 + IL_00b2: xor + IL_00b3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00bd: dup + IL_00be: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00c3: ldc.i4.5 + IL_00c4: xor + IL_00c5: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00d5: ldc.i4.5 + IL_00d6: xor + IL_00d7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e1: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00e6: dup + IL_00e7: ldind.i4 + IL_00e8: ldc.i4.5 + IL_00e9: xor + IL_00ea: stind.i4 + IL_00eb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f0: dup + IL_00f1: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00f6: ldc.i4.5 + IL_00f7: xor + IL_00f8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00fd: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_0102: dup + IL_0103: ldind.i4 + IL_0104: ldc.i4.5 + IL_0105: xor + IL_0106: stind.i4 + IL_0107: ret + } // end of method CompoundAssignmentTest::IntBitXorTest + + .method public hidebysig static void IntPostIncTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 396 (0x18c) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0012: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0017: dup + IL_0018: ldc.i4.1 + IL_0019: add + IL_001a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_001f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0024: ldarg.1 + IL_0025: dup + IL_0026: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_002b: stloc.0 + IL_002c: ldloc.0 + IL_002d: ldc.i4.1 + IL_002e: add + IL_002f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0034: ldloc.0 + IL_0035: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003a: ldarg.1 + IL_003b: dup + IL_003c: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0041: stloc.0 + IL_0042: ldloc.0 + IL_0043: ldc.i4.1 + IL_0044: add + IL_0045: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_004a: ldloc.0 + IL_004b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0050: ldarga.s s + IL_0052: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0057: dup + IL_0058: ldind.i4 + IL_0059: stloc.0 + IL_005a: ldloc.0 + IL_005b: ldc.i4.1 + IL_005c: add + IL_005d: stind.i4 + IL_005e: ldloc.0 + IL_005f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0064: ldarga.s s + IL_0066: dup + IL_0067: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_006c: stloc.0 + IL_006d: ldloc.0 + IL_006e: ldc.i4.1 + IL_006f: add + IL_0070: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0075: ldloc.0 + IL_0076: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0080: dup + IL_0081: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0086: stloc.0 + IL_0087: ldloc.0 + IL_0088: ldc.i4.1 + IL_0089: add + IL_008a: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_008f: ldloc.0 + IL_0090: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0095: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009a: dup + IL_009b: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00a0: stloc.0 + IL_00a1: ldloc.0 + IL_00a2: ldc.i4.1 + IL_00a3: add + IL_00a4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00a9: ldloc.0 + IL_00aa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00af: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b4: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00b9: dup + IL_00ba: ldind.i4 + IL_00bb: stloc.0 + IL_00bc: ldloc.0 + IL_00bd: ldc.i4.1 + IL_00be: add + IL_00bf: stind.i4 + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cb: dup + IL_00cc: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00d1: stloc.0 + IL_00d2: ldloc.0 + IL_00d3: ldc.i4.1 + IL_00d4: add + IL_00d5: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00da: ldloc.0 + IL_00db: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00e5: dup + IL_00e6: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00eb: stloc.0 + IL_00ec: ldloc.0 + IL_00ed: ldc.i4.1 + IL_00ee: add + IL_00ef: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00f4: ldloc.0 + IL_00f5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0105: stloc.0 + IL_0106: ldloc.0 + IL_0107: ldc.i4.1 + IL_0108: add + IL_0109: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_010e: ldloc.0 + IL_010f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0114: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0119: dup + IL_011a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_011f: stloc.0 + IL_0120: ldloc.0 + IL_0121: ldc.i4.1 + IL_0122: add + IL_0123: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0128: ldloc.0 + IL_0129: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0133: dup + IL_0134: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0139: stloc.0 + IL_013a: ldloc.0 + IL_013b: ldc.i4.1 + IL_013c: add + IL_013d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0142: ldloc.0 + IL_0143: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0148: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_014d: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0152: dup + IL_0153: ldind.i4 + IL_0154: stloc.0 + IL_0155: ldloc.0 + IL_0156: ldc.i4.1 + IL_0157: add + IL_0158: stind.i4 + IL_0159: ldloc.0 + IL_015a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0164: dup + IL_0165: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_016a: stloc.0 + IL_016b: ldloc.0 + IL_016c: ldc.i4.1 + IL_016d: add + IL_016e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0173: ldloc.0 + IL_0174: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0179: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_017e: dup + IL_017f: ldind.i4 + IL_0180: stloc.0 + IL_0181: ldloc.0 + IL_0182: ldc.i4.1 + IL_0183: add + IL_0184: stind.i4 + IL_0185: ldloc.0 + IL_0186: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_018b: ret + } // end of method CompoundAssignmentTest::IntPostIncTest + + .method public hidebysig static void IntPreIncTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 396 (0x18c) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: dup + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0012: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0017: ldc.i4.1 + IL_0018: add + IL_0019: dup + IL_001a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_001f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0024: ldarg.1 + IL_0025: dup + IL_0026: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_002b: ldc.i4.1 + IL_002c: add + IL_002d: stloc.0 + IL_002e: ldloc.0 + IL_002f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0034: ldloc.0 + IL_0035: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003a: ldarg.1 + IL_003b: dup + IL_003c: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0041: ldc.i4.1 + IL_0042: add + IL_0043: stloc.0 + IL_0044: ldloc.0 + IL_0045: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_004a: ldloc.0 + IL_004b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0050: ldarga.s s + IL_0052: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0057: dup + IL_0058: ldind.i4 + IL_0059: ldc.i4.1 + IL_005a: add + IL_005b: stloc.0 + IL_005c: ldloc.0 + IL_005d: stind.i4 + IL_005e: ldloc.0 + IL_005f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0064: ldarga.s s + IL_0066: dup + IL_0067: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_006c: ldc.i4.1 + IL_006d: add + IL_006e: stloc.0 + IL_006f: ldloc.0 + IL_0070: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0075: ldloc.0 + IL_0076: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0080: dup + IL_0081: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0086: ldc.i4.1 + IL_0087: add + IL_0088: stloc.0 + IL_0089: ldloc.0 + IL_008a: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_008f: ldloc.0 + IL_0090: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0095: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009a: dup + IL_009b: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00a0: ldc.i4.1 + IL_00a1: add + IL_00a2: stloc.0 + IL_00a3: ldloc.0 + IL_00a4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00a9: ldloc.0 + IL_00aa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00af: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b4: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00b9: dup + IL_00ba: ldind.i4 + IL_00bb: ldc.i4.1 + IL_00bc: add + IL_00bd: stloc.0 + IL_00be: ldloc.0 + IL_00bf: stind.i4 + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cb: dup + IL_00cc: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00d1: ldc.i4.1 + IL_00d2: add + IL_00d3: stloc.0 + IL_00d4: ldloc.0 + IL_00d5: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00da: ldloc.0 + IL_00db: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00e5: dup + IL_00e6: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00eb: ldc.i4.1 + IL_00ec: add + IL_00ed: stloc.0 + IL_00ee: ldloc.0 + IL_00ef: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00f4: ldloc.0 + IL_00f5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0105: ldc.i4.1 + IL_0106: add + IL_0107: stloc.0 + IL_0108: ldloc.0 + IL_0109: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_010e: ldloc.0 + IL_010f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0114: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0119: dup + IL_011a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_011f: ldc.i4.1 + IL_0120: add + IL_0121: stloc.0 + IL_0122: ldloc.0 + IL_0123: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0128: ldloc.0 + IL_0129: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0133: dup + IL_0134: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0139: ldc.i4.1 + IL_013a: add + IL_013b: stloc.0 + IL_013c: ldloc.0 + IL_013d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0142: ldloc.0 + IL_0143: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0148: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_014d: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0152: dup + IL_0153: ldind.i4 + IL_0154: ldc.i4.1 + IL_0155: add + IL_0156: stloc.0 + IL_0157: ldloc.0 + IL_0158: stind.i4 + IL_0159: ldloc.0 + IL_015a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0164: dup + IL_0165: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_016a: ldc.i4.1 + IL_016b: add + IL_016c: stloc.0 + IL_016d: ldloc.0 + IL_016e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0173: ldloc.0 + IL_0174: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0179: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_017e: dup + IL_017f: ldind.i4 + IL_0180: ldc.i4.1 + IL_0181: add + IL_0182: stloc.0 + IL_0183: ldloc.0 + IL_0184: stind.i4 + IL_0185: ldloc.0 + IL_0186: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_018b: ret + } // end of method CompoundAssignmentTest::IntPreIncTest - .method public hidebysig instance void - Int32_Local_Div(int32 i) cil managed + .method public hidebysig static void IntPostDecTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 17 (0x11) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldc.i4.5 - IL_0002: div - IL_0003: starg.s i - IL_0005: ldarg.1 - IL_0006: ldc.i4.5 - IL_0007: div - IL_0008: dup - IL_0009: starg.s i - IL_000b: call void [mscorlib]System.Console::WriteLine(int32) - IL_0010: ret - } // end of method CompoundAssignmentTest::Int32_Local_Div + // Code size 396 (0x18c) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: sub + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0012: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0017: dup + IL_0018: ldc.i4.1 + IL_0019: sub + IL_001a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_001f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0024: ldarg.1 + IL_0025: dup + IL_0026: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_002b: stloc.0 + IL_002c: ldloc.0 + IL_002d: ldc.i4.1 + IL_002e: sub + IL_002f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0034: ldloc.0 + IL_0035: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003a: ldarg.1 + IL_003b: dup + IL_003c: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0041: stloc.0 + IL_0042: ldloc.0 + IL_0043: ldc.i4.1 + IL_0044: sub + IL_0045: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_004a: ldloc.0 + IL_004b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0050: ldarga.s s + IL_0052: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0057: dup + IL_0058: ldind.i4 + IL_0059: stloc.0 + IL_005a: ldloc.0 + IL_005b: ldc.i4.1 + IL_005c: sub + IL_005d: stind.i4 + IL_005e: ldloc.0 + IL_005f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0064: ldarga.s s + IL_0066: dup + IL_0067: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_006c: stloc.0 + IL_006d: ldloc.0 + IL_006e: ldc.i4.1 + IL_006f: sub + IL_0070: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0075: ldloc.0 + IL_0076: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0080: dup + IL_0081: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0086: stloc.0 + IL_0087: ldloc.0 + IL_0088: ldc.i4.1 + IL_0089: sub + IL_008a: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_008f: ldloc.0 + IL_0090: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0095: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009a: dup + IL_009b: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00a0: stloc.0 + IL_00a1: ldloc.0 + IL_00a2: ldc.i4.1 + IL_00a3: sub + IL_00a4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00a9: ldloc.0 + IL_00aa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00af: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b4: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00b9: dup + IL_00ba: ldind.i4 + IL_00bb: stloc.0 + IL_00bc: ldloc.0 + IL_00bd: ldc.i4.1 + IL_00be: sub + IL_00bf: stind.i4 + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cb: dup + IL_00cc: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00d1: stloc.0 + IL_00d2: ldloc.0 + IL_00d3: ldc.i4.1 + IL_00d4: sub + IL_00d5: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00da: ldloc.0 + IL_00db: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00e5: dup + IL_00e6: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00eb: stloc.0 + IL_00ec: ldloc.0 + IL_00ed: ldc.i4.1 + IL_00ee: sub + IL_00ef: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00f4: ldloc.0 + IL_00f5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0105: stloc.0 + IL_0106: ldloc.0 + IL_0107: ldc.i4.1 + IL_0108: sub + IL_0109: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_010e: ldloc.0 + IL_010f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0114: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0119: dup + IL_011a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_011f: stloc.0 + IL_0120: ldloc.0 + IL_0121: ldc.i4.1 + IL_0122: sub + IL_0123: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0128: ldloc.0 + IL_0129: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0133: dup + IL_0134: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0139: stloc.0 + IL_013a: ldloc.0 + IL_013b: ldc.i4.1 + IL_013c: sub + IL_013d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0142: ldloc.0 + IL_0143: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0148: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_014d: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0152: dup + IL_0153: ldind.i4 + IL_0154: stloc.0 + IL_0155: ldloc.0 + IL_0156: ldc.i4.1 + IL_0157: sub + IL_0158: stind.i4 + IL_0159: ldloc.0 + IL_015a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0164: dup + IL_0165: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_016a: stloc.0 + IL_016b: ldloc.0 + IL_016c: ldc.i4.1 + IL_016d: sub + IL_016e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0173: ldloc.0 + IL_0174: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0179: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_017e: dup + IL_017f: ldind.i4 + IL_0180: stloc.0 + IL_0181: ldloc.0 + IL_0182: ldc.i4.1 + IL_0183: sub + IL_0184: stind.i4 + IL_0185: ldloc.0 + IL_0186: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_018b: ret + } // end of method CompoundAssignmentTest::IntPostDecTest - .method public hidebysig instance void - Int32_Local_Rem(int32 i) cil managed + .method public hidebysig static void IntPreDecTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 17 (0x11) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldc.i4.5 - IL_0002: rem - IL_0003: starg.s i - IL_0005: ldarg.1 - IL_0006: ldc.i4.5 - IL_0007: rem - IL_0008: dup - IL_0009: starg.s i - IL_000b: call void [mscorlib]System.Console::WriteLine(int32) - IL_0010: ret - } // end of method CompoundAssignmentTest::Int32_Local_Rem + // Code size 396 (0x18c) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0005: ldc.i4.1 + IL_0006: sub + IL_0007: dup + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0012: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0017: ldc.i4.1 + IL_0018: sub + IL_0019: dup + IL_001a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_001f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0024: ldarg.1 + IL_0025: dup + IL_0026: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_002b: ldc.i4.1 + IL_002c: sub + IL_002d: stloc.0 + IL_002e: ldloc.0 + IL_002f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0034: ldloc.0 + IL_0035: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003a: ldarg.1 + IL_003b: dup + IL_003c: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0041: ldc.i4.1 + IL_0042: sub + IL_0043: stloc.0 + IL_0044: ldloc.0 + IL_0045: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_004a: ldloc.0 + IL_004b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0050: ldarga.s s + IL_0052: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0057: dup + IL_0058: ldind.i4 + IL_0059: ldc.i4.1 + IL_005a: sub + IL_005b: stloc.0 + IL_005c: ldloc.0 + IL_005d: stind.i4 + IL_005e: ldloc.0 + IL_005f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0064: ldarga.s s + IL_0066: dup + IL_0067: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_006c: ldc.i4.1 + IL_006d: sub + IL_006e: stloc.0 + IL_006f: ldloc.0 + IL_0070: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0075: ldloc.0 + IL_0076: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0080: dup + IL_0081: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0086: ldc.i4.1 + IL_0087: sub + IL_0088: stloc.0 + IL_0089: ldloc.0 + IL_008a: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_008f: ldloc.0 + IL_0090: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0095: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009a: dup + IL_009b: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00a0: ldc.i4.1 + IL_00a1: sub + IL_00a2: stloc.0 + IL_00a3: ldloc.0 + IL_00a4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00a9: ldloc.0 + IL_00aa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00af: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b4: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00b9: dup + IL_00ba: ldind.i4 + IL_00bb: ldc.i4.1 + IL_00bc: sub + IL_00bd: stloc.0 + IL_00be: ldloc.0 + IL_00bf: stind.i4 + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cb: dup + IL_00cc: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00d1: ldc.i4.1 + IL_00d2: sub + IL_00d3: stloc.0 + IL_00d4: ldloc.0 + IL_00d5: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00da: ldloc.0 + IL_00db: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00e5: dup + IL_00e6: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00eb: ldc.i4.1 + IL_00ec: sub + IL_00ed: stloc.0 + IL_00ee: ldloc.0 + IL_00ef: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00f4: ldloc.0 + IL_00f5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0105: ldc.i4.1 + IL_0106: sub + IL_0107: stloc.0 + IL_0108: ldloc.0 + IL_0109: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_010e: ldloc.0 + IL_010f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0114: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0119: dup + IL_011a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_011f: ldc.i4.1 + IL_0120: sub + IL_0121: stloc.0 + IL_0122: ldloc.0 + IL_0123: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0128: ldloc.0 + IL_0129: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0133: dup + IL_0134: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0139: ldc.i4.1 + IL_013a: sub + IL_013b: stloc.0 + IL_013c: ldloc.0 + IL_013d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0142: ldloc.0 + IL_0143: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0148: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_014d: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0152: dup + IL_0153: ldind.i4 + IL_0154: ldc.i4.1 + IL_0155: sub + IL_0156: stloc.0 + IL_0157: ldloc.0 + IL_0158: stind.i4 + IL_0159: ldloc.0 + IL_015a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0164: dup + IL_0165: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_016a: ldc.i4.1 + IL_016b: sub + IL_016c: stloc.0 + IL_016d: ldloc.0 + IL_016e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0173: ldloc.0 + IL_0174: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0179: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_017e: dup + IL_017f: ldind.i4 + IL_0180: ldc.i4.1 + IL_0181: sub + IL_0182: stloc.0 + IL_0183: ldloc.0 + IL_0184: stind.i4 + IL_0185: ldloc.0 + IL_0186: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_018b: ret + } // end of method CompoundAssignmentTest::IntPreDecTest - .method public hidebysig instance void - Int32_Local_BitAnd(int32 i) cil managed + .method public hidebysig static void UintAddTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 17 (0x11) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldc.i4.5 - IL_0002: and - IL_0003: starg.s i - IL_0005: ldarg.1 - IL_0006: ldc.i4.5 - IL_0007: and - IL_0008: dup - IL_0009: starg.s i - IL_000b: call void [mscorlib]System.Console::WriteLine(int32) - IL_0010: ret - } // end of method CompoundAssignmentTest::Int32_Local_BitAnd + // Code size 264 (0x108) + .maxstack 3 + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: ldc.i4.5 + IL_0006: add + IL_0007: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000c: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0011: ldc.i4.5 + IL_0012: add + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_001f: ldc.i4.5 + IL_0020: add + IL_0021: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002d: ldc.i4.5 + IL_002e: add + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0034: ldarga.s s + IL_0036: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003b: dup + IL_003c: ldind.u4 + IL_003d: ldc.i4.5 + IL_003e: add + IL_003f: stind.i4 + IL_0040: ldarga.s s + IL_0042: dup + IL_0043: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0048: ldc.i4.5 + IL_0049: add + IL_004a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_004f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0054: dup + IL_0055: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005a: ldc.i4.5 + IL_005b: add + IL_005c: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0061: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0066: dup + IL_0067: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_006c: ldc.i4.5 + IL_006d: add + IL_006e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0073: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0078: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_007d: dup + IL_007e: ldind.u4 + IL_007f: ldc.i4.5 + IL_0080: add + IL_0081: stind.i4 + IL_0082: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0087: dup + IL_0088: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_008d: ldc.i4.5 + IL_008e: add + IL_008f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0094: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0099: dup + IL_009a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_009f: ldc.i4.5 + IL_00a0: add + IL_00a1: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ab: dup + IL_00ac: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b1: ldc.i4.5 + IL_00b2: add + IL_00b3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00bd: dup + IL_00be: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00c3: ldc.i4.5 + IL_00c4: add + IL_00c5: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00d5: ldc.i4.5 + IL_00d6: add + IL_00d7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e1: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00e6: dup + IL_00e7: ldind.u4 + IL_00e8: ldc.i4.5 + IL_00e9: add + IL_00ea: stind.i4 + IL_00eb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f0: dup + IL_00f1: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00f6: ldc.i4.5 + IL_00f7: add + IL_00f8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00fd: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_0102: dup + IL_0103: ldind.u4 + IL_0104: ldc.i4.5 + IL_0105: add + IL_0106: stind.i4 + IL_0107: ret + } // end of method CompoundAssignmentTest::UintAddTest - .method public hidebysig instance void - Int32_Local_BitOr(int32 i) cil managed + .method public hidebysig static void UintSubtractTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 17 (0x11) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldc.i4.5 - IL_0002: or - IL_0003: starg.s i - IL_0005: ldarg.1 - IL_0006: ldc.i4.5 - IL_0007: or - IL_0008: dup - IL_0009: starg.s i - IL_000b: call void [mscorlib]System.Console::WriteLine(int32) - IL_0010: ret - } // end of method CompoundAssignmentTest::Int32_Local_BitOr + // Code size 264 (0x108) + .maxstack 3 + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: ldc.i4.5 + IL_0006: sub + IL_0007: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000c: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0011: ldc.i4.5 + IL_0012: sub + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_001f: ldc.i4.5 + IL_0020: sub + IL_0021: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002d: ldc.i4.5 + IL_002e: sub + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0034: ldarga.s s + IL_0036: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003b: dup + IL_003c: ldind.u4 + IL_003d: ldc.i4.5 + IL_003e: sub + IL_003f: stind.i4 + IL_0040: ldarga.s s + IL_0042: dup + IL_0043: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0048: ldc.i4.5 + IL_0049: sub + IL_004a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_004f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0054: dup + IL_0055: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005a: ldc.i4.5 + IL_005b: sub + IL_005c: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0061: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0066: dup + IL_0067: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_006c: ldc.i4.5 + IL_006d: sub + IL_006e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0073: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0078: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_007d: dup + IL_007e: ldind.u4 + IL_007f: ldc.i4.5 + IL_0080: sub + IL_0081: stind.i4 + IL_0082: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0087: dup + IL_0088: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_008d: ldc.i4.5 + IL_008e: sub + IL_008f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0094: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0099: dup + IL_009a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_009f: ldc.i4.5 + IL_00a0: sub + IL_00a1: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ab: dup + IL_00ac: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b1: ldc.i4.5 + IL_00b2: sub + IL_00b3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00bd: dup + IL_00be: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00c3: ldc.i4.5 + IL_00c4: sub + IL_00c5: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00d5: ldc.i4.5 + IL_00d6: sub + IL_00d7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e1: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00e6: dup + IL_00e7: ldind.u4 + IL_00e8: ldc.i4.5 + IL_00e9: sub + IL_00ea: stind.i4 + IL_00eb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f0: dup + IL_00f1: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00f6: ldc.i4.5 + IL_00f7: sub + IL_00f8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00fd: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_0102: dup + IL_0103: ldind.u4 + IL_0104: ldc.i4.5 + IL_0105: sub + IL_0106: stind.i4 + IL_0107: ret + } // end of method CompoundAssignmentTest::UintSubtractTest - .method public hidebysig instance void - Int32_Local_BitXor(int32 i) cil managed + .method public hidebysig static void UintMultiplyTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 17 (0x11) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldc.i4.5 - IL_0002: xor - IL_0003: starg.s i - IL_0005: ldarg.1 - IL_0006: ldc.i4.5 - IL_0007: xor - IL_0008: dup - IL_0009: starg.s i - IL_000b: call void [mscorlib]System.Console::WriteLine(int32) - IL_0010: ret - } // end of method CompoundAssignmentTest::Int32_Local_BitXor + // Code size 264 (0x108) + .maxstack 3 + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: ldc.i4.5 + IL_0006: mul + IL_0007: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000c: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0011: ldc.i4.5 + IL_0012: mul + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_001f: ldc.i4.5 + IL_0020: mul + IL_0021: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002d: ldc.i4.5 + IL_002e: mul + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0034: ldarga.s s + IL_0036: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003b: dup + IL_003c: ldind.u4 + IL_003d: ldc.i4.5 + IL_003e: mul + IL_003f: stind.i4 + IL_0040: ldarga.s s + IL_0042: dup + IL_0043: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0048: ldc.i4.5 + IL_0049: mul + IL_004a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_004f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0054: dup + IL_0055: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005a: ldc.i4.5 + IL_005b: mul + IL_005c: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0061: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0066: dup + IL_0067: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_006c: ldc.i4.5 + IL_006d: mul + IL_006e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0073: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0078: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_007d: dup + IL_007e: ldind.u4 + IL_007f: ldc.i4.5 + IL_0080: mul + IL_0081: stind.i4 + IL_0082: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0087: dup + IL_0088: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_008d: ldc.i4.5 + IL_008e: mul + IL_008f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0094: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0099: dup + IL_009a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_009f: ldc.i4.5 + IL_00a0: mul + IL_00a1: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ab: dup + IL_00ac: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b1: ldc.i4.5 + IL_00b2: mul + IL_00b3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00bd: dup + IL_00be: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00c3: ldc.i4.5 + IL_00c4: mul + IL_00c5: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00d5: ldc.i4.5 + IL_00d6: mul + IL_00d7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e1: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00e6: dup + IL_00e7: ldind.u4 + IL_00e8: ldc.i4.5 + IL_00e9: mul + IL_00ea: stind.i4 + IL_00eb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f0: dup + IL_00f1: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00f6: ldc.i4.5 + IL_00f7: mul + IL_00f8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00fd: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_0102: dup + IL_0103: ldind.u4 + IL_0104: ldc.i4.5 + IL_0105: mul + IL_0106: stind.i4 + IL_0107: ret + } // end of method CompoundAssignmentTest::UintMultiplyTest - .method public hidebysig instance void - Int32_Local_ShiftLeft(int32 i) cil managed + .method public hidebysig static void UintDivideTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 17 (0x11) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldc.i4.5 - IL_0002: shl - IL_0003: starg.s i - IL_0005: ldarg.1 - IL_0006: ldc.i4.5 - IL_0007: shl - IL_0008: dup - IL_0009: starg.s i - IL_000b: call void [mscorlib]System.Console::WriteLine(int32) - IL_0010: ret - } // end of method CompoundAssignmentTest::Int32_Local_ShiftLeft + // Code size 264 (0x108) + .maxstack 3 + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: ldc.i4.5 + IL_0006: div.un + IL_0007: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000c: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0011: ldc.i4.5 + IL_0012: div.un + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_001f: ldc.i4.5 + IL_0020: div.un + IL_0021: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002d: ldc.i4.5 + IL_002e: div.un + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0034: ldarga.s s + IL_0036: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003b: dup + IL_003c: ldind.u4 + IL_003d: ldc.i4.5 + IL_003e: div.un + IL_003f: stind.i4 + IL_0040: ldarga.s s + IL_0042: dup + IL_0043: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0048: ldc.i4.5 + IL_0049: div.un + IL_004a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_004f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0054: dup + IL_0055: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005a: ldc.i4.5 + IL_005b: div.un + IL_005c: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0061: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0066: dup + IL_0067: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_006c: ldc.i4.5 + IL_006d: div.un + IL_006e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0073: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0078: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_007d: dup + IL_007e: ldind.u4 + IL_007f: ldc.i4.5 + IL_0080: div.un + IL_0081: stind.i4 + IL_0082: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0087: dup + IL_0088: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_008d: ldc.i4.5 + IL_008e: div.un + IL_008f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0094: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0099: dup + IL_009a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_009f: ldc.i4.5 + IL_00a0: div.un + IL_00a1: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ab: dup + IL_00ac: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b1: ldc.i4.5 + IL_00b2: div.un + IL_00b3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00bd: dup + IL_00be: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00c3: ldc.i4.5 + IL_00c4: div.un + IL_00c5: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00d5: ldc.i4.5 + IL_00d6: div.un + IL_00d7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e1: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00e6: dup + IL_00e7: ldind.u4 + IL_00e8: ldc.i4.5 + IL_00e9: div.un + IL_00ea: stind.i4 + IL_00eb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f0: dup + IL_00f1: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00f6: ldc.i4.5 + IL_00f7: div.un + IL_00f8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00fd: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_0102: dup + IL_0103: ldind.u4 + IL_0104: ldc.i4.5 + IL_0105: div.un + IL_0106: stind.i4 + IL_0107: ret + } // end of method CompoundAssignmentTest::UintDivideTest - .method public hidebysig instance void - Int32_Local_ShiftRight(int32 i) cil managed + .method public hidebysig static void UintModulusTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 17 (0x11) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldc.i4.5 - IL_0002: shr - IL_0003: starg.s i - IL_0005: ldarg.1 - IL_0006: ldc.i4.5 - IL_0007: shr - IL_0008: dup - IL_0009: starg.s i - IL_000b: call void [mscorlib]System.Console::WriteLine(int32) - IL_0010: ret - } // end of method CompoundAssignmentTest::Int32_Local_ShiftRight + // Code size 264 (0x108) + .maxstack 3 + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: ldc.i4.5 + IL_0006: rem.un + IL_0007: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000c: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0011: ldc.i4.5 + IL_0012: rem.un + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_001f: ldc.i4.5 + IL_0020: rem.un + IL_0021: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002d: ldc.i4.5 + IL_002e: rem.un + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0034: ldarga.s s + IL_0036: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003b: dup + IL_003c: ldind.u4 + IL_003d: ldc.i4.5 + IL_003e: rem.un + IL_003f: stind.i4 + IL_0040: ldarga.s s + IL_0042: dup + IL_0043: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0048: ldc.i4.5 + IL_0049: rem.un + IL_004a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_004f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0054: dup + IL_0055: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005a: ldc.i4.5 + IL_005b: rem.un + IL_005c: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0061: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0066: dup + IL_0067: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_006c: ldc.i4.5 + IL_006d: rem.un + IL_006e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0073: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0078: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_007d: dup + IL_007e: ldind.u4 + IL_007f: ldc.i4.5 + IL_0080: rem.un + IL_0081: stind.i4 + IL_0082: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0087: dup + IL_0088: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_008d: ldc.i4.5 + IL_008e: rem.un + IL_008f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0094: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0099: dup + IL_009a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_009f: ldc.i4.5 + IL_00a0: rem.un + IL_00a1: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ab: dup + IL_00ac: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b1: ldc.i4.5 + IL_00b2: rem.un + IL_00b3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00bd: dup + IL_00be: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00c3: ldc.i4.5 + IL_00c4: rem.un + IL_00c5: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00d5: ldc.i4.5 + IL_00d6: rem.un + IL_00d7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e1: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00e6: dup + IL_00e7: ldind.u4 + IL_00e8: ldc.i4.5 + IL_00e9: rem.un + IL_00ea: stind.i4 + IL_00eb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f0: dup + IL_00f1: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00f6: ldc.i4.5 + IL_00f7: rem.un + IL_00f8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00fd: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_0102: dup + IL_0103: ldind.u4 + IL_0104: ldc.i4.5 + IL_0105: rem.un + IL_0106: stind.i4 + IL_0107: ret + } // end of method CompoundAssignmentTest::UintModulusTest - .method public hidebysig instance void - IntegerWithInline(int32 i) cil managed + .method public hidebysig static void UintLeftShiftTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 18 (0x12) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldc.i4.5 - IL_0002: add - IL_0003: dup - IL_0004: starg.s i - IL_0006: call void [mscorlib]System.Console::WriteLine(int32) - IL_000b: ldarg.1 - IL_000c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0011: ret - } // end of method CompoundAssignmentTest::IntegerWithInline + // Code size 264 (0x108) + .maxstack 3 + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: ldc.i4.5 + IL_0006: shl + IL_0007: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000c: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0011: ldc.i4.5 + IL_0012: shl + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_001f: ldc.i4.5 + IL_0020: shl + IL_0021: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002d: ldc.i4.5 + IL_002e: shl + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0034: ldarga.s s + IL_0036: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003b: dup + IL_003c: ldind.u4 + IL_003d: ldc.i4.5 + IL_003e: shl + IL_003f: stind.i4 + IL_0040: ldarga.s s + IL_0042: dup + IL_0043: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0048: ldc.i4.5 + IL_0049: shl + IL_004a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_004f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0054: dup + IL_0055: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005a: ldc.i4.5 + IL_005b: shl + IL_005c: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0061: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0066: dup + IL_0067: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_006c: ldc.i4.5 + IL_006d: shl + IL_006e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0073: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0078: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_007d: dup + IL_007e: ldind.u4 + IL_007f: ldc.i4.5 + IL_0080: shl + IL_0081: stind.i4 + IL_0082: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0087: dup + IL_0088: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_008d: ldc.i4.5 + IL_008e: shl + IL_008f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0094: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0099: dup + IL_009a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_009f: ldc.i4.5 + IL_00a0: shl + IL_00a1: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ab: dup + IL_00ac: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b1: ldc.i4.5 + IL_00b2: shl + IL_00b3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00bd: dup + IL_00be: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00c3: ldc.i4.5 + IL_00c4: shl + IL_00c5: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00d5: ldc.i4.5 + IL_00d6: shl + IL_00d7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e1: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00e6: dup + IL_00e7: ldind.u4 + IL_00e8: ldc.i4.5 + IL_00e9: shl + IL_00ea: stind.i4 + IL_00eb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f0: dup + IL_00f1: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00f6: ldc.i4.5 + IL_00f7: shl + IL_00f8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00fd: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_0102: dup + IL_0103: ldind.u4 + IL_0104: ldc.i4.5 + IL_0105: shl + IL_0106: stind.i4 + IL_0107: ret + } // end of method CompoundAssignmentTest::UintLeftShiftTest - .method public hidebysig instance void - IntegerField(int32 i) cil managed + .method public hidebysig static void UintRightShiftTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 67 (0x43) + // Code size 264 (0x108) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.0 - IL_0001: ldarg.0 - IL_0002: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 - IL_0007: ldarg.1 - IL_0008: add - IL_0009: dup - IL_000a: stloc.0 - IL_000b: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 - IL_0010: ldloc.0 - IL_0011: call void [mscorlib]System.Console::WriteLine(int32) - IL_0016: ldarg.0 - IL_0017: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 - IL_001c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0021: ldarg.0 - IL_0022: ldarg.0 - IL_0023: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 - IL_0028: ldarg.1 - IL_0029: sub - IL_002a: dup - IL_002b: stloc.0 - IL_002c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 - IL_0031: ldloc.0 - IL_0032: call void [mscorlib]System.Console::WriteLine(int32) - IL_0037: ldarg.0 - IL_0038: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 - IL_003d: call void [mscorlib]System.Console::WriteLine(int32) - IL_0042: ret - } // end of method CompoundAssignmentTest::IntegerField + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: ldc.i4.5 + IL_0006: shr.un + IL_0007: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000c: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0011: ldc.i4.5 + IL_0012: shr.un + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_001f: ldc.i4.5 + IL_0020: shr.un + IL_0021: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002d: ldc.i4.5 + IL_002e: shr.un + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0034: ldarga.s s + IL_0036: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003b: dup + IL_003c: ldind.u4 + IL_003d: ldc.i4.5 + IL_003e: shr.un + IL_003f: stind.i4 + IL_0040: ldarga.s s + IL_0042: dup + IL_0043: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0048: ldc.i4.5 + IL_0049: shr.un + IL_004a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_004f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0054: dup + IL_0055: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005a: ldc.i4.5 + IL_005b: shr.un + IL_005c: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0061: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0066: dup + IL_0067: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_006c: ldc.i4.5 + IL_006d: shr.un + IL_006e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0073: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0078: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_007d: dup + IL_007e: ldind.u4 + IL_007f: ldc.i4.5 + IL_0080: shr.un + IL_0081: stind.i4 + IL_0082: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0087: dup + IL_0088: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_008d: ldc.i4.5 + IL_008e: shr.un + IL_008f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0094: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0099: dup + IL_009a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_009f: ldc.i4.5 + IL_00a0: shr.un + IL_00a1: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ab: dup + IL_00ac: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b1: ldc.i4.5 + IL_00b2: shr.un + IL_00b3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00bd: dup + IL_00be: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00c3: ldc.i4.5 + IL_00c4: shr.un + IL_00c5: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00d5: ldc.i4.5 + IL_00d6: shr.un + IL_00d7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e1: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00e6: dup + IL_00e7: ldind.u4 + IL_00e8: ldc.i4.5 + IL_00e9: shr.un + IL_00ea: stind.i4 + IL_00eb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f0: dup + IL_00f1: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00f6: ldc.i4.5 + IL_00f7: shr.un + IL_00f8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00fd: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_0102: dup + IL_0103: ldind.u4 + IL_0104: ldc.i4.5 + IL_0105: shr.un + IL_0106: stind.i4 + IL_0107: ret + } // end of method CompoundAssignmentTest::UintRightShiftTest - .method public hidebysig instance void - Array(int32 i) cil managed + .method public hidebysig static void UintBitAndTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 55 (0x37) - .maxstack 4 - .locals init (int32 V_0) - IL_0000: ldarg.0 - IL_0001: ldfld int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::array1 - IL_0006: ldarg.1 - IL_0007: ldelema [mscorlib]System.Int32 - IL_000c: dup - IL_000d: ldind.i4 - IL_000e: ldarg.1 - IL_000f: add - IL_0010: dup - IL_0011: stloc.0 - IL_0012: stind.i4 - IL_0013: ldloc.0 - IL_0014: call void [mscorlib]System.Console::WriteLine(int32) - IL_0019: ldarg.0 - IL_001a: ldfld int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::array1 - IL_001f: ldarg.1 - IL_0020: ldc.i4.2 - IL_0021: mul - IL_0022: ldelema [mscorlib]System.Int32 + // Code size 264 (0x108) + .maxstack 3 + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: ldc.i4.5 + IL_0006: and + IL_0007: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000c: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0011: ldc.i4.5 + IL_0012: and + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_001f: ldc.i4.5 + IL_0020: and + IL_0021: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0026: ldarg.1 IL_0027: dup - IL_0028: ldind.i4 - IL_0029: ldarg.1 - IL_002a: ldc.i4.2 - IL_002b: mul - IL_002c: add - IL_002d: dup - IL_002e: stloc.0 - IL_002f: stind.i4 - IL_0030: ldloc.0 - IL_0031: call void [mscorlib]System.Console::WriteLine(int32) - IL_0036: ret - } // end of method CompoundAssignmentTest::Array + IL_0028: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002d: ldc.i4.5 + IL_002e: and + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0034: ldarga.s s + IL_0036: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003b: dup + IL_003c: ldind.u4 + IL_003d: ldc.i4.5 + IL_003e: and + IL_003f: stind.i4 + IL_0040: ldarga.s s + IL_0042: dup + IL_0043: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0048: ldc.i4.5 + IL_0049: and + IL_004a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_004f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0054: dup + IL_0055: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005a: ldc.i4.5 + IL_005b: and + IL_005c: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0061: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0066: dup + IL_0067: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_006c: ldc.i4.5 + IL_006d: and + IL_006e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0073: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0078: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_007d: dup + IL_007e: ldind.u4 + IL_007f: ldc.i4.5 + IL_0080: and + IL_0081: stind.i4 + IL_0082: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0087: dup + IL_0088: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_008d: ldc.i4.5 + IL_008e: and + IL_008f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0094: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0099: dup + IL_009a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_009f: ldc.i4.5 + IL_00a0: and + IL_00a1: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ab: dup + IL_00ac: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b1: ldc.i4.5 + IL_00b2: and + IL_00b3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00bd: dup + IL_00be: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00c3: ldc.i4.5 + IL_00c4: and + IL_00c5: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00d5: ldc.i4.5 + IL_00d6: and + IL_00d7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e1: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00e6: dup + IL_00e7: ldind.u4 + IL_00e8: ldc.i4.5 + IL_00e9: and + IL_00ea: stind.i4 + IL_00eb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f0: dup + IL_00f1: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00f6: ldc.i4.5 + IL_00f7: and + IL_00f8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00fd: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_0102: dup + IL_0103: ldind.u4 + IL_0104: ldc.i4.5 + IL_0105: and + IL_0106: stind.i4 + IL_0107: ret + } // end of method CompoundAssignmentTest::UintBitAndTest - .method public hidebysig instance int32 - ArrayUsageWithMethods() cil managed + .method public hidebysig static void UintBitOrTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 26 (0x1a) + // Code size 264 (0x108) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.0 - IL_0001: call instance int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetArray() - IL_0006: ldarg.0 - IL_0007: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetIndex() - IL_000c: ldelema [mscorlib]System.Int32 - IL_0011: dup - IL_0012: ldind.i4 - IL_0013: stloc.0 - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stind.i4 - IL_0018: ldloc.0 - IL_0019: ret - } // end of method CompoundAssignmentTest::ArrayUsageWithMethods + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: ldc.i4.5 + IL_0006: or + IL_0007: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000c: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0011: ldc.i4.5 + IL_0012: or + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_001f: ldc.i4.5 + IL_0020: or + IL_0021: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002d: ldc.i4.5 + IL_002e: or + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0034: ldarga.s s + IL_0036: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003b: dup + IL_003c: ldind.u4 + IL_003d: ldc.i4.5 + IL_003e: or + IL_003f: stind.i4 + IL_0040: ldarga.s s + IL_0042: dup + IL_0043: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0048: ldc.i4.5 + IL_0049: or + IL_004a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_004f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0054: dup + IL_0055: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005a: ldc.i4.5 + IL_005b: or + IL_005c: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0061: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0066: dup + IL_0067: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_006c: ldc.i4.5 + IL_006d: or + IL_006e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0073: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0078: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_007d: dup + IL_007e: ldind.u4 + IL_007f: ldc.i4.5 + IL_0080: or + IL_0081: stind.i4 + IL_0082: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0087: dup + IL_0088: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_008d: ldc.i4.5 + IL_008e: or + IL_008f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0094: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0099: dup + IL_009a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_009f: ldc.i4.5 + IL_00a0: or + IL_00a1: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ab: dup + IL_00ac: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b1: ldc.i4.5 + IL_00b2: or + IL_00b3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00bd: dup + IL_00be: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00c3: ldc.i4.5 + IL_00c4: or + IL_00c5: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00d5: ldc.i4.5 + IL_00d6: or + IL_00d7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e1: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00e6: dup + IL_00e7: ldind.u4 + IL_00e8: ldc.i4.5 + IL_00e9: or + IL_00ea: stind.i4 + IL_00eb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f0: dup + IL_00f1: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00f6: ldc.i4.5 + IL_00f7: or + IL_00f8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00fd: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_0102: dup + IL_0103: ldind.u4 + IL_0104: ldc.i4.5 + IL_0105: or + IL_0106: stind.i4 + IL_0107: ret + } // end of method CompoundAssignmentTest::UintBitOrTest - .method public hidebysig instance void - NestedField() cil managed + .method public hidebysig static void UintBitXorTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 78 (0x4e) + // Code size 264 (0x108) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.0 - IL_0001: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 - IL_0006: ldfld bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::HasIndex - IL_000b: brfalse.s IL_004d + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: ldc.i4.5 + IL_0006: xor + IL_0007: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000c: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0011: ldc.i4.5 + IL_0012: xor + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_001f: ldc.i4.5 + IL_0020: xor + IL_0021: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002d: ldc.i4.5 + IL_002e: xor + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0034: ldarga.s s + IL_0036: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003b: dup + IL_003c: ldind.u4 + IL_003d: ldc.i4.5 + IL_003e: xor + IL_003f: stind.i4 + IL_0040: ldarga.s s + IL_0042: dup + IL_0043: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0048: ldc.i4.5 + IL_0049: xor + IL_004a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_004f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0054: dup + IL_0055: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005a: ldc.i4.5 + IL_005b: xor + IL_005c: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0061: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0066: dup + IL_0067: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_006c: ldc.i4.5 + IL_006d: xor + IL_006e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0073: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0078: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_007d: dup + IL_007e: ldind.u4 + IL_007f: ldc.i4.5 + IL_0080: xor + IL_0081: stind.i4 + IL_0082: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0087: dup + IL_0088: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_008d: ldc.i4.5 + IL_008e: xor + IL_008f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0094: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0099: dup + IL_009a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_009f: ldc.i4.5 + IL_00a0: xor + IL_00a1: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ab: dup + IL_00ac: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b1: ldc.i4.5 + IL_00b2: xor + IL_00b3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00bd: dup + IL_00be: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00c3: ldc.i4.5 + IL_00c4: xor + IL_00c5: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00d5: ldc.i4.5 + IL_00d6: xor + IL_00d7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e1: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00e6: dup + IL_00e7: ldind.u4 + IL_00e8: ldc.i4.5 + IL_00e9: xor + IL_00ea: stind.i4 + IL_00eb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f0: dup + IL_00f1: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00f6: ldc.i4.5 + IL_00f7: xor + IL_00f8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00fd: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_0102: dup + IL_0103: ldind.u4 + IL_0104: ldc.i4.5 + IL_0105: xor + IL_0106: stind.i4 + IL_0107: ret + } // end of method CompoundAssignmentTest::UintBitXorTest - IL_000d: ldarg.0 - IL_000e: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 - IL_0013: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field - IL_0018: dup - IL_0019: ldind.i4 - IL_001a: ldc.i4.2 - IL_001b: mul - IL_001c: dup - IL_001d: stloc.0 - IL_001e: stind.i4 - IL_001f: ldloc.0 - IL_0020: call void [mscorlib]System.Console::WriteLine(int32) - IL_0025: ldarg.0 - IL_0026: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 - IL_002b: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field - IL_0030: dup - IL_0031: ldind.i4 - IL_0032: ldc.i4.1 - IL_0033: add - IL_0034: stind.i4 - IL_0035: ldarg.0 - IL_0036: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 - IL_003b: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field - IL_0040: dup - IL_0041: ldind.i4 - IL_0042: stloc.0 - IL_0043: ldloc.0 - IL_0044: ldc.i4.1 - IL_0045: add - IL_0046: stind.i4 - IL_0047: ldloc.0 - IL_0048: call void [mscorlib]System.Console::WriteLine(int32) - IL_004d: ret - } // end of method CompoundAssignmentTest::NestedField + .method public hidebysig static void UintPostIncTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 396 (0x18c) + .maxstack 3 + .locals init (uint32 V_0) + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0012: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0017: dup + IL_0018: ldc.i4.1 + IL_0019: add + IL_001a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_001f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0024: ldarg.1 + IL_0025: dup + IL_0026: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_002b: stloc.0 + IL_002c: ldloc.0 + IL_002d: ldc.i4.1 + IL_002e: add + IL_002f: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0034: ldloc.0 + IL_0035: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003a: ldarg.1 + IL_003b: dup + IL_003c: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0041: stloc.0 + IL_0042: ldloc.0 + IL_0043: ldc.i4.1 + IL_0044: add + IL_0045: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_004a: ldloc.0 + IL_004b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0050: ldarga.s s + IL_0052: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0057: dup + IL_0058: ldind.u4 + IL_0059: stloc.0 + IL_005a: ldloc.0 + IL_005b: ldc.i4.1 + IL_005c: add + IL_005d: stind.i4 + IL_005e: ldloc.0 + IL_005f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0064: ldarga.s s + IL_0066: dup + IL_0067: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_006c: stloc.0 + IL_006d: ldloc.0 + IL_006e: ldc.i4.1 + IL_006f: add + IL_0070: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0075: ldloc.0 + IL_0076: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0080: dup + IL_0081: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0086: stloc.0 + IL_0087: ldloc.0 + IL_0088: ldc.i4.1 + IL_0089: add + IL_008a: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_008f: ldloc.0 + IL_0090: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0095: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009a: dup + IL_009b: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00a0: stloc.0 + IL_00a1: ldloc.0 + IL_00a2: ldc.i4.1 + IL_00a3: add + IL_00a4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00a9: ldloc.0 + IL_00aa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00af: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b4: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00b9: dup + IL_00ba: ldind.u4 + IL_00bb: stloc.0 + IL_00bc: ldloc.0 + IL_00bd: ldc.i4.1 + IL_00be: add + IL_00bf: stind.i4 + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cb: dup + IL_00cc: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00d1: stloc.0 + IL_00d2: ldloc.0 + IL_00d3: ldc.i4.1 + IL_00d4: add + IL_00d5: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00da: ldloc.0 + IL_00db: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00e5: dup + IL_00e6: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00eb: stloc.0 + IL_00ec: ldloc.0 + IL_00ed: ldc.i4.1 + IL_00ee: add + IL_00ef: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00f4: ldloc.0 + IL_00f5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0105: stloc.0 + IL_0106: ldloc.0 + IL_0107: ldc.i4.1 + IL_0108: add + IL_0109: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_010e: ldloc.0 + IL_010f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0114: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0119: dup + IL_011a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_011f: stloc.0 + IL_0120: ldloc.0 + IL_0121: ldc.i4.1 + IL_0122: add + IL_0123: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0128: ldloc.0 + IL_0129: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0133: dup + IL_0134: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0139: stloc.0 + IL_013a: ldloc.0 + IL_013b: ldc.i4.1 + IL_013c: add + IL_013d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0142: ldloc.0 + IL_0143: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0148: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_014d: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0152: dup + IL_0153: ldind.u4 + IL_0154: stloc.0 + IL_0155: ldloc.0 + IL_0156: ldc.i4.1 + IL_0157: add + IL_0158: stind.i4 + IL_0159: ldloc.0 + IL_015a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0164: dup + IL_0165: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_016a: stloc.0 + IL_016b: ldloc.0 + IL_016c: ldc.i4.1 + IL_016d: add + IL_016e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0173: ldloc.0 + IL_0174: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0179: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_017e: dup + IL_017f: ldind.u4 + IL_0180: stloc.0 + IL_0181: ldloc.0 + IL_0182: ldc.i4.1 + IL_0183: add + IL_0184: stind.i4 + IL_0185: ldloc.0 + IL_0186: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_018b: ret + } // end of method CompoundAssignmentTest::UintPostIncTest - .method public hidebysig instance void - Enum() cil managed + .method public hidebysig static void UintPreIncTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 58 (0x3a) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.0 - IL_0002: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_0007: ldc.i4.2 - IL_0008: or - IL_0009: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_000e: ldarg.0 - IL_000f: ldarg.0 - IL_0010: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_0015: ldc.i4.s -5 - IL_0017: and - IL_0018: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_001d: ldarg.0 - IL_001e: ldarg.0 - IL_001f: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_0024: ldc.i4.2 - IL_0025: add - IL_0026: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_002b: ldarg.0 - IL_002c: ldarg.0 - IL_002d: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_0032: ldc.i4.3 - IL_0033: sub - IL_0034: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_0039: ret - } // end of method CompoundAssignmentTest::Enum + // Code size 396 (0x18c) + .maxstack 3 + .locals init (uint32 V_0) + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: ldc.i4.1 + IL_0006: add + IL_0007: dup + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0012: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0017: ldc.i4.1 + IL_0018: add + IL_0019: dup + IL_001a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_001f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0024: ldarg.1 + IL_0025: dup + IL_0026: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_002b: ldc.i4.1 + IL_002c: add + IL_002d: stloc.0 + IL_002e: ldloc.0 + IL_002f: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0034: ldloc.0 + IL_0035: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003a: ldarg.1 + IL_003b: dup + IL_003c: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0041: ldc.i4.1 + IL_0042: add + IL_0043: stloc.0 + IL_0044: ldloc.0 + IL_0045: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_004a: ldloc.0 + IL_004b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0050: ldarga.s s + IL_0052: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0057: dup + IL_0058: ldind.u4 + IL_0059: ldc.i4.1 + IL_005a: add + IL_005b: stloc.0 + IL_005c: ldloc.0 + IL_005d: stind.i4 + IL_005e: ldloc.0 + IL_005f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0064: ldarga.s s + IL_0066: dup + IL_0067: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_006c: ldc.i4.1 + IL_006d: add + IL_006e: stloc.0 + IL_006f: ldloc.0 + IL_0070: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0075: ldloc.0 + IL_0076: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0080: dup + IL_0081: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0086: ldc.i4.1 + IL_0087: add + IL_0088: stloc.0 + IL_0089: ldloc.0 + IL_008a: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_008f: ldloc.0 + IL_0090: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0095: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009a: dup + IL_009b: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00a0: ldc.i4.1 + IL_00a1: add + IL_00a2: stloc.0 + IL_00a3: ldloc.0 + IL_00a4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00a9: ldloc.0 + IL_00aa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00af: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b4: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00b9: dup + IL_00ba: ldind.u4 + IL_00bb: ldc.i4.1 + IL_00bc: add + IL_00bd: stloc.0 + IL_00be: ldloc.0 + IL_00bf: stind.i4 + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cb: dup + IL_00cc: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00d1: ldc.i4.1 + IL_00d2: add + IL_00d3: stloc.0 + IL_00d4: ldloc.0 + IL_00d5: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00da: ldloc.0 + IL_00db: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00e5: dup + IL_00e6: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00eb: ldc.i4.1 + IL_00ec: add + IL_00ed: stloc.0 + IL_00ee: ldloc.0 + IL_00ef: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00f4: ldloc.0 + IL_00f5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0105: ldc.i4.1 + IL_0106: add + IL_0107: stloc.0 + IL_0108: ldloc.0 + IL_0109: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_010e: ldloc.0 + IL_010f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0114: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0119: dup + IL_011a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_011f: ldc.i4.1 + IL_0120: add + IL_0121: stloc.0 + IL_0122: ldloc.0 + IL_0123: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0128: ldloc.0 + IL_0129: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0133: dup + IL_0134: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0139: ldc.i4.1 + IL_013a: add + IL_013b: stloc.0 + IL_013c: ldloc.0 + IL_013d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0142: ldloc.0 + IL_0143: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0148: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_014d: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0152: dup + IL_0153: ldind.u4 + IL_0154: ldc.i4.1 + IL_0155: add + IL_0156: stloc.0 + IL_0157: ldloc.0 + IL_0158: stind.i4 + IL_0159: ldloc.0 + IL_015a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0164: dup + IL_0165: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_016a: ldc.i4.1 + IL_016b: add + IL_016c: stloc.0 + IL_016d: ldloc.0 + IL_016e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0173: ldloc.0 + IL_0174: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0179: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_017e: dup + IL_017f: ldind.u4 + IL_0180: ldc.i4.1 + IL_0181: add + IL_0182: stloc.0 + IL_0183: ldloc.0 + IL_0184: stind.i4 + IL_0185: ldloc.0 + IL_0186: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_018b: ret + } // end of method CompoundAssignmentTest::UintPreIncTest - .method public hidebysig instance void - ShortEnumTest() cil managed + .method public hidebysig static void UintPostDecTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 59 (0x3b) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.0 - IL_0002: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_0007: ldc.i4.2 - IL_0008: or - IL_0009: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_000e: ldarg.0 - IL_000f: ldarg.0 - IL_0010: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_0015: ldc.i4.4 - IL_0016: and - IL_0017: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_001c: ldarg.0 - IL_001d: ldarg.0 - IL_001e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_0023: ldc.i4.2 - IL_0024: add - IL_0025: conv.i2 - IL_0026: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_002b: ldarg.0 - IL_002c: ldarg.0 - IL_002d: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_0032: ldc.i4.3 - IL_0033: sub - IL_0034: conv.i2 - IL_0035: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_003a: ret - } // end of method CompoundAssignmentTest::ShortEnumTest + // Code size 396 (0x18c) + .maxstack 3 + .locals init (uint32 V_0) + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: sub + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0012: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0017: dup + IL_0018: ldc.i4.1 + IL_0019: sub + IL_001a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_001f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0024: ldarg.1 + IL_0025: dup + IL_0026: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_002b: stloc.0 + IL_002c: ldloc.0 + IL_002d: ldc.i4.1 + IL_002e: sub + IL_002f: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0034: ldloc.0 + IL_0035: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003a: ldarg.1 + IL_003b: dup + IL_003c: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0041: stloc.0 + IL_0042: ldloc.0 + IL_0043: ldc.i4.1 + IL_0044: sub + IL_0045: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_004a: ldloc.0 + IL_004b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0050: ldarga.s s + IL_0052: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0057: dup + IL_0058: ldind.u4 + IL_0059: stloc.0 + IL_005a: ldloc.0 + IL_005b: ldc.i4.1 + IL_005c: sub + IL_005d: stind.i4 + IL_005e: ldloc.0 + IL_005f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0064: ldarga.s s + IL_0066: dup + IL_0067: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_006c: stloc.0 + IL_006d: ldloc.0 + IL_006e: ldc.i4.1 + IL_006f: sub + IL_0070: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0075: ldloc.0 + IL_0076: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0080: dup + IL_0081: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0086: stloc.0 + IL_0087: ldloc.0 + IL_0088: ldc.i4.1 + IL_0089: sub + IL_008a: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_008f: ldloc.0 + IL_0090: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0095: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009a: dup + IL_009b: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00a0: stloc.0 + IL_00a1: ldloc.0 + IL_00a2: ldc.i4.1 + IL_00a3: sub + IL_00a4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00a9: ldloc.0 + IL_00aa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00af: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b4: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00b9: dup + IL_00ba: ldind.u4 + IL_00bb: stloc.0 + IL_00bc: ldloc.0 + IL_00bd: ldc.i4.1 + IL_00be: sub + IL_00bf: stind.i4 + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cb: dup + IL_00cc: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00d1: stloc.0 + IL_00d2: ldloc.0 + IL_00d3: ldc.i4.1 + IL_00d4: sub + IL_00d5: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00da: ldloc.0 + IL_00db: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00e5: dup + IL_00e6: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00eb: stloc.0 + IL_00ec: ldloc.0 + IL_00ed: ldc.i4.1 + IL_00ee: sub + IL_00ef: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00f4: ldloc.0 + IL_00f5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0105: stloc.0 + IL_0106: ldloc.0 + IL_0107: ldc.i4.1 + IL_0108: sub + IL_0109: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_010e: ldloc.0 + IL_010f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0114: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0119: dup + IL_011a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_011f: stloc.0 + IL_0120: ldloc.0 + IL_0121: ldc.i4.1 + IL_0122: sub + IL_0123: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0128: ldloc.0 + IL_0129: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0133: dup + IL_0134: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0139: stloc.0 + IL_013a: ldloc.0 + IL_013b: ldc.i4.1 + IL_013c: sub + IL_013d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0142: ldloc.0 + IL_0143: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0148: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_014d: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0152: dup + IL_0153: ldind.u4 + IL_0154: stloc.0 + IL_0155: ldloc.0 + IL_0156: ldc.i4.1 + IL_0157: sub + IL_0158: stind.i4 + IL_0159: ldloc.0 + IL_015a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0164: dup + IL_0165: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_016a: stloc.0 + IL_016b: ldloc.0 + IL_016c: ldc.i4.1 + IL_016d: sub + IL_016e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0173: ldloc.0 + IL_0174: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0179: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_017e: dup + IL_017f: ldind.u4 + IL_0180: stloc.0 + IL_0181: ldloc.0 + IL_0182: ldc.i4.1 + IL_0183: sub + IL_0184: stind.i4 + IL_0185: ldloc.0 + IL_0186: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_018b: ret + } // end of method CompoundAssignmentTest::UintPostDecTest - .method public hidebysig instance int32 - PreIncrementInAddition(int32 i, - int32 j) cil managed + .method public hidebysig static void UintPreDecTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 9 (0x9) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldarg.2 - IL_0002: ldc.i4.1 - IL_0003: add - IL_0004: dup - IL_0005: starg.s j + // Code size 396 (0x18c) + .maxstack 3 + .locals init (uint32 V_0) + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0005: ldc.i4.1 + IL_0006: sub + IL_0007: dup + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0012: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0017: ldc.i4.1 + IL_0018: sub + IL_0019: dup + IL_001a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_001f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0024: ldarg.1 + IL_0025: dup + IL_0026: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_002b: ldc.i4.1 + IL_002c: sub + IL_002d: stloc.0 + IL_002e: ldloc.0 + IL_002f: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0034: ldloc.0 + IL_0035: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003a: ldarg.1 + IL_003b: dup + IL_003c: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0041: ldc.i4.1 + IL_0042: sub + IL_0043: stloc.0 + IL_0044: ldloc.0 + IL_0045: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_004a: ldloc.0 + IL_004b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0050: ldarga.s s + IL_0052: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0057: dup + IL_0058: ldind.u4 + IL_0059: ldc.i4.1 + IL_005a: sub + IL_005b: stloc.0 + IL_005c: ldloc.0 + IL_005d: stind.i4 + IL_005e: ldloc.0 + IL_005f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0064: ldarga.s s + IL_0066: dup + IL_0067: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_006c: ldc.i4.1 + IL_006d: sub + IL_006e: stloc.0 + IL_006f: ldloc.0 + IL_0070: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0075: ldloc.0 + IL_0076: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0080: dup + IL_0081: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0086: ldc.i4.1 + IL_0087: sub + IL_0088: stloc.0 + IL_0089: ldloc.0 + IL_008a: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_008f: ldloc.0 + IL_0090: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0095: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009a: dup + IL_009b: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00a0: ldc.i4.1 + IL_00a1: sub + IL_00a2: stloc.0 + IL_00a3: ldloc.0 + IL_00a4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00a9: ldloc.0 + IL_00aa: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00af: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b4: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00b9: dup + IL_00ba: ldind.u4 + IL_00bb: ldc.i4.1 + IL_00bc: sub + IL_00bd: stloc.0 + IL_00be: ldloc.0 + IL_00bf: stind.i4 + IL_00c0: ldloc.0 + IL_00c1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cb: dup + IL_00cc: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00d1: ldc.i4.1 + IL_00d2: sub + IL_00d3: stloc.0 + IL_00d4: ldloc.0 + IL_00d5: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00da: ldloc.0 + IL_00db: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00e5: dup + IL_00e6: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00eb: ldc.i4.1 + IL_00ec: sub + IL_00ed: stloc.0 + IL_00ee: ldloc.0 + IL_00ef: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00f4: ldloc.0 + IL_00f5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0105: ldc.i4.1 + IL_0106: sub + IL_0107: stloc.0 + IL_0108: ldloc.0 + IL_0109: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_010e: ldloc.0 + IL_010f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0114: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0119: dup + IL_011a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_011f: ldc.i4.1 + IL_0120: sub + IL_0121: stloc.0 + IL_0122: ldloc.0 + IL_0123: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0128: ldloc.0 + IL_0129: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0133: dup + IL_0134: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0139: ldc.i4.1 + IL_013a: sub + IL_013b: stloc.0 + IL_013c: ldloc.0 + IL_013d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0142: ldloc.0 + IL_0143: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0148: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_014d: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0152: dup + IL_0153: ldind.u4 + IL_0154: ldc.i4.1 + IL_0155: sub + IL_0156: stloc.0 + IL_0157: ldloc.0 + IL_0158: stind.i4 + IL_0159: ldloc.0 + IL_015a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0164: dup + IL_0165: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_016a: ldc.i4.1 + IL_016b: sub + IL_016c: stloc.0 + IL_016d: ldloc.0 + IL_016e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0173: ldloc.0 + IL_0174: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0179: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_017e: dup + IL_017f: ldind.u4 + IL_0180: ldc.i4.1 + IL_0181: sub + IL_0182: stloc.0 + IL_0183: ldloc.0 + IL_0184: stind.i4 + IL_0185: ldloc.0 + IL_0186: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_018b: ret + } // end of method CompoundAssignmentTest::UintPreDecTest + + .method public hidebysig static void LongAddTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 IL_0007: add - IL_0008: ret - } // end of method CompoundAssignmentTest::PreIncrementInAddition + IL_0008: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000d: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: add + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: add + IL_0024: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: add + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0038: ldarga.s s + IL_003a: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_003f: dup + IL_0040: ldind.i8 + IL_0041: ldc.i4.5 + IL_0042: conv.i8 + IL_0043: add + IL_0044: stind.i8 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_004d: ldc.i4.5 + IL_004e: conv.i8 + IL_004f: add + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0060: ldc.i4.5 + IL_0061: conv.i8 + IL_0062: add + IL_0063: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0073: ldc.i4.5 + IL_0074: conv.i8 + IL_0075: add + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0085: dup + IL_0086: ldind.i8 + IL_0087: ldc.i4.5 + IL_0088: conv.i8 + IL_0089: add + IL_008a: stind.i8 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0096: ldc.i4.5 + IL_0097: conv.i8 + IL_0098: add + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00a9: ldc.i4.5 + IL_00aa: conv.i8 + IL_00ab: add + IL_00ac: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00bc: ldc.i4.5 + IL_00bd: conv.i8 + IL_00be: add + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00cf: ldc.i4.5 + IL_00d0: conv.i8 + IL_00d1: add + IL_00d2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e2: ldc.i4.5 + IL_00e3: conv.i8 + IL_00e4: add + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00f4: dup + IL_00f5: ldind.i8 + IL_00f6: ldc.i4.5 + IL_00f7: conv.i8 + IL_00f8: add + IL_00f9: stind.i8 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0105: ldc.i4.5 + IL_0106: conv.i8 + IL_0107: add + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_010d: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_0112: dup + IL_0113: ldind.i8 + IL_0114: ldc.i4.5 + IL_0115: conv.i8 + IL_0116: add + IL_0117: stind.i8 + IL_0118: ret + } // end of method CompoundAssignmentTest::LongAddTest - .method public hidebysig instance int32 - PreIncrementArrayElement(int32[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongSubtractTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 16 (0x10) + // Code size 281 (0x119) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.1 - IL_0001: ldarg.2 - IL_0002: ldelema [mscorlib]System.Int32 - IL_0007: dup - IL_0008: ldind.i4 - IL_0009: ldc.i4.1 - IL_000a: sub - IL_000b: stloc.0 - IL_000c: ldloc.0 - IL_000d: stind.i4 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method CompoundAssignmentTest::PreIncrementArrayElement + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: sub + IL_0008: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000d: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: sub + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: sub + IL_0024: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: sub + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0038: ldarga.s s + IL_003a: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_003f: dup + IL_0040: ldind.i8 + IL_0041: ldc.i4.5 + IL_0042: conv.i8 + IL_0043: sub + IL_0044: stind.i8 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_004d: ldc.i4.5 + IL_004e: conv.i8 + IL_004f: sub + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0060: ldc.i4.5 + IL_0061: conv.i8 + IL_0062: sub + IL_0063: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0073: ldc.i4.5 + IL_0074: conv.i8 + IL_0075: sub + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0085: dup + IL_0086: ldind.i8 + IL_0087: ldc.i4.5 + IL_0088: conv.i8 + IL_0089: sub + IL_008a: stind.i8 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0096: ldc.i4.5 + IL_0097: conv.i8 + IL_0098: sub + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00a9: ldc.i4.5 + IL_00aa: conv.i8 + IL_00ab: sub + IL_00ac: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00bc: ldc.i4.5 + IL_00bd: conv.i8 + IL_00be: sub + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00cf: ldc.i4.5 + IL_00d0: conv.i8 + IL_00d1: sub + IL_00d2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e2: ldc.i4.5 + IL_00e3: conv.i8 + IL_00e4: sub + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00f4: dup + IL_00f5: ldind.i8 + IL_00f6: ldc.i4.5 + IL_00f7: conv.i8 + IL_00f8: sub + IL_00f9: stind.i8 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0105: ldc.i4.5 + IL_0106: conv.i8 + IL_0107: sub + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_010d: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_0112: dup + IL_0113: ldind.i8 + IL_0114: ldc.i4.5 + IL_0115: conv.i8 + IL_0116: sub + IL_0117: stind.i8 + IL_0118: ret + } // end of method CompoundAssignmentTest::LongSubtractTest - .method public hidebysig instance int32 - PostIncrementArrayElement(int32[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongMultiplyTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 16 (0x10) + // Code size 281 (0x119) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.1 - IL_0001: ldarg.2 - IL_0002: ldelema [mscorlib]System.Int32 - IL_0007: dup - IL_0008: ldind.i4 - IL_0009: stloc.0 - IL_000a: ldloc.0 - IL_000b: ldc.i4.1 - IL_000c: add - IL_000d: stind.i4 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method CompoundAssignmentTest::PostIncrementArrayElement + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: mul + IL_0008: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000d: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: mul + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: mul + IL_0024: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: mul + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0038: ldarga.s s + IL_003a: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_003f: dup + IL_0040: ldind.i8 + IL_0041: ldc.i4.5 + IL_0042: conv.i8 + IL_0043: mul + IL_0044: stind.i8 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_004d: ldc.i4.5 + IL_004e: conv.i8 + IL_004f: mul + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0060: ldc.i4.5 + IL_0061: conv.i8 + IL_0062: mul + IL_0063: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0073: ldc.i4.5 + IL_0074: conv.i8 + IL_0075: mul + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0085: dup + IL_0086: ldind.i8 + IL_0087: ldc.i4.5 + IL_0088: conv.i8 + IL_0089: mul + IL_008a: stind.i8 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0096: ldc.i4.5 + IL_0097: conv.i8 + IL_0098: mul + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00a9: ldc.i4.5 + IL_00aa: conv.i8 + IL_00ab: mul + IL_00ac: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00bc: ldc.i4.5 + IL_00bd: conv.i8 + IL_00be: mul + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00cf: ldc.i4.5 + IL_00d0: conv.i8 + IL_00d1: mul + IL_00d2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e2: ldc.i4.5 + IL_00e3: conv.i8 + IL_00e4: mul + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00f4: dup + IL_00f5: ldind.i8 + IL_00f6: ldc.i4.5 + IL_00f7: conv.i8 + IL_00f8: mul + IL_00f9: stind.i8 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0105: ldc.i4.5 + IL_0106: conv.i8 + IL_0107: mul + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_010d: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_0112: dup + IL_0113: ldind.i8 + IL_0114: ldc.i4.5 + IL_0115: conv.i8 + IL_0116: mul + IL_0117: stind.i8 + IL_0118: ret + } // end of method CompoundAssignmentTest::LongMultiplyTest - .method public hidebysig instance void - IncrementArrayElement(int32[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongDivideTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 13 (0xd) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldarg.2 - IL_0002: ldelema [mscorlib]System.Int32 - IL_0007: dup - IL_0008: ldind.i4 - IL_0009: ldc.i4.1 - IL_000a: add - IL_000b: stind.i4 - IL_000c: ret - } // end of method CompoundAssignmentTest::IncrementArrayElement + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: div + IL_0008: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000d: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: div + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: div + IL_0024: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: div + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0038: ldarga.s s + IL_003a: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_003f: dup + IL_0040: ldind.i8 + IL_0041: ldc.i4.5 + IL_0042: conv.i8 + IL_0043: div + IL_0044: stind.i8 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_004d: ldc.i4.5 + IL_004e: conv.i8 + IL_004f: div + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0060: ldc.i4.5 + IL_0061: conv.i8 + IL_0062: div + IL_0063: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0073: ldc.i4.5 + IL_0074: conv.i8 + IL_0075: div + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0085: dup + IL_0086: ldind.i8 + IL_0087: ldc.i4.5 + IL_0088: conv.i8 + IL_0089: div + IL_008a: stind.i8 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0096: ldc.i4.5 + IL_0097: conv.i8 + IL_0098: div + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00a9: ldc.i4.5 + IL_00aa: conv.i8 + IL_00ab: div + IL_00ac: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00bc: ldc.i4.5 + IL_00bd: conv.i8 + IL_00be: div + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00cf: ldc.i4.5 + IL_00d0: conv.i8 + IL_00d1: div + IL_00d2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e2: ldc.i4.5 + IL_00e3: conv.i8 + IL_00e4: div + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00f4: dup + IL_00f5: ldind.i8 + IL_00f6: ldc.i4.5 + IL_00f7: conv.i8 + IL_00f8: div + IL_00f9: stind.i8 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0105: ldc.i4.5 + IL_0106: conv.i8 + IL_0107: div + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_010d: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_0112: dup + IL_0113: ldind.i8 + IL_0114: ldc.i4.5 + IL_0115: conv.i8 + IL_0116: div + IL_0117: stind.i8 + IL_0118: ret + } // end of method CompoundAssignmentTest::LongDivideTest - .method public hidebysig instance void - DoubleArrayElement(int32[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongModulusTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 13 (0xd) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldarg.2 - IL_0002: ldelema [mscorlib]System.Int32 - IL_0007: dup - IL_0008: ldind.i4 - IL_0009: ldc.i4.2 - IL_000a: mul - IL_000b: stind.i4 - IL_000c: ret - } // end of method CompoundAssignmentTest::DoubleArrayElement + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: rem + IL_0008: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000d: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: rem + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: rem + IL_0024: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: rem + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0038: ldarga.s s + IL_003a: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_003f: dup + IL_0040: ldind.i8 + IL_0041: ldc.i4.5 + IL_0042: conv.i8 + IL_0043: rem + IL_0044: stind.i8 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_004d: ldc.i4.5 + IL_004e: conv.i8 + IL_004f: rem + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0060: ldc.i4.5 + IL_0061: conv.i8 + IL_0062: rem + IL_0063: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0073: ldc.i4.5 + IL_0074: conv.i8 + IL_0075: rem + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0085: dup + IL_0086: ldind.i8 + IL_0087: ldc.i4.5 + IL_0088: conv.i8 + IL_0089: rem + IL_008a: stind.i8 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0096: ldc.i4.5 + IL_0097: conv.i8 + IL_0098: rem + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00a9: ldc.i4.5 + IL_00aa: conv.i8 + IL_00ab: rem + IL_00ac: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00bc: ldc.i4.5 + IL_00bd: conv.i8 + IL_00be: rem + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00cf: ldc.i4.5 + IL_00d0: conv.i8 + IL_00d1: rem + IL_00d2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e2: ldc.i4.5 + IL_00e3: conv.i8 + IL_00e4: rem + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00f4: dup + IL_00f5: ldind.i8 + IL_00f6: ldc.i4.5 + IL_00f7: conv.i8 + IL_00f8: rem + IL_00f9: stind.i8 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0105: ldc.i4.5 + IL_0106: conv.i8 + IL_0107: rem + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_010d: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_0112: dup + IL_0113: ldind.i8 + IL_0114: ldc.i4.5 + IL_0115: conv.i8 + IL_0116: rem + IL_0117: stind.i8 + IL_0118: ret + } // end of method CompoundAssignmentTest::LongModulusTest - .method public hidebysig instance int32 - DoubleArrayElementAndReturn(int32[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongLeftShiftTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 16 (0x10) + // Code size 264 (0x108) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.1 - IL_0001: ldarg.2 - IL_0002: ldelema [mscorlib]System.Int32 - IL_0007: dup - IL_0008: ldind.i4 - IL_0009: ldc.i4.2 - IL_000a: mul - IL_000b: dup - IL_000c: stloc.0 - IL_000d: stind.i4 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method CompoundAssignmentTest::DoubleArrayElementAndReturn + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: ldc.i4.5 + IL_0006: shl + IL_0007: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000c: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0011: ldc.i4.5 + IL_0012: shl + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_001f: ldc.i4.5 + IL_0020: shl + IL_0021: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_002d: ldc.i4.5 + IL_002e: shl + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0034: ldarga.s s + IL_0036: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_003b: dup + IL_003c: ldind.i8 + IL_003d: ldc.i4.5 + IL_003e: shl + IL_003f: stind.i8 + IL_0040: ldarga.s s + IL_0042: dup + IL_0043: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0048: ldc.i4.5 + IL_0049: shl + IL_004a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_004f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0054: dup + IL_0055: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_005a: ldc.i4.5 + IL_005b: shl + IL_005c: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0061: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0066: dup + IL_0067: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_006c: ldc.i4.5 + IL_006d: shl + IL_006e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0073: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0078: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_007d: dup + IL_007e: ldind.i8 + IL_007f: ldc.i4.5 + IL_0080: shl + IL_0081: stind.i8 + IL_0082: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0087: dup + IL_0088: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_008d: ldc.i4.5 + IL_008e: shl + IL_008f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0094: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0099: dup + IL_009a: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_009f: ldc.i4.5 + IL_00a0: shl + IL_00a1: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00a6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ab: dup + IL_00ac: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00b1: ldc.i4.5 + IL_00b2: shl + IL_00b3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00bd: dup + IL_00be: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00c3: ldc.i4.5 + IL_00c4: shl + IL_00c5: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00d5: ldc.i4.5 + IL_00d6: shl + IL_00d7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e1: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00e6: dup + IL_00e7: ldind.i8 + IL_00e8: ldc.i4.5 + IL_00e9: shl + IL_00ea: stind.i8 + IL_00eb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f0: dup + IL_00f1: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00f6: ldc.i4.5 + IL_00f7: shl + IL_00f8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00fd: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_0102: dup + IL_0103: ldind.i8 + IL_0104: ldc.i4.5 + IL_0105: shl + IL_0106: stind.i8 + IL_0107: ret + } // end of method CompoundAssignmentTest::LongLeftShiftTest - .method public hidebysig instance int32 - PreIncrementArrayElementShort(int16[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongRightShiftTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 17 (0x11) + // Code size 264 (0x108) + .maxstack 3 + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: ldc.i4.5 + IL_0006: shr + IL_0007: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000c: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0011: ldc.i4.5 + IL_0012: shr + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_001f: ldc.i4.5 + IL_0020: shr + IL_0021: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_002d: ldc.i4.5 + IL_002e: shr + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0034: ldarga.s s + IL_0036: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_003b: dup + IL_003c: ldind.i8 + IL_003d: ldc.i4.5 + IL_003e: shr + IL_003f: stind.i8 + IL_0040: ldarga.s s + IL_0042: dup + IL_0043: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0048: ldc.i4.5 + IL_0049: shr + IL_004a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_004f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0054: dup + IL_0055: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_005a: ldc.i4.5 + IL_005b: shr + IL_005c: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0061: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0066: dup + IL_0067: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_006c: ldc.i4.5 + IL_006d: shr + IL_006e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0073: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0078: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_007d: dup + IL_007e: ldind.i8 + IL_007f: ldc.i4.5 + IL_0080: shr + IL_0081: stind.i8 + IL_0082: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0087: dup + IL_0088: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_008d: ldc.i4.5 + IL_008e: shr + IL_008f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0094: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0099: dup + IL_009a: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_009f: ldc.i4.5 + IL_00a0: shr + IL_00a1: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00a6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ab: dup + IL_00ac: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00b1: ldc.i4.5 + IL_00b2: shr + IL_00b3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00bd: dup + IL_00be: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00c3: ldc.i4.5 + IL_00c4: shr + IL_00c5: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00d5: ldc.i4.5 + IL_00d6: shr + IL_00d7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e1: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00e6: dup + IL_00e7: ldind.i8 + IL_00e8: ldc.i4.5 + IL_00e9: shr + IL_00ea: stind.i8 + IL_00eb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f0: dup + IL_00f1: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00f6: ldc.i4.5 + IL_00f7: shr + IL_00f8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00fd: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_0102: dup + IL_0103: ldind.i8 + IL_0104: ldc.i4.5 + IL_0105: shr + IL_0106: stind.i8 + IL_0107: ret + } // end of method CompoundAssignmentTest::LongRightShiftTest + + .method public hidebysig static void LongBitAndTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 281 (0x119) .maxstack 3 - .locals init (int16 V_0) - IL_0000: ldarg.1 - IL_0001: ldarg.2 - IL_0002: ldelema [mscorlib]System.Int16 - IL_0007: dup - IL_0008: ldind.i2 - IL_0009: ldc.i4.1 - IL_000a: sub - IL_000b: conv.i2 - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: stind.i2 - IL_000f: ldloc.0 - IL_0010: ret - } // end of method CompoundAssignmentTest::PreIncrementArrayElementShort + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: and + IL_0008: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000d: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: and + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: and + IL_0024: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: and + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0038: ldarga.s s + IL_003a: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_003f: dup + IL_0040: ldind.i8 + IL_0041: ldc.i4.5 + IL_0042: conv.i8 + IL_0043: and + IL_0044: stind.i8 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_004d: ldc.i4.5 + IL_004e: conv.i8 + IL_004f: and + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0060: ldc.i4.5 + IL_0061: conv.i8 + IL_0062: and + IL_0063: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0073: ldc.i4.5 + IL_0074: conv.i8 + IL_0075: and + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0085: dup + IL_0086: ldind.i8 + IL_0087: ldc.i4.5 + IL_0088: conv.i8 + IL_0089: and + IL_008a: stind.i8 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0096: ldc.i4.5 + IL_0097: conv.i8 + IL_0098: and + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00a9: ldc.i4.5 + IL_00aa: conv.i8 + IL_00ab: and + IL_00ac: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00bc: ldc.i4.5 + IL_00bd: conv.i8 + IL_00be: and + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00cf: ldc.i4.5 + IL_00d0: conv.i8 + IL_00d1: and + IL_00d2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e2: ldc.i4.5 + IL_00e3: conv.i8 + IL_00e4: and + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00f4: dup + IL_00f5: ldind.i8 + IL_00f6: ldc.i4.5 + IL_00f7: conv.i8 + IL_00f8: and + IL_00f9: stind.i8 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0105: ldc.i4.5 + IL_0106: conv.i8 + IL_0107: and + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_010d: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_0112: dup + IL_0113: ldind.i8 + IL_0114: ldc.i4.5 + IL_0115: conv.i8 + IL_0116: and + IL_0117: stind.i8 + IL_0118: ret + } // end of method CompoundAssignmentTest::LongBitAndTest - .method public hidebysig instance int32 - PostIncrementArrayElementShort(int16[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongBitOrTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 17 (0x11) + // Code size 281 (0x119) .maxstack 3 - .locals init (int16 V_0) - IL_0000: ldarg.1 - IL_0001: ldarg.2 - IL_0002: ldelema [mscorlib]System.Int16 - IL_0007: dup - IL_0008: ldind.i2 - IL_0009: stloc.0 - IL_000a: ldloc.0 - IL_000b: ldc.i4.1 - IL_000c: add - IL_000d: conv.i2 - IL_000e: stind.i2 - IL_000f: ldloc.0 - IL_0010: ret - } // end of method CompoundAssignmentTest::PostIncrementArrayElementShort + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: or + IL_0008: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000d: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: or + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: or + IL_0024: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: or + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0038: ldarga.s s + IL_003a: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_003f: dup + IL_0040: ldind.i8 + IL_0041: ldc.i4.5 + IL_0042: conv.i8 + IL_0043: or + IL_0044: stind.i8 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_004d: ldc.i4.5 + IL_004e: conv.i8 + IL_004f: or + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0060: ldc.i4.5 + IL_0061: conv.i8 + IL_0062: or + IL_0063: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0073: ldc.i4.5 + IL_0074: conv.i8 + IL_0075: or + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0085: dup + IL_0086: ldind.i8 + IL_0087: ldc.i4.5 + IL_0088: conv.i8 + IL_0089: or + IL_008a: stind.i8 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0096: ldc.i4.5 + IL_0097: conv.i8 + IL_0098: or + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00a9: ldc.i4.5 + IL_00aa: conv.i8 + IL_00ab: or + IL_00ac: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00bc: ldc.i4.5 + IL_00bd: conv.i8 + IL_00be: or + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00cf: ldc.i4.5 + IL_00d0: conv.i8 + IL_00d1: or + IL_00d2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e2: ldc.i4.5 + IL_00e3: conv.i8 + IL_00e4: or + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00f4: dup + IL_00f5: ldind.i8 + IL_00f6: ldc.i4.5 + IL_00f7: conv.i8 + IL_00f8: or + IL_00f9: stind.i8 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0105: ldc.i4.5 + IL_0106: conv.i8 + IL_0107: or + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_010d: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_0112: dup + IL_0113: ldind.i8 + IL_0114: ldc.i4.5 + IL_0115: conv.i8 + IL_0116: or + IL_0117: stind.i8 + IL_0118: ret + } // end of method CompoundAssignmentTest::LongBitOrTest - .method public hidebysig instance void - IncrementArrayElementShort(int16[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongBitXorTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldarg.2 - IL_0002: ldelema [mscorlib]System.Int16 - IL_0007: dup - IL_0008: ldind.i2 - IL_0009: ldc.i4.1 - IL_000a: add - IL_000b: conv.i2 - IL_000c: stind.i2 - IL_000d: ret - } // end of method CompoundAssignmentTest::IncrementArrayElementShort + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: xor + IL_0008: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000d: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: xor + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: xor + IL_0024: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: xor + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0038: ldarga.s s + IL_003a: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_003f: dup + IL_0040: ldind.i8 + IL_0041: ldc.i4.5 + IL_0042: conv.i8 + IL_0043: xor + IL_0044: stind.i8 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_004d: ldc.i4.5 + IL_004e: conv.i8 + IL_004f: xor + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0060: ldc.i4.5 + IL_0061: conv.i8 + IL_0062: xor + IL_0063: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0073: ldc.i4.5 + IL_0074: conv.i8 + IL_0075: xor + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0085: dup + IL_0086: ldind.i8 + IL_0087: ldc.i4.5 + IL_0088: conv.i8 + IL_0089: xor + IL_008a: stind.i8 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0096: ldc.i4.5 + IL_0097: conv.i8 + IL_0098: xor + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00a9: ldc.i4.5 + IL_00aa: conv.i8 + IL_00ab: xor + IL_00ac: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00bc: ldc.i4.5 + IL_00bd: conv.i8 + IL_00be: xor + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00cf: ldc.i4.5 + IL_00d0: conv.i8 + IL_00d1: xor + IL_00d2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e2: ldc.i4.5 + IL_00e3: conv.i8 + IL_00e4: xor + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00f4: dup + IL_00f5: ldind.i8 + IL_00f6: ldc.i4.5 + IL_00f7: conv.i8 + IL_00f8: xor + IL_00f9: stind.i8 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0105: ldc.i4.5 + IL_0106: conv.i8 + IL_0107: xor + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_010d: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_0112: dup + IL_0113: ldind.i8 + IL_0114: ldc.i4.5 + IL_0115: conv.i8 + IL_0116: xor + IL_0117: stind.i8 + IL_0118: ret + } // end of method CompoundAssignmentTest::LongBitXorTest - .method public hidebysig instance void - DoubleArrayElementShort(int16[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongPostIncTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: ldarg.2 - IL_0002: ldelema [mscorlib]System.Int16 - IL_0007: dup - IL_0008: ldind.i2 - IL_0009: ldc.i4.2 - IL_000a: mul - IL_000b: conv.i2 - IL_000c: stind.i2 - IL_000d: ret - } // end of method CompoundAssignmentTest::DoubleArrayElementShort + // Code size 413 (0x19d) + .maxstack 3 + .locals init (int64 V_0) + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: conv.i8 + IL_0008: add + IL_0009: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0018: dup + IL_0019: ldc.i4.1 + IL_001a: conv.i8 + IL_001b: add + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_002d: stloc.0 + IL_002e: ldloc.0 + IL_002f: ldc.i4.1 + IL_0030: conv.i8 + IL_0031: add + IL_0032: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0044: stloc.0 + IL_0045: ldloc.0 + IL_0046: ldc.i4.1 + IL_0047: conv.i8 + IL_0048: add + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_004e: ldloc.0 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_005b: dup + IL_005c: ldind.i8 + IL_005d: stloc.0 + IL_005e: ldloc.0 + IL_005f: ldc.i4.1 + IL_0060: conv.i8 + IL_0061: add + IL_0062: stind.i8 + IL_0063: ldloc.0 + IL_0064: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0069: ldarga.s s + IL_006b: dup + IL_006c: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0071: stloc.0 + IL_0072: ldloc.0 + IL_0073: ldc.i4.1 + IL_0074: conv.i8 + IL_0075: add + IL_0076: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_007b: ldloc.0 + IL_007c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_008c: stloc.0 + IL_008d: ldloc.0 + IL_008e: ldc.i4.1 + IL_008f: conv.i8 + IL_0090: add + IL_0091: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0096: ldloc.0 + IL_0097: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00a7: stloc.0 + IL_00a8: ldloc.0 + IL_00a9: ldc.i4.1 + IL_00aa: conv.i8 + IL_00ab: add + IL_00ac: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bc: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00c1: dup + IL_00c2: ldind.i8 + IL_00c3: stloc.0 + IL_00c4: ldloc.0 + IL_00c5: ldc.i4.1 + IL_00c6: conv.i8 + IL_00c7: add + IL_00c8: stind.i8 + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: dup + IL_00d5: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00da: stloc.0 + IL_00db: ldloc.0 + IL_00dc: ldc.i4.1 + IL_00dd: conv.i8 + IL_00de: add + IL_00df: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00e4: ldloc.0 + IL_00e5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ef: dup + IL_00f0: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00f5: stloc.0 + IL_00f6: ldloc.0 + IL_00f7: ldc.i4.1 + IL_00f8: conv.i8 + IL_00f9: add + IL_00fa: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00ff: ldloc.0 + IL_0100: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010a: dup + IL_010b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0110: stloc.0 + IL_0111: ldloc.0 + IL_0112: ldc.i4.1 + IL_0113: conv.i8 + IL_0114: add + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_011a: ldloc.0 + IL_011b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0120: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0125: dup + IL_0126: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_012b: stloc.0 + IL_012c: ldloc.0 + IL_012d: ldc.i4.1 + IL_012e: conv.i8 + IL_012f: add + IL_0130: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0140: dup + IL_0141: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0146: stloc.0 + IL_0147: ldloc.0 + IL_0148: ldc.i4.1 + IL_0149: conv.i8 + IL_014a: add + IL_014b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0150: ldloc.0 + IL_0151: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0156: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_015b: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0160: dup + IL_0161: ldind.i8 + IL_0162: stloc.0 + IL_0163: ldloc.0 + IL_0164: ldc.i4.1 + IL_0165: conv.i8 + IL_0166: add + IL_0167: stind.i8 + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0173: dup + IL_0174: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0179: stloc.0 + IL_017a: ldloc.0 + IL_017b: ldc.i4.1 + IL_017c: conv.i8 + IL_017d: add + IL_017e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0183: ldloc.0 + IL_0184: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0189: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_018e: dup + IL_018f: ldind.i8 + IL_0190: stloc.0 + IL_0191: ldloc.0 + IL_0192: ldc.i4.1 + IL_0193: conv.i8 + IL_0194: add + IL_0195: stind.i8 + IL_0196: ldloc.0 + IL_0197: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_019c: ret + } // end of method CompoundAssignmentTest::LongPostIncTest - .method public hidebysig instance int16 - DoubleArrayElementShortAndReturn(int16[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongPreIncTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 17 (0x11) + // Code size 413 (0x19d) .maxstack 3 - .locals init (int16 V_0) - IL_0000: ldarg.1 - IL_0001: ldarg.2 - IL_0002: ldelema [mscorlib]System.Int16 - IL_0007: dup - IL_0008: ldind.i2 - IL_0009: ldc.i4.2 - IL_000a: mul - IL_000b: conv.i2 - IL_000c: dup - IL_000d: stloc.0 - IL_000e: stind.i2 - IL_000f: ldloc.0 - IL_0010: ret - } // end of method CompoundAssignmentTest::DoubleArrayElementShortAndReturn + .locals init (int64 V_0) + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: ldc.i4.1 + IL_0006: conv.i8 + IL_0007: add + IL_0008: dup + IL_0009: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0018: ldc.i4.1 + IL_0019: conv.i8 + IL_001a: add + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_002d: ldc.i4.1 + IL_002e: conv.i8 + IL_002f: add + IL_0030: stloc.0 + IL_0031: ldloc.0 + IL_0032: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0044: ldc.i4.1 + IL_0045: conv.i8 + IL_0046: add + IL_0047: stloc.0 + IL_0048: ldloc.0 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_004e: ldloc.0 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_005b: dup + IL_005c: ldind.i8 + IL_005d: ldc.i4.1 + IL_005e: conv.i8 + IL_005f: add + IL_0060: stloc.0 + IL_0061: ldloc.0 + IL_0062: stind.i8 + IL_0063: ldloc.0 + IL_0064: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0069: ldarga.s s + IL_006b: dup + IL_006c: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0071: ldc.i4.1 + IL_0072: conv.i8 + IL_0073: add + IL_0074: stloc.0 + IL_0075: ldloc.0 + IL_0076: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_007b: ldloc.0 + IL_007c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_008c: ldc.i4.1 + IL_008d: conv.i8 + IL_008e: add + IL_008f: stloc.0 + IL_0090: ldloc.0 + IL_0091: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0096: ldloc.0 + IL_0097: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00a7: ldc.i4.1 + IL_00a8: conv.i8 + IL_00a9: add + IL_00aa: stloc.0 + IL_00ab: ldloc.0 + IL_00ac: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bc: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00c1: dup + IL_00c2: ldind.i8 + IL_00c3: ldc.i4.1 + IL_00c4: conv.i8 + IL_00c5: add + IL_00c6: stloc.0 + IL_00c7: ldloc.0 + IL_00c8: stind.i8 + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: dup + IL_00d5: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00da: ldc.i4.1 + IL_00db: conv.i8 + IL_00dc: add + IL_00dd: stloc.0 + IL_00de: ldloc.0 + IL_00df: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00e4: ldloc.0 + IL_00e5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ef: dup + IL_00f0: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00f5: ldc.i4.1 + IL_00f6: conv.i8 + IL_00f7: add + IL_00f8: stloc.0 + IL_00f9: ldloc.0 + IL_00fa: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00ff: ldloc.0 + IL_0100: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010a: dup + IL_010b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0110: ldc.i4.1 + IL_0111: conv.i8 + IL_0112: add + IL_0113: stloc.0 + IL_0114: ldloc.0 + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_011a: ldloc.0 + IL_011b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0120: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0125: dup + IL_0126: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_012b: ldc.i4.1 + IL_012c: conv.i8 + IL_012d: add + IL_012e: stloc.0 + IL_012f: ldloc.0 + IL_0130: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0140: dup + IL_0141: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0146: ldc.i4.1 + IL_0147: conv.i8 + IL_0148: add + IL_0149: stloc.0 + IL_014a: ldloc.0 + IL_014b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0150: ldloc.0 + IL_0151: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0156: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_015b: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0160: dup + IL_0161: ldind.i8 + IL_0162: ldc.i4.1 + IL_0163: conv.i8 + IL_0164: add + IL_0165: stloc.0 + IL_0166: ldloc.0 + IL_0167: stind.i8 + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0173: dup + IL_0174: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0179: ldc.i4.1 + IL_017a: conv.i8 + IL_017b: add + IL_017c: stloc.0 + IL_017d: ldloc.0 + IL_017e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0183: ldloc.0 + IL_0184: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0189: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_018e: dup + IL_018f: ldind.i8 + IL_0190: ldc.i4.1 + IL_0191: conv.i8 + IL_0192: add + IL_0193: stloc.0 + IL_0194: ldloc.0 + IL_0195: stind.i8 + IL_0196: ldloc.0 + IL_0197: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_019c: ret + } // end of method CompoundAssignmentTest::LongPreIncTest - .method public hidebysig instance int32 - PreIncrementInstanceField() cil managed + .method public hidebysig static void LongPostDecTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 23 (0x17) + // Code size 413 (0x19d) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_000c: ldc.i4.1 - IL_000d: add - IL_000e: stloc.0 - IL_000f: ldloc.0 - IL_0010: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0015: ldloc.0 - IL_0016: ret - } // end of method CompoundAssignmentTest::PreIncrementInstanceField + .locals init (int64 V_0) + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: conv.i8 + IL_0008: sub + IL_0009: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0018: dup + IL_0019: ldc.i4.1 + IL_001a: conv.i8 + IL_001b: sub + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_002d: stloc.0 + IL_002e: ldloc.0 + IL_002f: ldc.i4.1 + IL_0030: conv.i8 + IL_0031: sub + IL_0032: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0044: stloc.0 + IL_0045: ldloc.0 + IL_0046: ldc.i4.1 + IL_0047: conv.i8 + IL_0048: sub + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_004e: ldloc.0 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_005b: dup + IL_005c: ldind.i8 + IL_005d: stloc.0 + IL_005e: ldloc.0 + IL_005f: ldc.i4.1 + IL_0060: conv.i8 + IL_0061: sub + IL_0062: stind.i8 + IL_0063: ldloc.0 + IL_0064: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0069: ldarga.s s + IL_006b: dup + IL_006c: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0071: stloc.0 + IL_0072: ldloc.0 + IL_0073: ldc.i4.1 + IL_0074: conv.i8 + IL_0075: sub + IL_0076: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_007b: ldloc.0 + IL_007c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_008c: stloc.0 + IL_008d: ldloc.0 + IL_008e: ldc.i4.1 + IL_008f: conv.i8 + IL_0090: sub + IL_0091: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0096: ldloc.0 + IL_0097: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00a7: stloc.0 + IL_00a8: ldloc.0 + IL_00a9: ldc.i4.1 + IL_00aa: conv.i8 + IL_00ab: sub + IL_00ac: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bc: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00c1: dup + IL_00c2: ldind.i8 + IL_00c3: stloc.0 + IL_00c4: ldloc.0 + IL_00c5: ldc.i4.1 + IL_00c6: conv.i8 + IL_00c7: sub + IL_00c8: stind.i8 + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: dup + IL_00d5: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00da: stloc.0 + IL_00db: ldloc.0 + IL_00dc: ldc.i4.1 + IL_00dd: conv.i8 + IL_00de: sub + IL_00df: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00e4: ldloc.0 + IL_00e5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ef: dup + IL_00f0: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00f5: stloc.0 + IL_00f6: ldloc.0 + IL_00f7: ldc.i4.1 + IL_00f8: conv.i8 + IL_00f9: sub + IL_00fa: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00ff: ldloc.0 + IL_0100: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010a: dup + IL_010b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0110: stloc.0 + IL_0111: ldloc.0 + IL_0112: ldc.i4.1 + IL_0113: conv.i8 + IL_0114: sub + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_011a: ldloc.0 + IL_011b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0120: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0125: dup + IL_0126: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_012b: stloc.0 + IL_012c: ldloc.0 + IL_012d: ldc.i4.1 + IL_012e: conv.i8 + IL_012f: sub + IL_0130: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0140: dup + IL_0141: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0146: stloc.0 + IL_0147: ldloc.0 + IL_0148: ldc.i4.1 + IL_0149: conv.i8 + IL_014a: sub + IL_014b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0150: ldloc.0 + IL_0151: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0156: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_015b: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0160: dup + IL_0161: ldind.i8 + IL_0162: stloc.0 + IL_0163: ldloc.0 + IL_0164: ldc.i4.1 + IL_0165: conv.i8 + IL_0166: sub + IL_0167: stind.i8 + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0173: dup + IL_0174: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0179: stloc.0 + IL_017a: ldloc.0 + IL_017b: ldc.i4.1 + IL_017c: conv.i8 + IL_017d: sub + IL_017e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0183: ldloc.0 + IL_0184: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0189: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_018e: dup + IL_018f: ldind.i8 + IL_0190: stloc.0 + IL_0191: ldloc.0 + IL_0192: ldc.i4.1 + IL_0193: conv.i8 + IL_0194: sub + IL_0195: stind.i8 + IL_0196: ldloc.0 + IL_0197: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_019c: ret + } // end of method CompoundAssignmentTest::LongPostDecTest - .method public hidebysig instance int32 - PostIncrementInstanceField() cil managed + .method public hidebysig static void LongPreDecTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 23 (0x17) + // Code size 413 (0x19d) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: ldc.i4.1 - IL_000f: add - IL_0010: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0015: ldloc.0 - IL_0016: ret - } // end of method CompoundAssignmentTest::PostIncrementInstanceField + .locals init (int64 V_0) + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0005: ldc.i4.1 + IL_0006: conv.i8 + IL_0007: sub + IL_0008: dup + IL_0009: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0018: ldc.i4.1 + IL_0019: conv.i8 + IL_001a: sub + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_002d: ldc.i4.1 + IL_002e: conv.i8 + IL_002f: sub + IL_0030: stloc.0 + IL_0031: ldloc.0 + IL_0032: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0044: ldc.i4.1 + IL_0045: conv.i8 + IL_0046: sub + IL_0047: stloc.0 + IL_0048: ldloc.0 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_004e: ldloc.0 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_005b: dup + IL_005c: ldind.i8 + IL_005d: ldc.i4.1 + IL_005e: conv.i8 + IL_005f: sub + IL_0060: stloc.0 + IL_0061: ldloc.0 + IL_0062: stind.i8 + IL_0063: ldloc.0 + IL_0064: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0069: ldarga.s s + IL_006b: dup + IL_006c: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0071: ldc.i4.1 + IL_0072: conv.i8 + IL_0073: sub + IL_0074: stloc.0 + IL_0075: ldloc.0 + IL_0076: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_007b: ldloc.0 + IL_007c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_008c: ldc.i4.1 + IL_008d: conv.i8 + IL_008e: sub + IL_008f: stloc.0 + IL_0090: ldloc.0 + IL_0091: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0096: ldloc.0 + IL_0097: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00a7: ldc.i4.1 + IL_00a8: conv.i8 + IL_00a9: sub + IL_00aa: stloc.0 + IL_00ab: ldloc.0 + IL_00ac: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bc: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00c1: dup + IL_00c2: ldind.i8 + IL_00c3: ldc.i4.1 + IL_00c4: conv.i8 + IL_00c5: sub + IL_00c6: stloc.0 + IL_00c7: ldloc.0 + IL_00c8: stind.i8 + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: dup + IL_00d5: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00da: ldc.i4.1 + IL_00db: conv.i8 + IL_00dc: sub + IL_00dd: stloc.0 + IL_00de: ldloc.0 + IL_00df: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00e4: ldloc.0 + IL_00e5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ef: dup + IL_00f0: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00f5: ldc.i4.1 + IL_00f6: conv.i8 + IL_00f7: sub + IL_00f8: stloc.0 + IL_00f9: ldloc.0 + IL_00fa: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00ff: ldloc.0 + IL_0100: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010a: dup + IL_010b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0110: ldc.i4.1 + IL_0111: conv.i8 + IL_0112: sub + IL_0113: stloc.0 + IL_0114: ldloc.0 + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_011a: ldloc.0 + IL_011b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0120: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0125: dup + IL_0126: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_012b: ldc.i4.1 + IL_012c: conv.i8 + IL_012d: sub + IL_012e: stloc.0 + IL_012f: ldloc.0 + IL_0130: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0140: dup + IL_0141: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0146: ldc.i4.1 + IL_0147: conv.i8 + IL_0148: sub + IL_0149: stloc.0 + IL_014a: ldloc.0 + IL_014b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0150: ldloc.0 + IL_0151: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0156: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_015b: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0160: dup + IL_0161: ldind.i8 + IL_0162: ldc.i4.1 + IL_0163: conv.i8 + IL_0164: sub + IL_0165: stloc.0 + IL_0166: ldloc.0 + IL_0167: stind.i8 + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0173: dup + IL_0174: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0179: ldc.i4.1 + IL_017a: conv.i8 + IL_017b: sub + IL_017c: stloc.0 + IL_017d: ldloc.0 + IL_017e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0183: ldloc.0 + IL_0184: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0189: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_018e: dup + IL_018f: ldind.i8 + IL_0190: ldc.i4.1 + IL_0191: conv.i8 + IL_0192: sub + IL_0193: stloc.0 + IL_0194: ldloc.0 + IL_0195: stind.i8 + IL_0196: ldloc.0 + IL_0197: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_019c: ret + } // end of method CompoundAssignmentTest::LongPreDecTest - .method public hidebysig instance void - IncrementInstanceField() cil managed + .method public hidebysig static void UlongAddTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 20 (0x14) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_000c: ldc.i4.1 - IL_000d: add - IL_000e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0013: ret - } // end of method CompoundAssignmentTest::IncrementInstanceField + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: add + IL_0008: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000d: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: add + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: add + IL_0024: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: add + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0038: ldarga.s s + IL_003a: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_003f: dup + IL_0040: ldind.i8 + IL_0041: ldc.i4.5 + IL_0042: conv.i8 + IL_0043: add + IL_0044: stind.i8 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_004d: ldc.i4.5 + IL_004e: conv.i8 + IL_004f: add + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0060: ldc.i4.5 + IL_0061: conv.i8 + IL_0062: add + IL_0063: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0073: ldc.i4.5 + IL_0074: conv.i8 + IL_0075: add + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0085: dup + IL_0086: ldind.i8 + IL_0087: ldc.i4.5 + IL_0088: conv.i8 + IL_0089: add + IL_008a: stind.i8 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0096: ldc.i4.5 + IL_0097: conv.i8 + IL_0098: add + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00a9: ldc.i4.5 + IL_00aa: conv.i8 + IL_00ab: add + IL_00ac: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00bc: ldc.i4.5 + IL_00bd: conv.i8 + IL_00be: add + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00cf: ldc.i4.5 + IL_00d0: conv.i8 + IL_00d1: add + IL_00d2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e2: ldc.i4.5 + IL_00e3: conv.i8 + IL_00e4: add + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00f4: dup + IL_00f5: ldind.i8 + IL_00f6: ldc.i4.5 + IL_00f7: conv.i8 + IL_00f8: add + IL_00f9: stind.i8 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0105: ldc.i4.5 + IL_0106: conv.i8 + IL_0107: add + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_010d: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_0112: dup + IL_0113: ldind.i8 + IL_0114: ldc.i4.5 + IL_0115: conv.i8 + IL_0116: add + IL_0117: stind.i8 + IL_0118: ret + } // end of method CompoundAssignmentTest::UlongAddTest - .method public hidebysig instance void - DoubleInstanceField() cil managed + .method public hidebysig static void UlongSubtractTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 20 (0x14) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_000c: ldc.i4.2 - IL_000d: mul - IL_000e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0013: ret - } // end of method CompoundAssignmentTest::DoubleInstanceField + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: sub + IL_0008: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000d: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: sub + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: sub + IL_0024: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: sub + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0038: ldarga.s s + IL_003a: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_003f: dup + IL_0040: ldind.i8 + IL_0041: ldc.i4.5 + IL_0042: conv.i8 + IL_0043: sub + IL_0044: stind.i8 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_004d: ldc.i4.5 + IL_004e: conv.i8 + IL_004f: sub + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0060: ldc.i4.5 + IL_0061: conv.i8 + IL_0062: sub + IL_0063: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0073: ldc.i4.5 + IL_0074: conv.i8 + IL_0075: sub + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0085: dup + IL_0086: ldind.i8 + IL_0087: ldc.i4.5 + IL_0088: conv.i8 + IL_0089: sub + IL_008a: stind.i8 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0096: ldc.i4.5 + IL_0097: conv.i8 + IL_0098: sub + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00a9: ldc.i4.5 + IL_00aa: conv.i8 + IL_00ab: sub + IL_00ac: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00bc: ldc.i4.5 + IL_00bd: conv.i8 + IL_00be: sub + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00cf: ldc.i4.5 + IL_00d0: conv.i8 + IL_00d1: sub + IL_00d2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e2: ldc.i4.5 + IL_00e3: conv.i8 + IL_00e4: sub + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00f4: dup + IL_00f5: ldind.i8 + IL_00f6: ldc.i4.5 + IL_00f7: conv.i8 + IL_00f8: sub + IL_00f9: stind.i8 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0105: ldc.i4.5 + IL_0106: conv.i8 + IL_0107: sub + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_010d: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_0112: dup + IL_0113: ldind.i8 + IL_0114: ldc.i4.5 + IL_0115: conv.i8 + IL_0116: sub + IL_0117: stind.i8 + IL_0118: ret + } // end of method CompoundAssignmentTest::UlongSubtractTest - .method public hidebysig instance int32 - DoubleInstanceFieldAndReturn() cil managed + .method public hidebysig static void UlongMultiplyTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 23 (0x17) + // Code size 281 (0x119) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_000c: ldc.i4.2 - IL_000d: mul - IL_000e: dup - IL_000f: stloc.0 - IL_0010: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0015: ldloc.0 - IL_0016: ret - } // end of method CompoundAssignmentTest::DoubleInstanceFieldAndReturn + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: mul + IL_0008: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000d: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: mul + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: mul + IL_0024: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: mul + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0038: ldarga.s s + IL_003a: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_003f: dup + IL_0040: ldind.i8 + IL_0041: ldc.i4.5 + IL_0042: conv.i8 + IL_0043: mul + IL_0044: stind.i8 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_004d: ldc.i4.5 + IL_004e: conv.i8 + IL_004f: mul + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0060: ldc.i4.5 + IL_0061: conv.i8 + IL_0062: mul + IL_0063: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0073: ldc.i4.5 + IL_0074: conv.i8 + IL_0075: mul + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0085: dup + IL_0086: ldind.i8 + IL_0087: ldc.i4.5 + IL_0088: conv.i8 + IL_0089: mul + IL_008a: stind.i8 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0096: ldc.i4.5 + IL_0097: conv.i8 + IL_0098: mul + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00a9: ldc.i4.5 + IL_00aa: conv.i8 + IL_00ab: mul + IL_00ac: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00bc: ldc.i4.5 + IL_00bd: conv.i8 + IL_00be: mul + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00cf: ldc.i4.5 + IL_00d0: conv.i8 + IL_00d1: mul + IL_00d2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e2: ldc.i4.5 + IL_00e3: conv.i8 + IL_00e4: mul + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00f4: dup + IL_00f5: ldind.i8 + IL_00f6: ldc.i4.5 + IL_00f7: conv.i8 + IL_00f8: mul + IL_00f9: stind.i8 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0105: ldc.i4.5 + IL_0106: conv.i8 + IL_0107: mul + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_010d: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_0112: dup + IL_0113: ldind.i8 + IL_0114: ldc.i4.5 + IL_0115: conv.i8 + IL_0116: mul + IL_0117: stind.i8 + IL_0118: ret + } // end of method CompoundAssignmentTest::UlongMultiplyTest - .method public hidebysig instance int32 - PreIncrementInstanceField2(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass m) cil managed + .method public hidebysig static void UlongDivideTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 18 (0x12) + // Code size 281 (0x119) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.1 - IL_0001: dup - IL_0002: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0007: ldc.i4.1 - IL_0008: add - IL_0009: stloc.0 - IL_000a: ldloc.0 - IL_000b: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0010: ldloc.0 - IL_0011: ret - } // end of method CompoundAssignmentTest::PreIncrementInstanceField2 + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: div.un + IL_0008: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000d: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: div.un + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: div.un + IL_0024: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: div.un + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0038: ldarga.s s + IL_003a: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_003f: dup + IL_0040: ldind.i8 + IL_0041: ldc.i4.5 + IL_0042: conv.i8 + IL_0043: div.un + IL_0044: stind.i8 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_004d: ldc.i4.5 + IL_004e: conv.i8 + IL_004f: div.un + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0060: ldc.i4.5 + IL_0061: conv.i8 + IL_0062: div.un + IL_0063: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0073: ldc.i4.5 + IL_0074: conv.i8 + IL_0075: div.un + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0085: dup + IL_0086: ldind.i8 + IL_0087: ldc.i4.5 + IL_0088: conv.i8 + IL_0089: div.un + IL_008a: stind.i8 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0096: ldc.i4.5 + IL_0097: conv.i8 + IL_0098: div.un + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00a9: ldc.i4.5 + IL_00aa: conv.i8 + IL_00ab: div.un + IL_00ac: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00bc: ldc.i4.5 + IL_00bd: conv.i8 + IL_00be: div.un + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00cf: ldc.i4.5 + IL_00d0: conv.i8 + IL_00d1: div.un + IL_00d2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e2: ldc.i4.5 + IL_00e3: conv.i8 + IL_00e4: div.un + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00f4: dup + IL_00f5: ldind.i8 + IL_00f6: ldc.i4.5 + IL_00f7: conv.i8 + IL_00f8: div.un + IL_00f9: stind.i8 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0105: ldc.i4.5 + IL_0106: conv.i8 + IL_0107: div.un + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_010d: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_0112: dup + IL_0113: ldind.i8 + IL_0114: ldc.i4.5 + IL_0115: conv.i8 + IL_0116: div.un + IL_0117: stind.i8 + IL_0118: ret + } // end of method CompoundAssignmentTest::UlongDivideTest - .method public hidebysig instance int32 - PostIncrementInstanceField2(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass m) cil managed + .method public hidebysig static void UlongModulusTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 18 (0x12) + // Code size 281 (0x119) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.1 - IL_0001: dup - IL_0002: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: ldc.i4.1 - IL_000a: add - IL_000b: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0010: ldloc.0 - IL_0011: ret - } // end of method CompoundAssignmentTest::PostIncrementInstanceField2 + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: rem.un + IL_0008: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000d: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: rem.un + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: rem.un + IL_0024: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: rem.un + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0038: ldarga.s s + IL_003a: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_003f: dup + IL_0040: ldind.i8 + IL_0041: ldc.i4.5 + IL_0042: conv.i8 + IL_0043: rem.un + IL_0044: stind.i8 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_004d: ldc.i4.5 + IL_004e: conv.i8 + IL_004f: rem.un + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0060: ldc.i4.5 + IL_0061: conv.i8 + IL_0062: rem.un + IL_0063: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0073: ldc.i4.5 + IL_0074: conv.i8 + IL_0075: rem.un + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0085: dup + IL_0086: ldind.i8 + IL_0087: ldc.i4.5 + IL_0088: conv.i8 + IL_0089: rem.un + IL_008a: stind.i8 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0096: ldc.i4.5 + IL_0097: conv.i8 + IL_0098: rem.un + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00a9: ldc.i4.5 + IL_00aa: conv.i8 + IL_00ab: rem.un + IL_00ac: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00bc: ldc.i4.5 + IL_00bd: conv.i8 + IL_00be: rem.un + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00cf: ldc.i4.5 + IL_00d0: conv.i8 + IL_00d1: rem.un + IL_00d2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e2: ldc.i4.5 + IL_00e3: conv.i8 + IL_00e4: rem.un + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00f4: dup + IL_00f5: ldind.i8 + IL_00f6: ldc.i4.5 + IL_00f7: conv.i8 + IL_00f8: rem.un + IL_00f9: stind.i8 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0105: ldc.i4.5 + IL_0106: conv.i8 + IL_0107: rem.un + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_010d: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_0112: dup + IL_0113: ldind.i8 + IL_0114: ldc.i4.5 + IL_0115: conv.i8 + IL_0116: rem.un + IL_0117: stind.i8 + IL_0118: ret + } // end of method CompoundAssignmentTest::UlongModulusTest - .method public hidebysig instance void - IncrementInstanceField2(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass m) cil managed + .method public hidebysig static void UlongLeftShiftTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.1 - IL_0001: dup - IL_0002: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0007: ldc.i4.1 - IL_0008: add - IL_0009: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_000e: ret - } // end of method CompoundAssignmentTest::IncrementInstanceField2 + // Code size 264 (0x108) + .maxstack 3 + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: ldc.i4.5 + IL_0006: shl + IL_0007: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000c: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0011: ldc.i4.5 + IL_0012: shl + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_001f: ldc.i4.5 + IL_0020: shl + IL_0021: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_002d: ldc.i4.5 + IL_002e: shl + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0034: ldarga.s s + IL_0036: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_003b: dup + IL_003c: ldind.i8 + IL_003d: ldc.i4.5 + IL_003e: shl + IL_003f: stind.i8 + IL_0040: ldarga.s s + IL_0042: dup + IL_0043: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0048: ldc.i4.5 + IL_0049: shl + IL_004a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_004f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0054: dup + IL_0055: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_005a: ldc.i4.5 + IL_005b: shl + IL_005c: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0061: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0066: dup + IL_0067: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_006c: ldc.i4.5 + IL_006d: shl + IL_006e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0073: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0078: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_007d: dup + IL_007e: ldind.i8 + IL_007f: ldc.i4.5 + IL_0080: shl + IL_0081: stind.i8 + IL_0082: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0087: dup + IL_0088: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_008d: ldc.i4.5 + IL_008e: shl + IL_008f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0094: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0099: dup + IL_009a: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_009f: ldc.i4.5 + IL_00a0: shl + IL_00a1: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00a6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ab: dup + IL_00ac: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00b1: ldc.i4.5 + IL_00b2: shl + IL_00b3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00bd: dup + IL_00be: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00c3: ldc.i4.5 + IL_00c4: shl + IL_00c5: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00d5: ldc.i4.5 + IL_00d6: shl + IL_00d7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e1: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00e6: dup + IL_00e7: ldind.i8 + IL_00e8: ldc.i4.5 + IL_00e9: shl + IL_00ea: stind.i8 + IL_00eb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f0: dup + IL_00f1: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00f6: ldc.i4.5 + IL_00f7: shl + IL_00f8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00fd: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_0102: dup + IL_0103: ldind.i8 + IL_0104: ldc.i4.5 + IL_0105: shl + IL_0106: stind.i8 + IL_0107: ret + } // end of method CompoundAssignmentTest::UlongLeftShiftTest - .method public hidebysig instance int32 - PreIncrementInstanceFieldShort() cil managed + .method public hidebysig static void UlongRightShiftTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 24 (0x18) + // Code size 264 (0x108) .maxstack 3 - .locals init (int16 V_0) - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField - IL_000c: ldc.i4.1 - IL_000d: add - IL_000e: conv.i2 - IL_000f: stloc.0 - IL_0010: ldloc.0 - IL_0011: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField - IL_0016: ldloc.0 - IL_0017: ret - } // end of method CompoundAssignmentTest::PreIncrementInstanceFieldShort + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: ldc.i4.5 + IL_0006: shr.un + IL_0007: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000c: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0011: ldc.i4.5 + IL_0012: shr.un + IL_0013: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_0018: ldarg.1 + IL_0019: dup + IL_001a: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_001f: ldc.i4.5 + IL_0020: shr.un + IL_0021: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_002d: ldc.i4.5 + IL_002e: shr.un + IL_002f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0034: ldarga.s s + IL_0036: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_003b: dup + IL_003c: ldind.i8 + IL_003d: ldc.i4.5 + IL_003e: shr.un + IL_003f: stind.i8 + IL_0040: ldarga.s s + IL_0042: dup + IL_0043: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0048: ldc.i4.5 + IL_0049: shr.un + IL_004a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_004f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0054: dup + IL_0055: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_005a: ldc.i4.5 + IL_005b: shr.un + IL_005c: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0061: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0066: dup + IL_0067: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_006c: ldc.i4.5 + IL_006d: shr.un + IL_006e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0073: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0078: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_007d: dup + IL_007e: ldind.i8 + IL_007f: ldc.i4.5 + IL_0080: shr.un + IL_0081: stind.i8 + IL_0082: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0087: dup + IL_0088: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_008d: ldc.i4.5 + IL_008e: shr.un + IL_008f: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0094: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0099: dup + IL_009a: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_009f: ldc.i4.5 + IL_00a0: shr.un + IL_00a1: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00a6: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ab: dup + IL_00ac: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00b1: ldc.i4.5 + IL_00b2: shr.un + IL_00b3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00b8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00bd: dup + IL_00be: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00c3: ldc.i4.5 + IL_00c4: shr.un + IL_00c5: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00ca: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00cf: dup + IL_00d0: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00d5: ldc.i4.5 + IL_00d6: shr.un + IL_00d7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00dc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e1: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00e6: dup + IL_00e7: ldind.i8 + IL_00e8: ldc.i4.5 + IL_00e9: shr.un + IL_00ea: stind.i8 + IL_00eb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f0: dup + IL_00f1: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00f6: ldc.i4.5 + IL_00f7: shr.un + IL_00f8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00fd: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_0102: dup + IL_0103: ldind.i8 + IL_0104: ldc.i4.5 + IL_0105: shr.un + IL_0106: stind.i8 + IL_0107: ret + } // end of method CompoundAssignmentTest::UlongRightShiftTest - .method public hidebysig instance int32 - PostIncrementInstanceFieldShort() cil managed + .method public hidebysig static void UlongBitAndTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 24 (0x18) + // Code size 281 (0x119) .maxstack 3 - .locals init (int16 V_0) - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: ldc.i4.1 - IL_000f: add - IL_0010: conv.i2 - IL_0011: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField - IL_0016: ldloc.0 - IL_0017: ret - } // end of method CompoundAssignmentTest::PostIncrementInstanceFieldShort + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: and + IL_0008: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000d: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: and + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: and + IL_0024: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: and + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0038: ldarga.s s + IL_003a: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_003f: dup + IL_0040: ldind.i8 + IL_0041: ldc.i4.5 + IL_0042: conv.i8 + IL_0043: and + IL_0044: stind.i8 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_004d: ldc.i4.5 + IL_004e: conv.i8 + IL_004f: and + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0060: ldc.i4.5 + IL_0061: conv.i8 + IL_0062: and + IL_0063: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0073: ldc.i4.5 + IL_0074: conv.i8 + IL_0075: and + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0085: dup + IL_0086: ldind.i8 + IL_0087: ldc.i4.5 + IL_0088: conv.i8 + IL_0089: and + IL_008a: stind.i8 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0096: ldc.i4.5 + IL_0097: conv.i8 + IL_0098: and + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00a9: ldc.i4.5 + IL_00aa: conv.i8 + IL_00ab: and + IL_00ac: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00bc: ldc.i4.5 + IL_00bd: conv.i8 + IL_00be: and + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00cf: ldc.i4.5 + IL_00d0: conv.i8 + IL_00d1: and + IL_00d2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e2: ldc.i4.5 + IL_00e3: conv.i8 + IL_00e4: and + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00f4: dup + IL_00f5: ldind.i8 + IL_00f6: ldc.i4.5 + IL_00f7: conv.i8 + IL_00f8: and + IL_00f9: stind.i8 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0105: ldc.i4.5 + IL_0106: conv.i8 + IL_0107: and + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_010d: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_0112: dup + IL_0113: ldind.i8 + IL_0114: ldc.i4.5 + IL_0115: conv.i8 + IL_0116: and + IL_0117: stind.i8 + IL_0118: ret + } // end of method CompoundAssignmentTest::UlongBitAndTest - .method public hidebysig instance void - IncrementInstanceFieldShort() cil managed + .method public hidebysig static void UlongBitOrTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 21 (0x15) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField - IL_000c: ldc.i4.1 - IL_000d: add - IL_000e: conv.i2 - IL_000f: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField - IL_0014: ret - } // end of method CompoundAssignmentTest::IncrementInstanceFieldShort + // Code size 281 (0x119) + .maxstack 3 + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: or + IL_0008: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000d: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: or + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: or + IL_0024: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: or + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0038: ldarga.s s + IL_003a: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_003f: dup + IL_0040: ldind.i8 + IL_0041: ldc.i4.5 + IL_0042: conv.i8 + IL_0043: or + IL_0044: stind.i8 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_004d: ldc.i4.5 + IL_004e: conv.i8 + IL_004f: or + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0060: ldc.i4.5 + IL_0061: conv.i8 + IL_0062: or + IL_0063: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0073: ldc.i4.5 + IL_0074: conv.i8 + IL_0075: or + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0085: dup + IL_0086: ldind.i8 + IL_0087: ldc.i4.5 + IL_0088: conv.i8 + IL_0089: or + IL_008a: stind.i8 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0096: ldc.i4.5 + IL_0097: conv.i8 + IL_0098: or + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00a9: ldc.i4.5 + IL_00aa: conv.i8 + IL_00ab: or + IL_00ac: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00bc: ldc.i4.5 + IL_00bd: conv.i8 + IL_00be: or + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00cf: ldc.i4.5 + IL_00d0: conv.i8 + IL_00d1: or + IL_00d2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e2: ldc.i4.5 + IL_00e3: conv.i8 + IL_00e4: or + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00f4: dup + IL_00f5: ldind.i8 + IL_00f6: ldc.i4.5 + IL_00f7: conv.i8 + IL_00f8: or + IL_00f9: stind.i8 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0105: ldc.i4.5 + IL_0106: conv.i8 + IL_0107: or + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_010d: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_0112: dup + IL_0113: ldind.i8 + IL_0114: ldc.i4.5 + IL_0115: conv.i8 + IL_0116: or + IL_0117: stind.i8 + IL_0118: ret + } // end of method CompoundAssignmentTest::UlongBitOrTest - .method public hidebysig instance int32 - PreIncrementInstanceProperty() cil managed + .method public hidebysig static void UlongBitXorTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 23 (0x17) + // Code size 281 (0x119) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() - IL_000c: ldc.i4.1 - IL_000d: add - IL_000e: stloc.0 - IL_000f: ldloc.0 - IL_0010: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) - IL_0015: ldloc.0 - IL_0016: ret - } // end of method CompoundAssignmentTest::PreIncrementInstanceProperty + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: ldc.i4.5 + IL_0006: conv.i8 + IL_0007: xor + IL_0008: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000d: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0012: ldc.i4.5 + IL_0013: conv.i8 + IL_0014: xor + IL_0015: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0021: ldc.i4.5 + IL_0022: conv.i8 + IL_0023: xor + IL_0024: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0029: ldarg.1 + IL_002a: dup + IL_002b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0030: ldc.i4.5 + IL_0031: conv.i8 + IL_0032: xor + IL_0033: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0038: ldarga.s s + IL_003a: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_003f: dup + IL_0040: ldind.i8 + IL_0041: ldc.i4.5 + IL_0042: conv.i8 + IL_0043: xor + IL_0044: stind.i8 + IL_0045: ldarga.s s + IL_0047: dup + IL_0048: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_004d: ldc.i4.5 + IL_004e: conv.i8 + IL_004f: xor + IL_0050: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0055: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005a: dup + IL_005b: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0060: ldc.i4.5 + IL_0061: conv.i8 + IL_0062: xor + IL_0063: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0068: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006d: dup + IL_006e: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0073: ldc.i4.5 + IL_0074: conv.i8 + IL_0075: xor + IL_0076: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0080: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0085: dup + IL_0086: ldind.i8 + IL_0087: ldc.i4.5 + IL_0088: conv.i8 + IL_0089: xor + IL_008a: stind.i8 + IL_008b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0090: dup + IL_0091: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0096: ldc.i4.5 + IL_0097: conv.i8 + IL_0098: xor + IL_0099: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_009e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a3: dup + IL_00a4: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00a9: ldc.i4.5 + IL_00aa: conv.i8 + IL_00ab: xor + IL_00ac: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b6: dup + IL_00b7: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00bc: ldc.i4.5 + IL_00bd: conv.i8 + IL_00be: xor + IL_00bf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00c4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c9: dup + IL_00ca: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00cf: ldc.i4.5 + IL_00d0: conv.i8 + IL_00d1: xor + IL_00d2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00dc: dup + IL_00dd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e2: ldc.i4.5 + IL_00e3: conv.i8 + IL_00e4: xor + IL_00e5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00ea: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ef: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00f4: dup + IL_00f5: ldind.i8 + IL_00f6: ldc.i4.5 + IL_00f7: conv.i8 + IL_00f8: xor + IL_00f9: stind.i8 + IL_00fa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00ff: dup + IL_0100: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0105: ldc.i4.5 + IL_0106: conv.i8 + IL_0107: xor + IL_0108: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_010d: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_0112: dup + IL_0113: ldind.i8 + IL_0114: ldc.i4.5 + IL_0115: conv.i8 + IL_0116: xor + IL_0117: stind.i8 + IL_0118: ret + } // end of method CompoundAssignmentTest::UlongBitXorTest - .method public hidebysig instance int32 - PostIncrementInstanceProperty() cil managed + .method public hidebysig static void UlongPostIncTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 23 (0x17) + // Code size 413 (0x19d) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: ldc.i4.1 - IL_000f: add - IL_0010: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) - IL_0015: ldloc.0 - IL_0016: ret - } // end of method CompoundAssignmentTest::PostIncrementInstanceProperty + .locals init (uint64 V_0) + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: conv.i8 + IL_0008: add + IL_0009: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0018: dup + IL_0019: ldc.i4.1 + IL_001a: conv.i8 + IL_001b: add + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_002d: stloc.0 + IL_002e: ldloc.0 + IL_002f: ldc.i4.1 + IL_0030: conv.i8 + IL_0031: add + IL_0032: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0044: stloc.0 + IL_0045: ldloc.0 + IL_0046: ldc.i4.1 + IL_0047: conv.i8 + IL_0048: add + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_004e: ldloc.0 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_005b: dup + IL_005c: ldind.i8 + IL_005d: stloc.0 + IL_005e: ldloc.0 + IL_005f: ldc.i4.1 + IL_0060: conv.i8 + IL_0061: add + IL_0062: stind.i8 + IL_0063: ldloc.0 + IL_0064: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0069: ldarga.s s + IL_006b: dup + IL_006c: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0071: stloc.0 + IL_0072: ldloc.0 + IL_0073: ldc.i4.1 + IL_0074: conv.i8 + IL_0075: add + IL_0076: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_007b: ldloc.0 + IL_007c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_008c: stloc.0 + IL_008d: ldloc.0 + IL_008e: ldc.i4.1 + IL_008f: conv.i8 + IL_0090: add + IL_0091: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0096: ldloc.0 + IL_0097: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00a7: stloc.0 + IL_00a8: ldloc.0 + IL_00a9: ldc.i4.1 + IL_00aa: conv.i8 + IL_00ab: add + IL_00ac: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bc: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00c1: dup + IL_00c2: ldind.i8 + IL_00c3: stloc.0 + IL_00c4: ldloc.0 + IL_00c5: ldc.i4.1 + IL_00c6: conv.i8 + IL_00c7: add + IL_00c8: stind.i8 + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: dup + IL_00d5: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00da: stloc.0 + IL_00db: ldloc.0 + IL_00dc: ldc.i4.1 + IL_00dd: conv.i8 + IL_00de: add + IL_00df: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00e4: ldloc.0 + IL_00e5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ef: dup + IL_00f0: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00f5: stloc.0 + IL_00f6: ldloc.0 + IL_00f7: ldc.i4.1 + IL_00f8: conv.i8 + IL_00f9: add + IL_00fa: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00ff: ldloc.0 + IL_0100: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010a: dup + IL_010b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0110: stloc.0 + IL_0111: ldloc.0 + IL_0112: ldc.i4.1 + IL_0113: conv.i8 + IL_0114: add + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_011a: ldloc.0 + IL_011b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0120: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0125: dup + IL_0126: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_012b: stloc.0 + IL_012c: ldloc.0 + IL_012d: ldc.i4.1 + IL_012e: conv.i8 + IL_012f: add + IL_0130: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0140: dup + IL_0141: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0146: stloc.0 + IL_0147: ldloc.0 + IL_0148: ldc.i4.1 + IL_0149: conv.i8 + IL_014a: add + IL_014b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0150: ldloc.0 + IL_0151: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0156: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_015b: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0160: dup + IL_0161: ldind.i8 + IL_0162: stloc.0 + IL_0163: ldloc.0 + IL_0164: ldc.i4.1 + IL_0165: conv.i8 + IL_0166: add + IL_0167: stind.i8 + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0173: dup + IL_0174: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0179: stloc.0 + IL_017a: ldloc.0 + IL_017b: ldc.i4.1 + IL_017c: conv.i8 + IL_017d: add + IL_017e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0183: ldloc.0 + IL_0184: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0189: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_018e: dup + IL_018f: ldind.i8 + IL_0190: stloc.0 + IL_0191: ldloc.0 + IL_0192: ldc.i4.1 + IL_0193: conv.i8 + IL_0194: add + IL_0195: stind.i8 + IL_0196: ldloc.0 + IL_0197: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_019c: ret + } // end of method CompoundAssignmentTest::UlongPostIncTest - .method public hidebysig instance void - IncrementInstanceProperty() cil managed + .method public hidebysig static void UlongPreIncTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 22 (0x16) + // Code size 413 (0x19d) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: ldc.i4.1 - IL_000f: add - IL_0010: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) - IL_0015: ret - } // end of method CompoundAssignmentTest::IncrementInstanceProperty + .locals init (uint64 V_0) + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: ldc.i4.1 + IL_0006: conv.i8 + IL_0007: add + IL_0008: dup + IL_0009: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0018: ldc.i4.1 + IL_0019: conv.i8 + IL_001a: add + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_002d: ldc.i4.1 + IL_002e: conv.i8 + IL_002f: add + IL_0030: stloc.0 + IL_0031: ldloc.0 + IL_0032: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0044: ldc.i4.1 + IL_0045: conv.i8 + IL_0046: add + IL_0047: stloc.0 + IL_0048: ldloc.0 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_004e: ldloc.0 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_005b: dup + IL_005c: ldind.i8 + IL_005d: ldc.i4.1 + IL_005e: conv.i8 + IL_005f: add + IL_0060: stloc.0 + IL_0061: ldloc.0 + IL_0062: stind.i8 + IL_0063: ldloc.0 + IL_0064: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0069: ldarga.s s + IL_006b: dup + IL_006c: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0071: ldc.i4.1 + IL_0072: conv.i8 + IL_0073: add + IL_0074: stloc.0 + IL_0075: ldloc.0 + IL_0076: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_007b: ldloc.0 + IL_007c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_008c: ldc.i4.1 + IL_008d: conv.i8 + IL_008e: add + IL_008f: stloc.0 + IL_0090: ldloc.0 + IL_0091: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0096: ldloc.0 + IL_0097: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00a7: ldc.i4.1 + IL_00a8: conv.i8 + IL_00a9: add + IL_00aa: stloc.0 + IL_00ab: ldloc.0 + IL_00ac: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bc: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00c1: dup + IL_00c2: ldind.i8 + IL_00c3: ldc.i4.1 + IL_00c4: conv.i8 + IL_00c5: add + IL_00c6: stloc.0 + IL_00c7: ldloc.0 + IL_00c8: stind.i8 + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: dup + IL_00d5: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00da: ldc.i4.1 + IL_00db: conv.i8 + IL_00dc: add + IL_00dd: stloc.0 + IL_00de: ldloc.0 + IL_00df: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00e4: ldloc.0 + IL_00e5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ef: dup + IL_00f0: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00f5: ldc.i4.1 + IL_00f6: conv.i8 + IL_00f7: add + IL_00f8: stloc.0 + IL_00f9: ldloc.0 + IL_00fa: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00ff: ldloc.0 + IL_0100: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010a: dup + IL_010b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0110: ldc.i4.1 + IL_0111: conv.i8 + IL_0112: add + IL_0113: stloc.0 + IL_0114: ldloc.0 + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_011a: ldloc.0 + IL_011b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0120: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0125: dup + IL_0126: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_012b: ldc.i4.1 + IL_012c: conv.i8 + IL_012d: add + IL_012e: stloc.0 + IL_012f: ldloc.0 + IL_0130: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0140: dup + IL_0141: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0146: ldc.i4.1 + IL_0147: conv.i8 + IL_0148: add + IL_0149: stloc.0 + IL_014a: ldloc.0 + IL_014b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0150: ldloc.0 + IL_0151: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0156: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_015b: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0160: dup + IL_0161: ldind.i8 + IL_0162: ldc.i4.1 + IL_0163: conv.i8 + IL_0164: add + IL_0165: stloc.0 + IL_0166: ldloc.0 + IL_0167: stind.i8 + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0173: dup + IL_0174: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0179: ldc.i4.1 + IL_017a: conv.i8 + IL_017b: add + IL_017c: stloc.0 + IL_017d: ldloc.0 + IL_017e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0183: ldloc.0 + IL_0184: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0189: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_018e: dup + IL_018f: ldind.i8 + IL_0190: ldc.i4.1 + IL_0191: conv.i8 + IL_0192: add + IL_0193: stloc.0 + IL_0194: ldloc.0 + IL_0195: stind.i8 + IL_0196: ldloc.0 + IL_0197: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_019c: ret + } // end of method CompoundAssignmentTest::UlongPreIncTest - .method public hidebysig instance void - DoubleInstanceProperty() cil managed + .method public hidebysig static void UlongPostDecTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 20 (0x14) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() - IL_000c: ldc.i4.2 - IL_000d: mul - IL_000e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) - IL_0013: ret - } // end of method CompoundAssignmentTest::DoubleInstanceProperty + // Code size 413 (0x19d) + .maxstack 3 + .locals init (uint64 V_0) + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: dup + IL_0006: ldc.i4.1 + IL_0007: conv.i8 + IL_0008: sub + IL_0009: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0018: dup + IL_0019: ldc.i4.1 + IL_001a: conv.i8 + IL_001b: sub + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_002d: stloc.0 + IL_002e: ldloc.0 + IL_002f: ldc.i4.1 + IL_0030: conv.i8 + IL_0031: sub + IL_0032: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0044: stloc.0 + IL_0045: ldloc.0 + IL_0046: ldc.i4.1 + IL_0047: conv.i8 + IL_0048: sub + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_004e: ldloc.0 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_005b: dup + IL_005c: ldind.i8 + IL_005d: stloc.0 + IL_005e: ldloc.0 + IL_005f: ldc.i4.1 + IL_0060: conv.i8 + IL_0061: sub + IL_0062: stind.i8 + IL_0063: ldloc.0 + IL_0064: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0069: ldarga.s s + IL_006b: dup + IL_006c: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0071: stloc.0 + IL_0072: ldloc.0 + IL_0073: ldc.i4.1 + IL_0074: conv.i8 + IL_0075: sub + IL_0076: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_007b: ldloc.0 + IL_007c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_008c: stloc.0 + IL_008d: ldloc.0 + IL_008e: ldc.i4.1 + IL_008f: conv.i8 + IL_0090: sub + IL_0091: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0096: ldloc.0 + IL_0097: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00a7: stloc.0 + IL_00a8: ldloc.0 + IL_00a9: ldc.i4.1 + IL_00aa: conv.i8 + IL_00ab: sub + IL_00ac: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bc: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00c1: dup + IL_00c2: ldind.i8 + IL_00c3: stloc.0 + IL_00c4: ldloc.0 + IL_00c5: ldc.i4.1 + IL_00c6: conv.i8 + IL_00c7: sub + IL_00c8: stind.i8 + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: dup + IL_00d5: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00da: stloc.0 + IL_00db: ldloc.0 + IL_00dc: ldc.i4.1 + IL_00dd: conv.i8 + IL_00de: sub + IL_00df: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00e4: ldloc.0 + IL_00e5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ef: dup + IL_00f0: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00f5: stloc.0 + IL_00f6: ldloc.0 + IL_00f7: ldc.i4.1 + IL_00f8: conv.i8 + IL_00f9: sub + IL_00fa: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00ff: ldloc.0 + IL_0100: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010a: dup + IL_010b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0110: stloc.0 + IL_0111: ldloc.0 + IL_0112: ldc.i4.1 + IL_0113: conv.i8 + IL_0114: sub + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_011a: ldloc.0 + IL_011b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0120: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0125: dup + IL_0126: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_012b: stloc.0 + IL_012c: ldloc.0 + IL_012d: ldc.i4.1 + IL_012e: conv.i8 + IL_012f: sub + IL_0130: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0140: dup + IL_0141: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0146: stloc.0 + IL_0147: ldloc.0 + IL_0148: ldc.i4.1 + IL_0149: conv.i8 + IL_014a: sub + IL_014b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0150: ldloc.0 + IL_0151: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0156: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_015b: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0160: dup + IL_0161: ldind.i8 + IL_0162: stloc.0 + IL_0163: ldloc.0 + IL_0164: ldc.i4.1 + IL_0165: conv.i8 + IL_0166: sub + IL_0167: stind.i8 + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0173: dup + IL_0174: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0179: stloc.0 + IL_017a: ldloc.0 + IL_017b: ldc.i4.1 + IL_017c: conv.i8 + IL_017d: sub + IL_017e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0183: ldloc.0 + IL_0184: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0189: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_018e: dup + IL_018f: ldind.i8 + IL_0190: stloc.0 + IL_0191: ldloc.0 + IL_0192: ldc.i4.1 + IL_0193: conv.i8 + IL_0194: sub + IL_0195: stind.i8 + IL_0196: ldloc.0 + IL_0197: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_019c: ret + } // end of method CompoundAssignmentTest::UlongPostDecTest - .method public hidebysig instance int32 - DoubleInstancePropertyAndReturn() cil managed + .method public hidebysig static void UlongPreDecTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 23 (0x17) + // Code size 413 (0x19d) .maxstack 3 - .locals init (int32 V_0) - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() - IL_000c: ldc.i4.2 - IL_000d: mul - IL_000e: dup - IL_000f: stloc.0 - IL_0010: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) - IL_0015: ldloc.0 - IL_0016: ret - } // end of method CompoundAssignmentTest::DoubleInstancePropertyAndReturn + .locals init (uint64 V_0) + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0005: ldc.i4.1 + IL_0006: conv.i8 + IL_0007: sub + IL_0008: dup + IL_0009: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0018: ldc.i4.1 + IL_0019: conv.i8 + IL_001a: sub + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_0021: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0026: ldarg.1 + IL_0027: dup + IL_0028: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_002d: ldc.i4.1 + IL_002e: conv.i8 + IL_002f: sub + IL_0030: stloc.0 + IL_0031: ldloc.0 + IL_0032: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0037: ldloc.0 + IL_0038: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003d: ldarg.1 + IL_003e: dup + IL_003f: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0044: ldc.i4.1 + IL_0045: conv.i8 + IL_0046: sub + IL_0047: stloc.0 + IL_0048: ldloc.0 + IL_0049: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_004e: ldloc.0 + IL_004f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0054: ldarga.s s + IL_0056: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_005b: dup + IL_005c: ldind.i8 + IL_005d: ldc.i4.1 + IL_005e: conv.i8 + IL_005f: sub + IL_0060: stloc.0 + IL_0061: ldloc.0 + IL_0062: stind.i8 + IL_0063: ldloc.0 + IL_0064: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0069: ldarga.s s + IL_006b: dup + IL_006c: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0071: ldc.i4.1 + IL_0072: conv.i8 + IL_0073: sub + IL_0074: stloc.0 + IL_0075: ldloc.0 + IL_0076: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_007b: ldloc.0 + IL_007c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_008c: ldc.i4.1 + IL_008d: conv.i8 + IL_008e: sub + IL_008f: stloc.0 + IL_0090: ldloc.0 + IL_0091: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0096: ldloc.0 + IL_0097: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a1: dup + IL_00a2: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00a7: ldc.i4.1 + IL_00a8: conv.i8 + IL_00a9: sub + IL_00aa: stloc.0 + IL_00ab: ldloc.0 + IL_00ac: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00b1: ldloc.0 + IL_00b2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bc: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00c1: dup + IL_00c2: ldind.i8 + IL_00c3: ldc.i4.1 + IL_00c4: conv.i8 + IL_00c5: sub + IL_00c6: stloc.0 + IL_00c7: ldloc.0 + IL_00c8: stind.i8 + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: dup + IL_00d5: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00da: ldc.i4.1 + IL_00db: conv.i8 + IL_00dc: sub + IL_00dd: stloc.0 + IL_00de: ldloc.0 + IL_00df: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00e4: ldloc.0 + IL_00e5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ea: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ef: dup + IL_00f0: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00f5: ldc.i4.1 + IL_00f6: conv.i8 + IL_00f7: sub + IL_00f8: stloc.0 + IL_00f9: ldloc.0 + IL_00fa: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00ff: ldloc.0 + IL_0100: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_010a: dup + IL_010b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0110: ldc.i4.1 + IL_0111: conv.i8 + IL_0112: sub + IL_0113: stloc.0 + IL_0114: ldloc.0 + IL_0115: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_011a: ldloc.0 + IL_011b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0120: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0125: dup + IL_0126: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_012b: ldc.i4.1 + IL_012c: conv.i8 + IL_012d: sub + IL_012e: stloc.0 + IL_012f: ldloc.0 + IL_0130: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0140: dup + IL_0141: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0146: ldc.i4.1 + IL_0147: conv.i8 + IL_0148: sub + IL_0149: stloc.0 + IL_014a: ldloc.0 + IL_014b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0150: ldloc.0 + IL_0151: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0156: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_015b: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0160: dup + IL_0161: ldind.i8 + IL_0162: ldc.i4.1 + IL_0163: conv.i8 + IL_0164: sub + IL_0165: stloc.0 + IL_0166: ldloc.0 + IL_0167: stind.i8 + IL_0168: ldloc.0 + IL_0169: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0173: dup + IL_0174: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0179: ldc.i4.1 + IL_017a: conv.i8 + IL_017b: sub + IL_017c: stloc.0 + IL_017d: ldloc.0 + IL_017e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0183: ldloc.0 + IL_0184: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0189: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_018e: dup + IL_018f: ldind.i8 + IL_0190: ldc.i4.1 + IL_0191: conv.i8 + IL_0192: sub + IL_0193: stloc.0 + IL_0194: ldloc.0 + IL_0195: stind.i8 + IL_0196: ldloc.0 + IL_0197: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_019c: ret + } // end of method CompoundAssignmentTest::UlongPreDecTest - .method public hidebysig instance int32 - PreIncrementInstancePropertyByte() cil managed + .method public hidebysig static void CustomClassAddTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 24 (0x18) + // Code size 332 (0x14c) .maxstack 3 - .locals init (uint8 V_0) - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() - IL_000c: ldc.i4.1 - IL_000d: add - IL_000e: conv.u1 - IL_000f: stloc.0 - IL_0010: ldloc.0 - IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) - IL_0016: ldloc.0 - IL_0017: ret - } // end of method CompoundAssignmentTest::PreIncrementInstancePropertyByte + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: ldnull + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0015: ldnull + IL_0016: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0020: ldarg.1 + IL_0021: dup + IL_0022: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0027: ldnull + IL_0028: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0039: ldnull + IL_003a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_003f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0044: ldarga.s s + IL_0046: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004b: dup + IL_004c: ldind.ref + IL_004d: ldnull + IL_004e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0053: stind.ref + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005c: ldnull + IL_005d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0062: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0067: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006c: dup + IL_006d: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0072: ldnull + IL_0073: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0078: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_007d: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0082: dup + IL_0083: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0088: ldnull + IL_0089: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_008e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0093: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0098: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_009d: dup + IL_009e: ldind.ref + IL_009f: ldnull + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00a5: stind.ref + IL_00a6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00ab: dup + IL_00ac: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b1: ldnull + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00b7: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bc: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c1: dup + IL_00c2: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00c7: ldnull + IL_00c8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00cd: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00d7: dup + IL_00d8: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00dd: ldnull + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ed: dup + IL_00ee: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00f3: ldnull + IL_00f4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00fe: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0103: dup + IL_0104: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0109: ldnull + IL_010a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_010f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0114: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0119: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_011e: dup + IL_011f: ldind.ref + IL_0120: ldnull + IL_0121: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0126: stind.ref + IL_0127: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_012c: dup + IL_012d: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0132: ldnull + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0138: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_013d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_0142: dup + IL_0143: ldind.ref + IL_0144: ldnull + IL_0145: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_014a: stind.ref + IL_014b: ret + } // end of method CompoundAssignmentTest::CustomClassAddTest - .method public hidebysig instance int32 - PostIncrementInstancePropertyByte() cil managed + .method public hidebysig static void CustomClassSubtractTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 24 (0x18) + // Code size 332 (0x14c) .maxstack 3 - .locals init (uint8 V_0) - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: ldc.i4.1 - IL_000f: add - IL_0010: conv.u1 - IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) - IL_0016: ldloc.0 - IL_0017: ret - } // end of method CompoundAssignmentTest::PostIncrementInstancePropertyByte + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: ldnull + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0015: ldnull + IL_0016: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0020: ldarg.1 + IL_0021: dup + IL_0022: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0027: ldnull + IL_0028: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0039: ldnull + IL_003a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_003f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0044: ldarga.s s + IL_0046: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004b: dup + IL_004c: ldind.ref + IL_004d: ldnull + IL_004e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0053: stind.ref + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005c: ldnull + IL_005d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0062: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0067: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006c: dup + IL_006d: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0072: ldnull + IL_0073: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0078: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_007d: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0082: dup + IL_0083: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0088: ldnull + IL_0089: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_008e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0093: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0098: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_009d: dup + IL_009e: ldind.ref + IL_009f: ldnull + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00a5: stind.ref + IL_00a6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00ab: dup + IL_00ac: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b1: ldnull + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00b7: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bc: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c1: dup + IL_00c2: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00c7: ldnull + IL_00c8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00cd: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00d7: dup + IL_00d8: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00dd: ldnull + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ed: dup + IL_00ee: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00f3: ldnull + IL_00f4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00fe: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0103: dup + IL_0104: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0109: ldnull + IL_010a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_010f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0114: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0119: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_011e: dup + IL_011f: ldind.ref + IL_0120: ldnull + IL_0121: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0126: stind.ref + IL_0127: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_012c: dup + IL_012d: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0132: ldnull + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0138: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_013d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_0142: dup + IL_0143: ldind.ref + IL_0144: ldnull + IL_0145: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_014a: stind.ref + IL_014b: ret + } // end of method CompoundAssignmentTest::CustomClassSubtractTest - .method public hidebysig instance void - IncrementInstancePropertyByte() cil managed + .method public hidebysig static void CustomClassMultiplyTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 23 (0x17) + // Code size 332 (0x14c) .maxstack 3 - .locals init (uint8 V_0) - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: ldc.i4.1 - IL_000f: add - IL_0010: conv.u1 - IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) - IL_0016: ret - } // end of method CompoundAssignmentTest::IncrementInstancePropertyByte + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: ldnull + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0015: ldnull + IL_0016: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0020: ldarg.1 + IL_0021: dup + IL_0022: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0027: ldnull + IL_0028: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0039: ldnull + IL_003a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_003f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0044: ldarga.s s + IL_0046: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004b: dup + IL_004c: ldind.ref + IL_004d: ldnull + IL_004e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0053: stind.ref + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005c: ldnull + IL_005d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0062: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0067: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006c: dup + IL_006d: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0072: ldnull + IL_0073: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0078: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_007d: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0082: dup + IL_0083: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0088: ldnull + IL_0089: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_008e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0093: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0098: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_009d: dup + IL_009e: ldind.ref + IL_009f: ldnull + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00a5: stind.ref + IL_00a6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00ab: dup + IL_00ac: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b1: ldnull + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00b7: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bc: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c1: dup + IL_00c2: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00c7: ldnull + IL_00c8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00cd: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00d7: dup + IL_00d8: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00dd: ldnull + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ed: dup + IL_00ee: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00f3: ldnull + IL_00f4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00fe: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0103: dup + IL_0104: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0109: ldnull + IL_010a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_010f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0114: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0119: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_011e: dup + IL_011f: ldind.ref + IL_0120: ldnull + IL_0121: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0126: stind.ref + IL_0127: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_012c: dup + IL_012d: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0132: ldnull + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0138: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_013d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_0142: dup + IL_0143: ldind.ref + IL_0144: ldnull + IL_0145: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_014a: stind.ref + IL_014b: ret + } // end of method CompoundAssignmentTest::CustomClassMultiplyTest - .method public hidebysig instance void - DoubleInstancePropertyByte() cil managed + .method public hidebysig static void CustomClassDivideTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 21 (0x15) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() - IL_000c: ldc.i4.2 - IL_000d: mul - IL_000e: conv.u1 - IL_000f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) - IL_0014: ret - } // end of method CompoundAssignmentTest::DoubleInstancePropertyByte + // Code size 332 (0x14c) + .maxstack 3 + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: ldnull + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0015: ldnull + IL_0016: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0020: ldarg.1 + IL_0021: dup + IL_0022: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0027: ldnull + IL_0028: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0039: ldnull + IL_003a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_003f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0044: ldarga.s s + IL_0046: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004b: dup + IL_004c: ldind.ref + IL_004d: ldnull + IL_004e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0053: stind.ref + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005c: ldnull + IL_005d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0062: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0067: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006c: dup + IL_006d: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0072: ldnull + IL_0073: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0078: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_007d: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0082: dup + IL_0083: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0088: ldnull + IL_0089: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_008e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0093: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0098: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_009d: dup + IL_009e: ldind.ref + IL_009f: ldnull + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00a5: stind.ref + IL_00a6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00ab: dup + IL_00ac: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b1: ldnull + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00b7: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bc: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c1: dup + IL_00c2: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00c7: ldnull + IL_00c8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00cd: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00d7: dup + IL_00d8: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00dd: ldnull + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ed: dup + IL_00ee: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00f3: ldnull + IL_00f4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00fe: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0103: dup + IL_0104: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0109: ldnull + IL_010a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_010f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0114: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0119: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_011e: dup + IL_011f: ldind.ref + IL_0120: ldnull + IL_0121: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0126: stind.ref + IL_0127: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_012c: dup + IL_012d: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0132: ldnull + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0138: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_013d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_0142: dup + IL_0143: ldind.ref + IL_0144: ldnull + IL_0145: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_014a: stind.ref + IL_014b: ret + } // end of method CompoundAssignmentTest::CustomClassDivideTest - .method public hidebysig instance int32 - DoubleInstancePropertyByteAndReturn() cil managed + .method public hidebysig static void CustomClassModulusTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 24 (0x18) + // Code size 332 (0x14c) .maxstack 3 - .locals init (uint8 V_0) - IL_0000: ldarg.0 - IL_0001: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0006: dup - IL_0007: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() - IL_000c: ldc.i4.2 - IL_000d: mul - IL_000e: conv.u1 - IL_000f: dup - IL_0010: stloc.0 - IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) - IL_0016: ldloc.0 - IL_0017: ret - } // end of method CompoundAssignmentTest::DoubleInstancePropertyByteAndReturn + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: ldnull + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0015: ldnull + IL_0016: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0020: ldarg.1 + IL_0021: dup + IL_0022: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0027: ldnull + IL_0028: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0039: ldnull + IL_003a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_003f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0044: ldarga.s s + IL_0046: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004b: dup + IL_004c: ldind.ref + IL_004d: ldnull + IL_004e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0053: stind.ref + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005c: ldnull + IL_005d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0062: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0067: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006c: dup + IL_006d: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0072: ldnull + IL_0073: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0078: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_007d: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0082: dup + IL_0083: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0088: ldnull + IL_0089: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_008e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0093: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0098: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_009d: dup + IL_009e: ldind.ref + IL_009f: ldnull + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00a5: stind.ref + IL_00a6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00ab: dup + IL_00ac: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b1: ldnull + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00b7: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bc: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c1: dup + IL_00c2: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00c7: ldnull + IL_00c8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00cd: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00d7: dup + IL_00d8: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00dd: ldnull + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ed: dup + IL_00ee: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00f3: ldnull + IL_00f4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00fe: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0103: dup + IL_0104: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0109: ldnull + IL_010a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_010f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0114: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0119: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_011e: dup + IL_011f: ldind.ref + IL_0120: ldnull + IL_0121: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0126: stind.ref + IL_0127: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_012c: dup + IL_012d: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0132: ldnull + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0138: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_013d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_0142: dup + IL_0143: ldind.ref + IL_0144: ldnull + IL_0145: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_014a: stind.ref + IL_014b: ret + } // end of method CompoundAssignmentTest::CustomClassModulusTest + + .method public hidebysig static void CustomClassLeftShiftTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 332 (0x14c) + .maxstack 3 + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: ldc.i4.5 + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0015: ldc.i4.5 + IL_0016: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_001b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0020: ldarg.1 + IL_0021: dup + IL_0022: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0027: ldc.i4.5 + IL_0028: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_002d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0039: ldc.i4.5 + IL_003a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_003f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0044: ldarga.s s + IL_0046: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004b: dup + IL_004c: ldind.ref + IL_004d: ldc.i4.5 + IL_004e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0053: stind.ref + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005c: ldc.i4.5 + IL_005d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0062: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0067: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006c: dup + IL_006d: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0072: ldc.i4.5 + IL_0073: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0078: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_007d: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0082: dup + IL_0083: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0088: ldc.i4.5 + IL_0089: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_008e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0093: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0098: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_009d: dup + IL_009e: ldind.ref + IL_009f: ldc.i4.5 + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00a5: stind.ref + IL_00a6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00ab: dup + IL_00ac: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b1: ldc.i4.5 + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00b7: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bc: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c1: dup + IL_00c2: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00c7: ldc.i4.5 + IL_00c8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00cd: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00d7: dup + IL_00d8: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00dd: ldc.i4.5 + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00e3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ed: dup + IL_00ee: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00f3: ldc.i4.5 + IL_00f4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00f9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00fe: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0103: dup + IL_0104: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0109: ldc.i4.5 + IL_010a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_010f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0114: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0119: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_011e: dup + IL_011f: ldind.ref + IL_0120: ldc.i4.5 + IL_0121: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0126: stind.ref + IL_0127: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_012c: dup + IL_012d: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0132: ldc.i4.5 + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0138: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_013d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_0142: dup + IL_0143: ldind.ref + IL_0144: ldc.i4.5 + IL_0145: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_014a: stind.ref + IL_014b: ret + } // end of method CompoundAssignmentTest::CustomClassLeftShiftTest + + .method public hidebysig static void CustomClassRightShiftTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 332 (0x14c) + .maxstack 3 + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: ldc.i4.5 + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0015: ldc.i4.5 + IL_0016: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_001b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0020: ldarg.1 + IL_0021: dup + IL_0022: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0027: ldc.i4.5 + IL_0028: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_002d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0039: ldc.i4.5 + IL_003a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_003f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0044: ldarga.s s + IL_0046: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004b: dup + IL_004c: ldind.ref + IL_004d: ldc.i4.5 + IL_004e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0053: stind.ref + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005c: ldc.i4.5 + IL_005d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0062: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0067: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006c: dup + IL_006d: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0072: ldc.i4.5 + IL_0073: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0078: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_007d: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0082: dup + IL_0083: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0088: ldc.i4.5 + IL_0089: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_008e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0093: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0098: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_009d: dup + IL_009e: ldind.ref + IL_009f: ldc.i4.5 + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00a5: stind.ref + IL_00a6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00ab: dup + IL_00ac: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b1: ldc.i4.5 + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00b7: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bc: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c1: dup + IL_00c2: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00c7: ldc.i4.5 + IL_00c8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00cd: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00d7: dup + IL_00d8: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00dd: ldc.i4.5 + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00e3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ed: dup + IL_00ee: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00f3: ldc.i4.5 + IL_00f4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00f9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00fe: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0103: dup + IL_0104: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0109: ldc.i4.5 + IL_010a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_010f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0114: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0119: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_011e: dup + IL_011f: ldind.ref + IL_0120: ldc.i4.5 + IL_0121: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0126: stind.ref + IL_0127: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_012c: dup + IL_012d: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0132: ldc.i4.5 + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0138: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_013d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_0142: dup + IL_0143: ldind.ref + IL_0144: ldc.i4.5 + IL_0145: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_014a: stind.ref + IL_014b: ret + } // end of method CompoundAssignmentTest::CustomClassRightShiftTest - .method public hidebysig instance int32 - PreIncrementStaticField() cil managed + .method public hidebysig static void CustomClassBitAndTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_0005: ldc.i4.1 - IL_0006: add - IL_0007: dup - IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_000d: ret - } // end of method CompoundAssignmentTest::PreIncrementStaticField + // Code size 332 (0x14c) + .maxstack 3 + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: ldnull + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0015: ldnull + IL_0016: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0020: ldarg.1 + IL_0021: dup + IL_0022: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0027: ldnull + IL_0028: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0039: ldnull + IL_003a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_003f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0044: ldarga.s s + IL_0046: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004b: dup + IL_004c: ldind.ref + IL_004d: ldnull + IL_004e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0053: stind.ref + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005c: ldnull + IL_005d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0062: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0067: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006c: dup + IL_006d: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0072: ldnull + IL_0073: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0078: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_007d: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0082: dup + IL_0083: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0088: ldnull + IL_0089: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_008e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0093: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0098: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_009d: dup + IL_009e: ldind.ref + IL_009f: ldnull + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00a5: stind.ref + IL_00a6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00ab: dup + IL_00ac: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b1: ldnull + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00b7: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bc: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c1: dup + IL_00c2: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00c7: ldnull + IL_00c8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00cd: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00d7: dup + IL_00d8: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00dd: ldnull + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ed: dup + IL_00ee: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00f3: ldnull + IL_00f4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00fe: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0103: dup + IL_0104: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0109: ldnull + IL_010a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_010f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0114: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0119: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_011e: dup + IL_011f: ldind.ref + IL_0120: ldnull + IL_0121: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0126: stind.ref + IL_0127: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_012c: dup + IL_012d: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0132: ldnull + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0138: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_013d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_0142: dup + IL_0143: ldind.ref + IL_0144: ldnull + IL_0145: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_014a: stind.ref + IL_014b: ret + } // end of method CompoundAssignmentTest::CustomClassBitAndTest - .method public hidebysig instance int32 - PostIncrementStaticField() cil managed + .method public hidebysig static void CustomClassBitOrTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + // Code size 332 (0x14c) + .maxstack 3 + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: ldnull + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0015: ldnull + IL_0016: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0020: ldarg.1 + IL_0021: dup + IL_0022: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0027: ldnull + IL_0028: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0039: ldnull + IL_003a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_003f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0044: ldarga.s s + IL_0046: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004b: dup + IL_004c: ldind.ref + IL_004d: ldnull + IL_004e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0053: stind.ref + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005c: ldnull + IL_005d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0062: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0067: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006c: dup + IL_006d: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0072: ldnull + IL_0073: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0078: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_007d: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0082: dup + IL_0083: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0088: ldnull + IL_0089: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_008e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0093: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0098: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_009d: dup + IL_009e: ldind.ref + IL_009f: ldnull + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00a5: stind.ref + IL_00a6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00ab: dup + IL_00ac: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b1: ldnull + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00b7: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bc: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c1: dup + IL_00c2: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00c7: ldnull + IL_00c8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00cd: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00d7: dup + IL_00d8: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00dd: ldnull + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ed: dup + IL_00ee: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00f3: ldnull + IL_00f4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00fe: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0103: dup + IL_0104: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0109: ldnull + IL_010a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_010f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0114: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0119: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_011e: dup + IL_011f: ldind.ref + IL_0120: ldnull + IL_0121: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0126: stind.ref + IL_0127: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_012c: dup + IL_012d: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0132: ldnull + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0138: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_013d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_0142: dup + IL_0143: ldind.ref + IL_0144: ldnull + IL_0145: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_014a: stind.ref + IL_014b: ret + } // end of method CompoundAssignmentTest::CustomClassBitOrTest + + .method public hidebysig static void CustomClassBitXorTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 332 (0x14c) + .maxstack 3 + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: ldnull + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0015: ldnull + IL_0016: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0020: ldarg.1 + IL_0021: dup + IL_0022: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0027: ldnull + IL_0028: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0039: ldnull + IL_003a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_003f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0044: ldarga.s s + IL_0046: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004b: dup + IL_004c: ldind.ref + IL_004d: ldnull + IL_004e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0053: stind.ref + IL_0054: ldarga.s s + IL_0056: dup + IL_0057: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005c: ldnull + IL_005d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0062: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0067: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006c: dup + IL_006d: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0072: ldnull + IL_0073: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0078: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_007d: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0082: dup + IL_0083: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0088: ldnull + IL_0089: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_008e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0093: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0098: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_009d: dup + IL_009e: ldind.ref + IL_009f: ldnull + IL_00a0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00a5: stind.ref + IL_00a6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00ab: dup + IL_00ac: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b1: ldnull + IL_00b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00b7: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bc: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c1: dup + IL_00c2: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00c7: ldnull + IL_00c8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00cd: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00d7: dup + IL_00d8: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00dd: ldnull + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00ed: dup + IL_00ee: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00f3: ldnull + IL_00f4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00fe: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0103: dup + IL_0104: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0109: ldnull + IL_010a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_010f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0114: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0119: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_011e: dup + IL_011f: ldind.ref + IL_0120: ldnull + IL_0121: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0126: stind.ref + IL_0127: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_012c: dup + IL_012d: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0132: ldnull + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0138: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_013d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_0142: dup + IL_0143: ldind.ref + IL_0144: ldnull + IL_0145: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_014a: stind.ref + IL_014b: ret + } // end of method CompoundAssignmentTest::CustomClassBitXorTest + + .method public hidebysig static void CustomClassPostIncTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 447 (0x1bf) + .maxstack 2 + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_0) + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField IL_0005: dup - IL_0006: ldc.i4.1 - IL_0007: add - IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_000d: ret - } // end of method CompoundAssignmentTest::PostIncrementStaticField + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0015: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_001a: dup + IL_001b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0020: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0025: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0031: stloc.0 + IL_0032: ldloc.0 + IL_0033: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0038: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_003d: ldloc.0 + IL_003e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0043: ldarg.1 + IL_0044: dup + IL_0045: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_004a: stloc.0 + IL_004b: ldloc.0 + IL_004c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0051: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0056: ldloc.0 + IL_0057: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005c: ldarga.s s + IL_005e: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0063: dup + IL_0064: ldind.ref + IL_0065: stloc.0 + IL_0066: ldloc.0 + IL_0067: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006c: stind.ref + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: ldarga.s s + IL_0075: dup + IL_0076: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_007b: stloc.0 + IL_007c: ldloc.0 + IL_007d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0082: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0092: dup + IL_0093: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0098: stloc.0 + IL_0099: ldloc.0 + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_009f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00a4: ldloc.0 + IL_00a5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00b5: stloc.0 + IL_00b6: ldloc.0 + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bc: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c1: ldloc.0 + IL_00c2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00d1: dup + IL_00d2: ldind.ref + IL_00d3: stloc.0 + IL_00d4: ldloc.0 + IL_00d5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00da: stind.ref + IL_00db: ldloc.0 + IL_00dc: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e1: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e6: dup + IL_00e7: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00ec: stloc.0 + IL_00ed: ldloc.0 + IL_00ee: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f8: ldloc.0 + IL_00f9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00fe: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0103: dup + IL_0104: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0109: stloc.0 + IL_010a: ldloc.0 + IL_010b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0110: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0120: dup + IL_0121: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0126: stloc.0 + IL_0127: ldloc.0 + IL_0128: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_012d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013d: dup + IL_013e: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0143: stloc.0 + IL_0144: ldloc.0 + IL_0145: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_014a: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_014f: ldloc.0 + IL_0150: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0160: stloc.0 + IL_0161: ldloc.0 + IL_0162: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0167: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_016c: ldloc.0 + IL_016d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0172: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0177: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_017c: dup + IL_017d: ldind.ref + IL_017e: stloc.0 + IL_017f: ldloc.0 + IL_0180: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0185: stind.ref + IL_0186: ldloc.0 + IL_0187: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_018c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0191: dup + IL_0192: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0197: stloc.0 + IL_0198: ldloc.0 + IL_0199: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_019e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_01a3: ldloc.0 + IL_01a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a9: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_01ae: dup + IL_01af: ldind.ref + IL_01b0: stloc.0 + IL_01b1: ldloc.0 + IL_01b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_01b7: stind.ref + IL_01b8: ldloc.0 + IL_01b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01be: ret + } // end of method CompoundAssignmentTest::CustomClassPostIncTest - .method public hidebysig instance void - IncrementStaticField() cil managed + .method public hidebysig static void CustomClassPreIncTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 13 (0xd) - .maxstack 8 - IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_0005: ldc.i4.1 - IL_0006: add - IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_000c: ret - } // end of method CompoundAssignmentTest::IncrementStaticField + // Code size 447 (0x1bf) + .maxstack 2 + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_0) + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000a: dup + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0015: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_001a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001f: dup + IL_0020: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0025: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0031: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0036: stloc.0 + IL_0037: ldloc.0 + IL_0038: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_003d: ldloc.0 + IL_003e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0043: ldarg.1 + IL_0044: dup + IL_0045: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_004a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_004f: stloc.0 + IL_0050: ldloc.0 + IL_0051: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0056: ldloc.0 + IL_0057: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005c: ldarga.s s + IL_005e: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0063: dup + IL_0064: ldind.ref + IL_0065: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006a: stloc.0 + IL_006b: ldloc.0 + IL_006c: stind.ref + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: ldarga.s s + IL_0075: dup + IL_0076: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_007b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0080: stloc.0 + IL_0081: ldloc.0 + IL_0082: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0092: dup + IL_0093: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0098: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_009d: stloc.0 + IL_009e: ldloc.0 + IL_009f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00a4: ldloc.0 + IL_00a5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00b5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ba: stloc.0 + IL_00bb: ldloc.0 + IL_00bc: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c1: ldloc.0 + IL_00c2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00d1: dup + IL_00d2: ldind.ref + IL_00d3: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d8: stloc.0 + IL_00d9: ldloc.0 + IL_00da: stind.ref + IL_00db: ldloc.0 + IL_00dc: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e1: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e6: dup + IL_00e7: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00ec: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f1: stloc.0 + IL_00f2: ldloc.0 + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f8: ldloc.0 + IL_00f9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00fe: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0103: dup + IL_0104: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0109: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_010e: stloc.0 + IL_010f: ldloc.0 + IL_0110: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0120: dup + IL_0121: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0126: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_012b: stloc.0 + IL_012c: ldloc.0 + IL_012d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013d: dup + IL_013e: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0143: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0148: stloc.0 + IL_0149: ldloc.0 + IL_014a: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_014f: ldloc.0 + IL_0150: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0160: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0165: stloc.0 + IL_0166: ldloc.0 + IL_0167: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_016c: ldloc.0 + IL_016d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0172: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0177: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_017c: dup + IL_017d: ldind.ref + IL_017e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0183: stloc.0 + IL_0184: ldloc.0 + IL_0185: stind.ref + IL_0186: ldloc.0 + IL_0187: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_018c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0191: dup + IL_0192: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0197: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_019c: stloc.0 + IL_019d: ldloc.0 + IL_019e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_01a3: ldloc.0 + IL_01a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a9: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_01ae: dup + IL_01af: ldind.ref + IL_01b0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_01b5: stloc.0 + IL_01b6: ldloc.0 + IL_01b7: stind.ref + IL_01b8: ldloc.0 + IL_01b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01be: ret + } // end of method CompoundAssignmentTest::CustomClassPreIncTest - .method public hidebysig instance void - DoubleStaticField() cil managed + .method public hidebysig static void CustomClassPostDecTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 13 (0xd) - .maxstack 8 - IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_0005: ldc.i4.2 - IL_0006: mul - IL_0007: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_000c: ret - } // end of method CompoundAssignmentTest::DoubleStaticField + // Code size 447 (0x1bf) + .maxstack 2 + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_0) + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: dup + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0015: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_001a: dup + IL_001b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0020: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0025: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0031: stloc.0 + IL_0032: ldloc.0 + IL_0033: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0038: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_003d: ldloc.0 + IL_003e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0043: ldarg.1 + IL_0044: dup + IL_0045: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_004a: stloc.0 + IL_004b: ldloc.0 + IL_004c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0051: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0056: ldloc.0 + IL_0057: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005c: ldarga.s s + IL_005e: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0063: dup + IL_0064: ldind.ref + IL_0065: stloc.0 + IL_0066: ldloc.0 + IL_0067: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006c: stind.ref + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: ldarga.s s + IL_0075: dup + IL_0076: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_007b: stloc.0 + IL_007c: ldloc.0 + IL_007d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0082: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0092: dup + IL_0093: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0098: stloc.0 + IL_0099: ldloc.0 + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_009f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00a4: ldloc.0 + IL_00a5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00b5: stloc.0 + IL_00b6: ldloc.0 + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bc: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c1: ldloc.0 + IL_00c2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00d1: dup + IL_00d2: ldind.ref + IL_00d3: stloc.0 + IL_00d4: ldloc.0 + IL_00d5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00da: stind.ref + IL_00db: ldloc.0 + IL_00dc: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e1: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e6: dup + IL_00e7: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00ec: stloc.0 + IL_00ed: ldloc.0 + IL_00ee: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f8: ldloc.0 + IL_00f9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00fe: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0103: dup + IL_0104: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0109: stloc.0 + IL_010a: ldloc.0 + IL_010b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0110: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0120: dup + IL_0121: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0126: stloc.0 + IL_0127: ldloc.0 + IL_0128: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_012d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013d: dup + IL_013e: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0143: stloc.0 + IL_0144: ldloc.0 + IL_0145: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_014a: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_014f: ldloc.0 + IL_0150: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0160: stloc.0 + IL_0161: ldloc.0 + IL_0162: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0167: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_016c: ldloc.0 + IL_016d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0172: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0177: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_017c: dup + IL_017d: ldind.ref + IL_017e: stloc.0 + IL_017f: ldloc.0 + IL_0180: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0185: stind.ref + IL_0186: ldloc.0 + IL_0187: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_018c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0191: dup + IL_0192: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0197: stloc.0 + IL_0198: ldloc.0 + IL_0199: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_019e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_01a3: ldloc.0 + IL_01a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a9: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_01ae: dup + IL_01af: ldind.ref + IL_01b0: stloc.0 + IL_01b1: ldloc.0 + IL_01b2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_01b7: stind.ref + IL_01b8: ldloc.0 + IL_01b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01be: ret + } // end of method CompoundAssignmentTest::CustomClassPostDecTest - .method public hidebysig instance int32 - DoubleStaticFieldAndReturn() cil managed + .method public hidebysig static void CustomClassPreDecTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_0005: ldc.i4.2 - IL_0006: mul - IL_0007: dup - IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_000d: ret - } // end of method CompoundAssignmentTest::DoubleStaticFieldAndReturn + // Code size 447 (0x1bf) + .maxstack 2 + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_0) + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0005: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000a: dup + IL_000b: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0010: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0015: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_001a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001f: dup + IL_0020: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0025: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0031: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0036: stloc.0 + IL_0037: ldloc.0 + IL_0038: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_003d: ldloc.0 + IL_003e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0043: ldarg.1 + IL_0044: dup + IL_0045: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_004a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_004f: stloc.0 + IL_0050: ldloc.0 + IL_0051: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0056: ldloc.0 + IL_0057: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005c: ldarga.s s + IL_005e: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0063: dup + IL_0064: ldind.ref + IL_0065: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006a: stloc.0 + IL_006b: ldloc.0 + IL_006c: stind.ref + IL_006d: ldloc.0 + IL_006e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0073: ldarga.s s + IL_0075: dup + IL_0076: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_007b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0080: stloc.0 + IL_0081: ldloc.0 + IL_0082: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0087: ldloc.0 + IL_0088: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008d: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0092: dup + IL_0093: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0098: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_009d: stloc.0 + IL_009e: ldloc.0 + IL_009f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00a4: ldloc.0 + IL_00a5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00aa: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00af: dup + IL_00b0: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00b5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ba: stloc.0 + IL_00bb: ldloc.0 + IL_00bc: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c1: ldloc.0 + IL_00c2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c7: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00cc: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00d1: dup + IL_00d2: ldind.ref + IL_00d3: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d8: stloc.0 + IL_00d9: ldloc.0 + IL_00da: stind.ref + IL_00db: ldloc.0 + IL_00dc: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00e1: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e6: dup + IL_00e7: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00ec: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f1: stloc.0 + IL_00f2: ldloc.0 + IL_00f3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00f8: ldloc.0 + IL_00f9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00fe: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0103: dup + IL_0104: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0109: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_010e: stloc.0 + IL_010f: ldloc.0 + IL_0110: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0115: ldloc.0 + IL_0116: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0120: dup + IL_0121: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0126: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_012b: stloc.0 + IL_012c: ldloc.0 + IL_012d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0132: ldloc.0 + IL_0133: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0138: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_013d: dup + IL_013e: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0143: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0148: stloc.0 + IL_0149: ldloc.0 + IL_014a: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_014f: ldloc.0 + IL_0150: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0155: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015a: dup + IL_015b: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0160: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0165: stloc.0 + IL_0166: ldloc.0 + IL_0167: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_016c: ldloc.0 + IL_016d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0172: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0177: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_017c: dup + IL_017d: ldind.ref + IL_017e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0183: stloc.0 + IL_0184: ldloc.0 + IL_0185: stind.ref + IL_0186: ldloc.0 + IL_0187: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_018c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0191: dup + IL_0192: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0197: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_019c: stloc.0 + IL_019d: ldloc.0 + IL_019e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_01a3: ldloc.0 + IL_01a4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a9: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_01ae: dup + IL_01af: ldind.ref + IL_01b0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_01b5: stloc.0 + IL_01b6: ldloc.0 + IL_01b7: stind.ref + IL_01b8: ldloc.0 + IL_01b9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01be: ret + } // end of method CompoundAssignmentTest::CustomClassPreDecTest - .method public hidebysig instance int32 - PreIncrementStaticFieldShort() cil managed + .method public hidebysig static void CustomStructAddTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_0005: ldc.i4.1 - IL_0006: add - IL_0007: conv.i2 - IL_0008: dup - IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_000e: ret - } // end of method CompoundAssignmentTest::PreIncrementStaticFieldShort + // Code size 500 (0x1f4) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: ldloca.s V_0 + IL_0007: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000d: ldloc.0 + IL_000e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0013: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0018: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001d: ldloca.s V_0 + IL_001f: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0025: ldloc.0 + IL_0026: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0030: ldarg.1 + IL_0031: dup + IL_0032: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0037: ldloca.s V_0 + IL_0039: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_003f: ldloc.0 + IL_0040: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0045: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004a: ldarg.1 + IL_004b: dup + IL_004c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0051: ldloca.s V_0 + IL_0053: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0059: ldloc.0 + IL_005a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_005f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0064: ldarga.s s + IL_0066: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006b: dup + IL_006c: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0071: ldloca.s V_0 + IL_0073: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0079: ldloc.0 + IL_007a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_007f: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0084: ldarga.s s + IL_0086: dup + IL_0087: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008c: ldloca.s V_0 + IL_008e: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0094: ldloc.0 + IL_0095: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a4: dup + IL_00a5: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00aa: ldloca.s V_0 + IL_00ac: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b2: ldloc.0 + IL_00b3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b8: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00bd: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c2: dup + IL_00c3: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c8: ldloca.s V_0 + IL_00ca: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00d0: ldloc.0 + IL_00d1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d6: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e5: dup + IL_00e6: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00eb: ldloca.s V_0 + IL_00ed: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f3: ldloc.0 + IL_00f4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f9: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00fe: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0103: dup + IL_0104: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0109: ldloca.s V_0 + IL_010b: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0111: ldloc.0 + IL_0112: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0117: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0127: ldloca.s V_0 + IL_0129: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_012f: ldloc.0 + IL_0130: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0135: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_013a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_013f: dup + IL_0140: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0145: ldloca.s V_0 + IL_0147: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_014d: ldloc.0 + IL_014e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0153: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0158: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015d: dup + IL_015e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0163: ldloca.s V_0 + IL_0165: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_016b: ldloc.0 + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0171: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0176: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_017b: dup + IL_017c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0181: ldloca.s V_0 + IL_0183: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0189: ldloc.0 + IL_018a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0194: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0199: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_019e: dup + IL_019f: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01a4: ldloca.s V_0 + IL_01a6: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01ac: ldloc.0 + IL_01ad: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01b2: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01b7: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01bc: dup + IL_01bd: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_01c2: ldloca.s V_0 + IL_01c4: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01ca: ldloc.0 + IL_01cb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d0: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_01da: dup + IL_01db: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e0: ldloca.s V_0 + IL_01e2: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e8: ldloc.0 + IL_01e9: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01ee: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01f3: ret + } // end of method CompoundAssignmentTest::CustomStructAddTest - .method public hidebysig instance int32 - PostIncrementStaticFieldShort() cil managed + .method public hidebysig static void CustomStructSubtractTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_0005: dup - IL_0006: ldc.i4.1 - IL_0007: add - IL_0008: conv.i2 - IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_000e: ret - } // end of method CompoundAssignmentTest::PostIncrementStaticFieldShort + // Code size 500 (0x1f4) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: ldloca.s V_0 + IL_0007: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000d: ldloc.0 + IL_000e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0013: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0018: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001d: ldloca.s V_0 + IL_001f: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0025: ldloc.0 + IL_0026: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0030: ldarg.1 + IL_0031: dup + IL_0032: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0037: ldloca.s V_0 + IL_0039: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_003f: ldloc.0 + IL_0040: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0045: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004a: ldarg.1 + IL_004b: dup + IL_004c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0051: ldloca.s V_0 + IL_0053: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0059: ldloc.0 + IL_005a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_005f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0064: ldarga.s s + IL_0066: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006b: dup + IL_006c: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0071: ldloca.s V_0 + IL_0073: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0079: ldloc.0 + IL_007a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_007f: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0084: ldarga.s s + IL_0086: dup + IL_0087: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008c: ldloca.s V_0 + IL_008e: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0094: ldloc.0 + IL_0095: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a4: dup + IL_00a5: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00aa: ldloca.s V_0 + IL_00ac: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b2: ldloc.0 + IL_00b3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b8: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00bd: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c2: dup + IL_00c3: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c8: ldloca.s V_0 + IL_00ca: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00d0: ldloc.0 + IL_00d1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d6: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e5: dup + IL_00e6: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00eb: ldloca.s V_0 + IL_00ed: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f3: ldloc.0 + IL_00f4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f9: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00fe: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0103: dup + IL_0104: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0109: ldloca.s V_0 + IL_010b: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0111: ldloc.0 + IL_0112: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0117: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0127: ldloca.s V_0 + IL_0129: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_012f: ldloc.0 + IL_0130: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0135: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_013a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_013f: dup + IL_0140: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0145: ldloca.s V_0 + IL_0147: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_014d: ldloc.0 + IL_014e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0153: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0158: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015d: dup + IL_015e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0163: ldloca.s V_0 + IL_0165: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_016b: ldloc.0 + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0171: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0176: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_017b: dup + IL_017c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0181: ldloca.s V_0 + IL_0183: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0189: ldloc.0 + IL_018a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0194: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0199: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_019e: dup + IL_019f: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01a4: ldloca.s V_0 + IL_01a6: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01ac: ldloc.0 + IL_01ad: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01b2: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01b7: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01bc: dup + IL_01bd: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_01c2: ldloca.s V_0 + IL_01c4: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01ca: ldloc.0 + IL_01cb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d0: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_01da: dup + IL_01db: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e0: ldloca.s V_0 + IL_01e2: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e8: ldloc.0 + IL_01e9: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01ee: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01f3: ret + } // end of method CompoundAssignmentTest::CustomStructSubtractTest - .method public hidebysig instance void - IncrementStaticFieldShort() cil managed + .method public hidebysig static void CustomStructMultiplyTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_0005: ldc.i4.1 - IL_0006: add - IL_0007: conv.i2 - IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_000d: ret - } // end of method CompoundAssignmentTest::IncrementStaticFieldShort + // Code size 500 (0x1f4) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: ldloca.s V_0 + IL_0007: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000d: ldloc.0 + IL_000e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0013: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0018: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001d: ldloca.s V_0 + IL_001f: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0025: ldloc.0 + IL_0026: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0030: ldarg.1 + IL_0031: dup + IL_0032: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0037: ldloca.s V_0 + IL_0039: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_003f: ldloc.0 + IL_0040: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0045: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004a: ldarg.1 + IL_004b: dup + IL_004c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0051: ldloca.s V_0 + IL_0053: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0059: ldloc.0 + IL_005a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_005f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0064: ldarga.s s + IL_0066: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006b: dup + IL_006c: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0071: ldloca.s V_0 + IL_0073: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0079: ldloc.0 + IL_007a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_007f: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0084: ldarga.s s + IL_0086: dup + IL_0087: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008c: ldloca.s V_0 + IL_008e: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0094: ldloc.0 + IL_0095: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a4: dup + IL_00a5: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00aa: ldloca.s V_0 + IL_00ac: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b2: ldloc.0 + IL_00b3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b8: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00bd: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c2: dup + IL_00c3: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c8: ldloca.s V_0 + IL_00ca: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00d0: ldloc.0 + IL_00d1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d6: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e5: dup + IL_00e6: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00eb: ldloca.s V_0 + IL_00ed: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f3: ldloc.0 + IL_00f4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f9: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00fe: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0103: dup + IL_0104: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0109: ldloca.s V_0 + IL_010b: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0111: ldloc.0 + IL_0112: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0117: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0127: ldloca.s V_0 + IL_0129: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_012f: ldloc.0 + IL_0130: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0135: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_013a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_013f: dup + IL_0140: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0145: ldloca.s V_0 + IL_0147: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_014d: ldloc.0 + IL_014e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0153: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0158: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015d: dup + IL_015e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0163: ldloca.s V_0 + IL_0165: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_016b: ldloc.0 + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0171: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0176: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_017b: dup + IL_017c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0181: ldloca.s V_0 + IL_0183: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0189: ldloc.0 + IL_018a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0194: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0199: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_019e: dup + IL_019f: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01a4: ldloca.s V_0 + IL_01a6: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01ac: ldloc.0 + IL_01ad: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01b2: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01b7: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01bc: dup + IL_01bd: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_01c2: ldloca.s V_0 + IL_01c4: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01ca: ldloc.0 + IL_01cb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d0: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_01da: dup + IL_01db: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e0: ldloca.s V_0 + IL_01e2: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e8: ldloc.0 + IL_01e9: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01ee: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01f3: ret + } // end of method CompoundAssignmentTest::CustomStructMultiplyTest - .method public hidebysig instance void - DoubleStaticFieldShort() cil managed + .method public hidebysig static void CustomStructDivideTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_0005: ldc.i4.2 - IL_0006: mul - IL_0007: conv.i2 - IL_0008: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_000d: ret - } // end of method CompoundAssignmentTest::DoubleStaticFieldShort + // Code size 500 (0x1f4) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: ldloca.s V_0 + IL_0007: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000d: ldloc.0 + IL_000e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0013: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0018: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001d: ldloca.s V_0 + IL_001f: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0025: ldloc.0 + IL_0026: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0030: ldarg.1 + IL_0031: dup + IL_0032: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0037: ldloca.s V_0 + IL_0039: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_003f: ldloc.0 + IL_0040: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0045: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004a: ldarg.1 + IL_004b: dup + IL_004c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0051: ldloca.s V_0 + IL_0053: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0059: ldloc.0 + IL_005a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_005f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0064: ldarga.s s + IL_0066: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006b: dup + IL_006c: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0071: ldloca.s V_0 + IL_0073: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0079: ldloc.0 + IL_007a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_007f: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0084: ldarga.s s + IL_0086: dup + IL_0087: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008c: ldloca.s V_0 + IL_008e: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0094: ldloc.0 + IL_0095: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a4: dup + IL_00a5: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00aa: ldloca.s V_0 + IL_00ac: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b2: ldloc.0 + IL_00b3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b8: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00bd: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c2: dup + IL_00c3: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c8: ldloca.s V_0 + IL_00ca: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00d0: ldloc.0 + IL_00d1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d6: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e5: dup + IL_00e6: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00eb: ldloca.s V_0 + IL_00ed: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f3: ldloc.0 + IL_00f4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f9: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00fe: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0103: dup + IL_0104: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0109: ldloca.s V_0 + IL_010b: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0111: ldloc.0 + IL_0112: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0117: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0127: ldloca.s V_0 + IL_0129: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_012f: ldloc.0 + IL_0130: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0135: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_013a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_013f: dup + IL_0140: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0145: ldloca.s V_0 + IL_0147: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_014d: ldloc.0 + IL_014e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0153: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0158: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015d: dup + IL_015e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0163: ldloca.s V_0 + IL_0165: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_016b: ldloc.0 + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0171: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0176: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_017b: dup + IL_017c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0181: ldloca.s V_0 + IL_0183: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0189: ldloc.0 + IL_018a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0194: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0199: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_019e: dup + IL_019f: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01a4: ldloca.s V_0 + IL_01a6: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01ac: ldloc.0 + IL_01ad: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01b2: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01b7: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01bc: dup + IL_01bd: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_01c2: ldloca.s V_0 + IL_01c4: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01ca: ldloc.0 + IL_01cb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d0: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_01da: dup + IL_01db: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e0: ldloca.s V_0 + IL_01e2: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e8: ldloc.0 + IL_01e9: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01ee: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01f3: ret + } // end of method CompoundAssignmentTest::CustomStructDivideTest - .method public hidebysig instance int16 - DoubleStaticFieldAndReturnShort() cil managed + .method public hidebysig static void CustomStructModulusTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_0005: ldc.i4.2 - IL_0006: mul - IL_0007: conv.i2 - IL_0008: dup - IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_000e: ret - } // end of method CompoundAssignmentTest::DoubleStaticFieldAndReturnShort + // Code size 500 (0x1f4) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: ldloca.s V_0 + IL_0007: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000d: ldloc.0 + IL_000e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0013: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0018: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001d: ldloca.s V_0 + IL_001f: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0025: ldloc.0 + IL_0026: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0030: ldarg.1 + IL_0031: dup + IL_0032: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0037: ldloca.s V_0 + IL_0039: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_003f: ldloc.0 + IL_0040: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0045: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004a: ldarg.1 + IL_004b: dup + IL_004c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0051: ldloca.s V_0 + IL_0053: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0059: ldloc.0 + IL_005a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_005f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0064: ldarga.s s + IL_0066: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006b: dup + IL_006c: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0071: ldloca.s V_0 + IL_0073: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0079: ldloc.0 + IL_007a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_007f: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0084: ldarga.s s + IL_0086: dup + IL_0087: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008c: ldloca.s V_0 + IL_008e: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0094: ldloc.0 + IL_0095: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a4: dup + IL_00a5: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00aa: ldloca.s V_0 + IL_00ac: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b2: ldloc.0 + IL_00b3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b8: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00bd: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c2: dup + IL_00c3: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c8: ldloca.s V_0 + IL_00ca: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00d0: ldloc.0 + IL_00d1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d6: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e5: dup + IL_00e6: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00eb: ldloca.s V_0 + IL_00ed: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f3: ldloc.0 + IL_00f4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f9: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00fe: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0103: dup + IL_0104: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0109: ldloca.s V_0 + IL_010b: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0111: ldloc.0 + IL_0112: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0117: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0127: ldloca.s V_0 + IL_0129: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_012f: ldloc.0 + IL_0130: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0135: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_013a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_013f: dup + IL_0140: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0145: ldloca.s V_0 + IL_0147: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_014d: ldloc.0 + IL_014e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0153: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0158: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015d: dup + IL_015e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0163: ldloca.s V_0 + IL_0165: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_016b: ldloc.0 + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0171: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0176: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_017b: dup + IL_017c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0181: ldloca.s V_0 + IL_0183: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0189: ldloc.0 + IL_018a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0194: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0199: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_019e: dup + IL_019f: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01a4: ldloca.s V_0 + IL_01a6: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01ac: ldloc.0 + IL_01ad: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01b2: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01b7: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01bc: dup + IL_01bd: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_01c2: ldloca.s V_0 + IL_01c4: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01ca: ldloc.0 + IL_01cb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d0: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_01da: dup + IL_01db: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e0: ldloca.s V_0 + IL_01e2: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e8: ldloc.0 + IL_01e9: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01ee: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01f3: ret + } // end of method CompoundAssignmentTest::CustomStructModulusTest - .method public hidebysig instance int32 - PreIncrementStaticProperty() cil managed + .method public hidebysig static void CustomStructLeftShiftTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 - IL_0000: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() - IL_0005: ldc.i4.1 - IL_0006: add - IL_0007: dup - IL_0008: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) - IL_000d: ret - } // end of method CompoundAssignmentTest::PreIncrementStaticProperty + // Code size 364 (0x16c) + .maxstack 3 + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: ldc.i4.5 + IL_0006: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_000b: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0010: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_0015: ldc.i4.5 + IL_0016: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_001b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0020: ldarg.1 + IL_0021: dup + IL_0022: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0027: ldc.i4.5 + IL_0028: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_002d: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0039: ldc.i4.5 + IL_003a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_003f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0044: ldarga.s s + IL_0046: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_004b: dup + IL_004c: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0051: ldc.i4.5 + IL_0052: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0057: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_005c: ldarga.s s + IL_005e: dup + IL_005f: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0064: ldc.i4.5 + IL_0065: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_006a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_007a: ldc.i4.5 + IL_007b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0080: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0085: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_008a: dup + IL_008b: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0090: ldc.i4.5 + IL_0091: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0096: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00a0: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00a5: dup + IL_00a6: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ab: ldc.i4.5 + IL_00ac: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00b1: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bb: dup + IL_00bc: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_00c1: ldc.i4.5 + IL_00c2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00c7: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00cc: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00d1: dup + IL_00d2: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00d7: ldc.i4.5 + IL_00d8: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00dd: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00e2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00e7: dup + IL_00e8: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00ed: ldc.i4.5 + IL_00ee: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00f3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00fd: dup + IL_00fe: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0103: ldc.i4.5 + IL_0104: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0109: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_010e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0113: dup + IL_0114: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0119: ldc.i4.5 + IL_011a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_011f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0124: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0129: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_012e: dup + IL_012f: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0134: ldc.i4.5 + IL_0135: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_013a: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_013f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0144: dup + IL_0145: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_014a: ldc.i4.5 + IL_014b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0150: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0155: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_015a: dup + IL_015b: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0160: ldc.i4.5 + IL_0161: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0166: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_016b: ret + } // end of method CompoundAssignmentTest::CustomStructLeftShiftTest - .method public hidebysig instance int32 - PostIncrementStaticProperty() cil managed + .method public hidebysig static void CustomStructRightShiftTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 - IL_0000: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() - IL_0005: dup - IL_0006: ldc.i4.1 - IL_0007: add - IL_0008: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) - IL_000d: ret - } // end of method CompoundAssignmentTest::PostIncrementStaticProperty + // Code size 364 (0x16c) + .maxstack 3 + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: ldc.i4.5 + IL_0006: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_000b: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0010: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_0015: ldc.i4.5 + IL_0016: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_001b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0020: ldarg.1 + IL_0021: dup + IL_0022: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0027: ldc.i4.5 + IL_0028: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_002d: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0039: ldc.i4.5 + IL_003a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_003f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0044: ldarga.s s + IL_0046: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_004b: dup + IL_004c: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0051: ldc.i4.5 + IL_0052: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0057: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_005c: ldarga.s s + IL_005e: dup + IL_005f: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0064: ldc.i4.5 + IL_0065: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_006a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_006f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0074: dup + IL_0075: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_007a: ldc.i4.5 + IL_007b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0080: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0085: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_008a: dup + IL_008b: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0090: ldc.i4.5 + IL_0091: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0096: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009b: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00a0: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00a5: dup + IL_00a6: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ab: ldc.i4.5 + IL_00ac: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00b1: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b6: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00bb: dup + IL_00bc: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_00c1: ldc.i4.5 + IL_00c2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00c7: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00cc: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00d1: dup + IL_00d2: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00d7: ldc.i4.5 + IL_00d8: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00dd: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00e2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00e7: dup + IL_00e8: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00ed: ldc.i4.5 + IL_00ee: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00f3: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00fd: dup + IL_00fe: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0103: ldc.i4.5 + IL_0104: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0109: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_010e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0113: dup + IL_0114: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0119: ldc.i4.5 + IL_011a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_011f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0124: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0129: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_012e: dup + IL_012f: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0134: ldc.i4.5 + IL_0135: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_013a: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_013f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0144: dup + IL_0145: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_014a: ldc.i4.5 + IL_014b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0150: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0155: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_015a: dup + IL_015b: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0160: ldc.i4.5 + IL_0161: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0166: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_016b: ret + } // end of method CompoundAssignmentTest::CustomStructRightShiftTest - .method public hidebysig instance void - IncrementStaticProperty() cil managed + .method public hidebysig static void CustomStructBitAndTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 13 (0xd) - .maxstack 8 - IL_0000: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() - IL_0005: ldc.i4.1 - IL_0006: add - IL_0007: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) - IL_000c: ret - } // end of method CompoundAssignmentTest::IncrementStaticProperty + // Code size 500 (0x1f4) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: ldloca.s V_0 + IL_0007: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000d: ldloc.0 + IL_000e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0013: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0018: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001d: ldloca.s V_0 + IL_001f: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0025: ldloc.0 + IL_0026: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0030: ldarg.1 + IL_0031: dup + IL_0032: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0037: ldloca.s V_0 + IL_0039: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_003f: ldloc.0 + IL_0040: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0045: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004a: ldarg.1 + IL_004b: dup + IL_004c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0051: ldloca.s V_0 + IL_0053: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0059: ldloc.0 + IL_005a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_005f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0064: ldarga.s s + IL_0066: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006b: dup + IL_006c: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0071: ldloca.s V_0 + IL_0073: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0079: ldloc.0 + IL_007a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_007f: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0084: ldarga.s s + IL_0086: dup + IL_0087: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008c: ldloca.s V_0 + IL_008e: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0094: ldloc.0 + IL_0095: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a4: dup + IL_00a5: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00aa: ldloca.s V_0 + IL_00ac: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b2: ldloc.0 + IL_00b3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b8: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00bd: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c2: dup + IL_00c3: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c8: ldloca.s V_0 + IL_00ca: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00d0: ldloc.0 + IL_00d1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d6: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e5: dup + IL_00e6: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00eb: ldloca.s V_0 + IL_00ed: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f3: ldloc.0 + IL_00f4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f9: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00fe: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0103: dup + IL_0104: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0109: ldloca.s V_0 + IL_010b: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0111: ldloc.0 + IL_0112: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0117: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0127: ldloca.s V_0 + IL_0129: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_012f: ldloc.0 + IL_0130: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0135: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_013a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_013f: dup + IL_0140: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0145: ldloca.s V_0 + IL_0147: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_014d: ldloc.0 + IL_014e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0153: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0158: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015d: dup + IL_015e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0163: ldloca.s V_0 + IL_0165: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_016b: ldloc.0 + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0171: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0176: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_017b: dup + IL_017c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0181: ldloca.s V_0 + IL_0183: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0189: ldloc.0 + IL_018a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0194: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0199: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_019e: dup + IL_019f: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01a4: ldloca.s V_0 + IL_01a6: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01ac: ldloc.0 + IL_01ad: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01b2: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01b7: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01bc: dup + IL_01bd: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_01c2: ldloca.s V_0 + IL_01c4: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01ca: ldloc.0 + IL_01cb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d0: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_01da: dup + IL_01db: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e0: ldloca.s V_0 + IL_01e2: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e8: ldloc.0 + IL_01e9: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01ee: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01f3: ret + } // end of method CompoundAssignmentTest::CustomStructBitAndTest - .method public hidebysig instance void - DoubleStaticProperty() cil managed + .method public hidebysig static void CustomStructBitOrTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 13 (0xd) - .maxstack 8 - IL_0000: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() - IL_0005: ldc.i4.2 - IL_0006: mul - IL_0007: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) - IL_000c: ret - } // end of method CompoundAssignmentTest::DoubleStaticProperty + // Code size 500 (0x1f4) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: ldloca.s V_0 + IL_0007: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000d: ldloc.0 + IL_000e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0013: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0018: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001d: ldloca.s V_0 + IL_001f: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0025: ldloc.0 + IL_0026: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0030: ldarg.1 + IL_0031: dup + IL_0032: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0037: ldloca.s V_0 + IL_0039: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_003f: ldloc.0 + IL_0040: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0045: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004a: ldarg.1 + IL_004b: dup + IL_004c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0051: ldloca.s V_0 + IL_0053: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0059: ldloc.0 + IL_005a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_005f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0064: ldarga.s s + IL_0066: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006b: dup + IL_006c: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0071: ldloca.s V_0 + IL_0073: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0079: ldloc.0 + IL_007a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_007f: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0084: ldarga.s s + IL_0086: dup + IL_0087: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008c: ldloca.s V_0 + IL_008e: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0094: ldloc.0 + IL_0095: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a4: dup + IL_00a5: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00aa: ldloca.s V_0 + IL_00ac: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b2: ldloc.0 + IL_00b3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b8: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00bd: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c2: dup + IL_00c3: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c8: ldloca.s V_0 + IL_00ca: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00d0: ldloc.0 + IL_00d1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d6: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e5: dup + IL_00e6: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00eb: ldloca.s V_0 + IL_00ed: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f3: ldloc.0 + IL_00f4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f9: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00fe: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0103: dup + IL_0104: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0109: ldloca.s V_0 + IL_010b: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0111: ldloc.0 + IL_0112: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0117: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0127: ldloca.s V_0 + IL_0129: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_012f: ldloc.0 + IL_0130: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0135: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_013a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_013f: dup + IL_0140: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0145: ldloca.s V_0 + IL_0147: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_014d: ldloc.0 + IL_014e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0153: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0158: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015d: dup + IL_015e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0163: ldloca.s V_0 + IL_0165: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_016b: ldloc.0 + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0171: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0176: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_017b: dup + IL_017c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0181: ldloca.s V_0 + IL_0183: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0189: ldloc.0 + IL_018a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0194: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0199: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_019e: dup + IL_019f: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01a4: ldloca.s V_0 + IL_01a6: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01ac: ldloc.0 + IL_01ad: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01b2: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01b7: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01bc: dup + IL_01bd: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_01c2: ldloca.s V_0 + IL_01c4: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01ca: ldloc.0 + IL_01cb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d0: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_01da: dup + IL_01db: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e0: ldloca.s V_0 + IL_01e2: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e8: ldloc.0 + IL_01e9: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01ee: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01f3: ret + } // end of method CompoundAssignmentTest::CustomStructBitOrTest - .method public hidebysig instance int32 - DoubleStaticPropertyAndReturn() cil managed + .method public hidebysig static void CustomStructBitXorTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 - IL_0000: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() - IL_0005: ldc.i4.2 - IL_0006: mul - IL_0007: dup - IL_0008: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) - IL_000d: ret - } // end of method CompoundAssignmentTest::DoubleStaticPropertyAndReturn + // Code size 500 (0x1f4) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: ldloca.s V_0 + IL_0007: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000d: ldloc.0 + IL_000e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0013: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0018: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001d: ldloca.s V_0 + IL_001f: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0025: ldloc.0 + IL_0026: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0030: ldarg.1 + IL_0031: dup + IL_0032: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0037: ldloca.s V_0 + IL_0039: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_003f: ldloc.0 + IL_0040: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0045: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004a: ldarg.1 + IL_004b: dup + IL_004c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0051: ldloca.s V_0 + IL_0053: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0059: ldloc.0 + IL_005a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_005f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0064: ldarga.s s + IL_0066: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006b: dup + IL_006c: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0071: ldloca.s V_0 + IL_0073: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0079: ldloc.0 + IL_007a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_007f: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0084: ldarga.s s + IL_0086: dup + IL_0087: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008c: ldloca.s V_0 + IL_008e: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0094: ldloc.0 + IL_0095: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a4: dup + IL_00a5: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00aa: ldloca.s V_0 + IL_00ac: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b2: ldloc.0 + IL_00b3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b8: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00bd: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c2: dup + IL_00c3: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c8: ldloca.s V_0 + IL_00ca: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00d0: ldloc.0 + IL_00d1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d6: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00db: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e0: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e5: dup + IL_00e6: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00eb: ldloca.s V_0 + IL_00ed: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f3: ldloc.0 + IL_00f4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f9: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00fe: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0103: dup + IL_0104: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0109: ldloca.s V_0 + IL_010b: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0111: ldloc.0 + IL_0112: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0117: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_011c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0121: dup + IL_0122: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0127: ldloca.s V_0 + IL_0129: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_012f: ldloc.0 + IL_0130: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0135: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_013a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_013f: dup + IL_0140: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0145: ldloca.s V_0 + IL_0147: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_014d: ldloc.0 + IL_014e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0153: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0158: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_015d: dup + IL_015e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0163: ldloca.s V_0 + IL_0165: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_016b: ldloc.0 + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0171: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0176: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_017b: dup + IL_017c: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0181: ldloca.s V_0 + IL_0183: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0189: ldloc.0 + IL_018a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0194: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0199: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_019e: dup + IL_019f: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01a4: ldloca.s V_0 + IL_01a6: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01ac: ldloc.0 + IL_01ad: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01b2: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01b7: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01bc: dup + IL_01bd: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_01c2: ldloca.s V_0 + IL_01c4: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01ca: ldloc.0 + IL_01cb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d0: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_01da: dup + IL_01db: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e0: ldloca.s V_0 + IL_01e2: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e8: ldloc.0 + IL_01e9: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01ee: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01f3: ret + } // end of method CompoundAssignmentTest::CustomStructBitXorTest - .method public hidebysig instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum - PreIncrementStaticPropertyShort() cil managed + .method public hidebysig static void CustomStructPostIncTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 15 (0xf) - .maxstack 8 - IL_0000: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticShortProperty() - IL_0005: ldc.i4.1 - IL_0006: add - IL_0007: conv.i2 - IL_0008: dup - IL_0009: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum) - IL_000e: ret - } // end of method CompoundAssignmentTest::PreIncrementStaticPropertyShort + // Code size 479 (0x1df) + .maxstack 2 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: dup + IL_0006: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_000b: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0010: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0015: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001a: dup + IL_001b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0020: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0025: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0031: stloc.0 + IL_0032: ldloc.0 + IL_0033: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0038: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_003d: ldloc.0 + IL_003e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0043: ldarg.1 + IL_0044: dup + IL_0045: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_004a: stloc.0 + IL_004b: ldloc.0 + IL_004c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0051: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0056: ldloc.0 + IL_0057: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005c: ldarga.s s + IL_005e: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0063: dup + IL_0064: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0069: stloc.0 + IL_006a: ldloc.0 + IL_006b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0070: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0075: ldloc.0 + IL_0076: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007b: ldarga.s s + IL_007d: dup + IL_007e: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0083: stloc.0 + IL_0084: ldloc.0 + IL_0085: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_008a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_008f: ldloc.0 + IL_0090: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0095: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009a: dup + IL_009b: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a0: stloc.0 + IL_00a1: ldloc.0 + IL_00a2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00a7: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00ac: ldloc.0 + IL_00ad: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b2: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00b7: dup + IL_00b8: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00bd: stloc.0 + IL_00be: ldloc.0 + IL_00bf: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00c4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00d9: dup + IL_00da: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00df: stloc.0 + IL_00e0: ldloc.0 + IL_00e1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00e6: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00eb: ldloc.0 + IL_00ec: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f1: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00f6: dup + IL_00f7: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_00fc: stloc.0 + IL_00fd: ldloc.0 + IL_00fe: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0103: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0108: ldloc.0 + IL_0109: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0113: dup + IL_0114: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0119: stloc.0 + IL_011a: ldloc.0 + IL_011b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0120: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0125: ldloc.0 + IL_0126: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0130: dup + IL_0131: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0136: stloc.0 + IL_0137: ldloc.0 + IL_0138: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_013d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0142: ldloc.0 + IL_0143: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0148: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_014d: dup + IL_014e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0153: stloc.0 + IL_0154: ldloc.0 + IL_0155: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_015a: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_015f: ldloc.0 + IL_0160: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0165: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_016a: dup + IL_016b: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0170: stloc.0 + IL_0171: ldloc.0 + IL_0172: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0177: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_017c: ldloc.0 + IL_017d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0182: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0187: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_018c: dup + IL_018d: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0192: stloc.0 + IL_0193: ldloc.0 + IL_0194: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0199: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_019e: ldloc.0 + IL_019f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01a9: dup + IL_01aa: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_01af: stloc.0 + IL_01b0: ldloc.0 + IL_01b1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01b6: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01bb: ldloc.0 + IL_01bc: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01c1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_01c6: dup + IL_01c7: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01cc: stloc.0 + IL_01cd: ldloc.0 + IL_01ce: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d3: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01d8: ldloc.0 + IL_01d9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01de: ret + } // end of method CompoundAssignmentTest::CustomStructPostIncTest - .method public hidebysig instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum - PostIncrementStaticPropertyShort() cil managed + .method public hidebysig static void CustomStructPreIncTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 15 (0xf) - .maxstack 8 - IL_0000: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticShortProperty() + // Code size 479 (0x1df) + .maxstack 2 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_000a: dup + IL_000b: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0010: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0015: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_001f: dup + IL_0020: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0025: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0031: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0036: stloc.0 + IL_0037: ldloc.0 + IL_0038: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_003d: ldloc.0 + IL_003e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0043: ldarg.1 + IL_0044: dup + IL_0045: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_004a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_004f: stloc.0 + IL_0050: ldloc.0 + IL_0051: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0056: ldloc.0 + IL_0057: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005c: ldarga.s s + IL_005e: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0063: dup + IL_0064: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0069: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_006e: stloc.0 + IL_006f: ldloc.0 + IL_0070: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0075: ldloc.0 + IL_0076: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007b: ldarga.s s + IL_007d: dup + IL_007e: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0083: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0088: stloc.0 + IL_0089: ldloc.0 + IL_008a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_008f: ldloc.0 + IL_0090: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0095: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009a: dup + IL_009b: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a0: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00a5: stloc.0 + IL_00a6: ldloc.0 + IL_00a7: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00ac: ldloc.0 + IL_00ad: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b2: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00b7: dup + IL_00b8: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00bd: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00c2: stloc.0 + IL_00c3: ldloc.0 + IL_00c4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00d9: dup + IL_00da: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00df: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00e4: stloc.0 + IL_00e5: ldloc.0 + IL_00e6: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00eb: ldloc.0 + IL_00ec: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f1: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00f6: dup + IL_00f7: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_00fc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0101: stloc.0 + IL_0102: ldloc.0 + IL_0103: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0108: ldloc.0 + IL_0109: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0113: dup + IL_0114: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0119: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_011e: stloc.0 + IL_011f: ldloc.0 + IL_0120: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0125: ldloc.0 + IL_0126: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0130: dup + IL_0131: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0136: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_013b: stloc.0 + IL_013c: ldloc.0 + IL_013d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0142: ldloc.0 + IL_0143: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0148: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_014d: dup + IL_014e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0153: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0158: stloc.0 + IL_0159: ldloc.0 + IL_015a: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_015f: ldloc.0 + IL_0160: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0165: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_016a: dup + IL_016b: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0170: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0175: stloc.0 + IL_0176: ldloc.0 + IL_0177: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_017c: ldloc.0 + IL_017d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0182: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0187: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_018c: dup + IL_018d: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0192: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0197: stloc.0 + IL_0198: ldloc.0 + IL_0199: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_019e: ldloc.0 + IL_019f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01a9: dup + IL_01aa: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_01af: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01b4: stloc.0 + IL_01b5: ldloc.0 + IL_01b6: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01bb: ldloc.0 + IL_01bc: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01c1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_01c6: dup + IL_01c7: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01cc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d1: stloc.0 + IL_01d2: ldloc.0 + IL_01d3: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01d8: ldloc.0 + IL_01d9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01de: ret + } // end of method CompoundAssignmentTest::CustomStructPreIncTest + + .method public hidebysig static void CustomStructPostDecTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 479 (0x1df) + .maxstack 2 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField IL_0005: dup - IL_0006: ldc.i4.1 - IL_0007: add - IL_0008: conv.i2 - IL_0009: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum) - IL_000e: ret - } // end of method CompoundAssignmentTest::PostIncrementStaticPropertyShort + IL_0006: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_000b: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0010: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0015: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001a: dup + IL_001b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0020: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0025: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0031: stloc.0 + IL_0032: ldloc.0 + IL_0033: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0038: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_003d: ldloc.0 + IL_003e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0043: ldarg.1 + IL_0044: dup + IL_0045: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_004a: stloc.0 + IL_004b: ldloc.0 + IL_004c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0051: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0056: ldloc.0 + IL_0057: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005c: ldarga.s s + IL_005e: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0063: dup + IL_0064: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0069: stloc.0 + IL_006a: ldloc.0 + IL_006b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0070: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0075: ldloc.0 + IL_0076: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007b: ldarga.s s + IL_007d: dup + IL_007e: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0083: stloc.0 + IL_0084: ldloc.0 + IL_0085: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_008a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_008f: ldloc.0 + IL_0090: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0095: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009a: dup + IL_009b: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a0: stloc.0 + IL_00a1: ldloc.0 + IL_00a2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00a7: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00ac: ldloc.0 + IL_00ad: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b2: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00b7: dup + IL_00b8: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00bd: stloc.0 + IL_00be: ldloc.0 + IL_00bf: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00c4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00d9: dup + IL_00da: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00df: stloc.0 + IL_00e0: ldloc.0 + IL_00e1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00e6: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00eb: ldloc.0 + IL_00ec: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f1: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00f6: dup + IL_00f7: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_00fc: stloc.0 + IL_00fd: ldloc.0 + IL_00fe: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0103: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0108: ldloc.0 + IL_0109: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0113: dup + IL_0114: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0119: stloc.0 + IL_011a: ldloc.0 + IL_011b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0120: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0125: ldloc.0 + IL_0126: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0130: dup + IL_0131: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0136: stloc.0 + IL_0137: ldloc.0 + IL_0138: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_013d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0142: ldloc.0 + IL_0143: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0148: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_014d: dup + IL_014e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0153: stloc.0 + IL_0154: ldloc.0 + IL_0155: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_015a: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_015f: ldloc.0 + IL_0160: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0165: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_016a: dup + IL_016b: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0170: stloc.0 + IL_0171: ldloc.0 + IL_0172: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0177: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_017c: ldloc.0 + IL_017d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0182: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0187: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_018c: dup + IL_018d: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0192: stloc.0 + IL_0193: ldloc.0 + IL_0194: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0199: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_019e: ldloc.0 + IL_019f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01a9: dup + IL_01aa: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_01af: stloc.0 + IL_01b0: ldloc.0 + IL_01b1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01b6: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01bb: ldloc.0 + IL_01bc: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01c1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_01c6: dup + IL_01c7: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01cc: stloc.0 + IL_01cd: ldloc.0 + IL_01ce: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d3: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01d8: ldloc.0 + IL_01d9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01de: ret + } // end of method CompoundAssignmentTest::CustomStructPostDecTest - .method public hidebysig instance void - IncrementStaticPropertyShort() cil managed + .method public hidebysig static void CustomStructPreDecTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 - IL_0000: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticShortProperty() - IL_0005: ldc.i4.1 - IL_0006: add - IL_0007: conv.i2 - IL_0008: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum) - IL_000d: ret - } // end of method CompoundAssignmentTest::IncrementStaticPropertyShort + // Code size 479 (0x1df) + .maxstack 2 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0005: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_000a: dup + IL_000b: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0010: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0015: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_001f: dup + IL_0020: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0025: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0031: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0036: stloc.0 + IL_0037: ldloc.0 + IL_0038: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_003d: ldloc.0 + IL_003e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0043: ldarg.1 + IL_0044: dup + IL_0045: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_004a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_004f: stloc.0 + IL_0050: ldloc.0 + IL_0051: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0056: ldloc.0 + IL_0057: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005c: ldarga.s s + IL_005e: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0063: dup + IL_0064: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0069: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_006e: stloc.0 + IL_006f: ldloc.0 + IL_0070: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0075: ldloc.0 + IL_0076: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007b: ldarga.s s + IL_007d: dup + IL_007e: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0083: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0088: stloc.0 + IL_0089: ldloc.0 + IL_008a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_008f: ldloc.0 + IL_0090: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0095: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009a: dup + IL_009b: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00a0: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00a5: stloc.0 + IL_00a6: ldloc.0 + IL_00a7: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00ac: ldloc.0 + IL_00ad: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b2: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00b7: dup + IL_00b8: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00bd: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00c2: stloc.0 + IL_00c3: ldloc.0 + IL_00c4: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00c9: ldloc.0 + IL_00ca: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00cf: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d4: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00d9: dup + IL_00da: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00df: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00e4: stloc.0 + IL_00e5: ldloc.0 + IL_00e6: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00eb: ldloc.0 + IL_00ec: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f1: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00f6: dup + IL_00f7: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_00fc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0101: stloc.0 + IL_0102: ldloc.0 + IL_0103: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0108: ldloc.0 + IL_0109: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0113: dup + IL_0114: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0119: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_011e: stloc.0 + IL_011f: ldloc.0 + IL_0120: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0125: ldloc.0 + IL_0126: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0130: dup + IL_0131: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0136: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_013b: stloc.0 + IL_013c: ldloc.0 + IL_013d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0142: ldloc.0 + IL_0143: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0148: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_014d: dup + IL_014e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0153: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0158: stloc.0 + IL_0159: ldloc.0 + IL_015a: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_015f: ldloc.0 + IL_0160: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0165: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_016a: dup + IL_016b: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0170: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0175: stloc.0 + IL_0176: ldloc.0 + IL_0177: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_017c: ldloc.0 + IL_017d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0182: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0187: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_018c: dup + IL_018d: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0192: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0197: stloc.0 + IL_0198: ldloc.0 + IL_0199: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_019e: ldloc.0 + IL_019f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01a9: dup + IL_01aa: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_01af: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01b4: stloc.0 + IL_01b5: ldloc.0 + IL_01b6: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01bb: ldloc.0 + IL_01bc: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01c1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_01c6: dup + IL_01c7: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01cc: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d1: stloc.0 + IL_01d2: ldloc.0 + IL_01d3: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01d8: ldloc.0 + IL_01d9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01de: ret + } // end of method CompoundAssignmentTest::CustomStructPreDecTest .method private hidebysig static class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/Item GetItem(object obj) cil managed @@ -1616,25 +23011,20 @@ .method private hidebysig instance void Issue588(uint16 val) cil managed { - // Code size 31 (0x1f) - .maxstack 4 - .locals init (uint16 V_0) + // Code size 27 (0x1b) + .maxstack 8 IL_0000: ldarg.0 IL_0001: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortDict - IL_0006: ldarg.0 - IL_0007: ldarg.0 - IL_0008: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: ldc.i4.1 - IL_0010: add - IL_0011: conv.u2 - IL_0012: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField - IL_0017: ldloc.0 - IL_0018: ldarg.1 - IL_0019: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, + IL_0006: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000b: dup + IL_000c: ldc.i4.1 + IL_000d: add + IL_000e: conv.u2 + IL_000f: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0014: ldarg.1 + IL_0015: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_001e: ret + IL_001a: ret } // end of method CompoundAssignmentTest::Issue588 .method private hidebysig instance void @@ -1679,6 +23069,58 @@ IL_0011: ret } // end of method CompoundAssignmentTest::.ctor + .property class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + CustomClassProp() + { + .get class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + } // end of property CompoundAssignmentTest::CustomClassProp + .property valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + CustomStructProp() + { + .get valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + } // end of property CompoundAssignmentTest::CustomStructProp + .property uint8 ByteProp() + { + .get uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + } // end of property CompoundAssignmentTest::ByteProp + .property int8 SbyteProp() + { + .get int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + } // end of property CompoundAssignmentTest::SbyteProp + .property int16 ShortProp() + { + .get int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + } // end of property CompoundAssignmentTest::ShortProp + .property uint16 UshortProp() + { + .get uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + } // end of property CompoundAssignmentTest::UshortProp + .property int32 IntProp() + { + .get int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + } // end of property CompoundAssignmentTest::IntProp + .property uint32 UintProp() + { + .get uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + } // end of property CompoundAssignmentTest::UintProp + .property int64 LongProp() + { + .get int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + } // end of property CompoundAssignmentTest::LongProp + .property uint64 UlongProp() + { + .get uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + } // end of property CompoundAssignmentTest::UlongProp .property int32 StaticProperty() { .get int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.roslyn.il b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.roslyn.il index 1fc6e0675..800d04957 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.roslyn.il +++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.roslyn.il @@ -193,1708 +193,25120 @@ } // end of class Item + .class auto ansi nested public beforefieldinit CustomClass + extends [mscorlib]System.Object + { + .field public uint8 ByteField + .field public int8 SbyteField + .field public int16 ShortField + .field public uint16 UshortField + .field public int32 IntField + .field public uint32 UintField + .field public int64 LongField + .field public uint64 UlongField + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass CustomClassField + .field public valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct CustomStructField + .field private uint8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private int8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private int16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private uint16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private int32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private uint32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private int64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private uint64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .method public hidebysig specialname + instance uint8 get_ByteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_ByteProp + + .method public hidebysig specialname + instance void set_ByteProp(uint8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_ByteProp + + .method public hidebysig specialname + instance int8 get_SbyteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_SbyteProp + + .method public hidebysig specialname + instance void set_SbyteProp(int8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_SbyteProp + + .method public hidebysig specialname + instance int16 get_ShortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_ShortProp + + .method public hidebysig specialname + instance void set_ShortProp(int16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_ShortProp + + .method public hidebysig specialname + instance uint16 get_UshortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_UshortProp + + .method public hidebysig specialname + instance void set_UshortProp(uint16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_UshortProp + + .method public hidebysig specialname + instance int32 get_IntProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_IntProp + + .method public hidebysig specialname + instance void set_IntProp(int32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_IntProp + + .method public hidebysig specialname + instance uint32 get_UintProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_UintProp + + .method public hidebysig specialname + instance void set_UintProp(uint32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_UintProp + + .method public hidebysig specialname + instance int64 get_LongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_LongProp + + .method public hidebysig specialname + instance void set_LongProp(int64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_LongProp + + .method public hidebysig specialname + instance uint64 get_UlongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_UlongProp + + .method public hidebysig specialname + instance void set_UlongProp(uint64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_UlongProp + + .method public hidebysig specialname + instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + get_CustomClassProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_CustomClassProp + + .method public hidebysig specialname + instance void set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_CustomClassProp + + .method public hidebysig specialname + instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + get_CustomStructProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0006: ret + } // end of method CustomClass::get_CustomStructProp + + .method public hidebysig specialname + instance void set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::'k__BackingField' + IL_0007: ret + } // end of method CustomClass::set_CustomStructProp + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomClass::op_Addition + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomClass::op_Subtraction + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomClass::op_Multiply + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomClass::op_Division + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomClass::op_Modulus + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + int32 rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomClass::op_LeftShift + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + int32 rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomClass::op_RightShift + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomClass::op_BitwiseAnd + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomClass::op_BitwiseOr + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomClass::op_ExclusiveOr + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomClass::op_Increment + + .method public hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass lhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomClass::op_Decrement + + .method public hidebysig specialname rtspecialname + instance void .ctor() cil managed + { + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void [mscorlib]System.Object::.ctor() + IL_0006: nop + IL_0007: ret + } // end of method CustomClass::.ctor + + .property instance uint8 ByteProp() + { + .get instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + } // end of property CustomClass::ByteProp + .property instance int8 SbyteProp() + { + .get instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + } // end of property CustomClass::SbyteProp + .property instance int16 ShortProp() + { + .get instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + } // end of property CustomClass::ShortProp + .property instance uint16 UshortProp() + { + .get instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + } // end of property CustomClass::UshortProp + .property instance int32 IntProp() + { + .get instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + } // end of property CustomClass::IntProp + .property instance uint32 UintProp() + { + .get instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + } // end of property CustomClass::UintProp + .property instance int64 LongProp() + { + .get instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + } // end of property CustomClass::LongProp + .property instance uint64 UlongProp() + { + .get instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + } // end of property CustomClass::UlongProp + .property instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + CustomClassProp() + { + .get instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + } // end of property CustomClass::CustomClassProp + .property instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + CustomStructProp() + { + .get instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + } // end of property CustomClass::CustomStructProp + } // end of class CustomClass + + .class sequential ansi sealed nested public beforefieldinit CustomStruct + extends [mscorlib]System.ValueType + { + .field public uint8 ByteField + .field public int8 SbyteField + .field public int16 ShortField + .field public uint16 UshortField + .field public int32 IntField + .field public uint32 UintField + .field public int64 LongField + .field public uint64 UlongField + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass CustomClassField + .field private class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private uint8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private int8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private int16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private uint16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private int32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private uint32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private int64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private uint64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .method public hidebysig specialname + instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + get_CustomClassProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_CustomClassProp + + .method public hidebysig specialname + instance void set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_CustomClassProp + + .method public hidebysig specialname + instance uint8 get_ByteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_ByteProp + + .method public hidebysig specialname + instance void set_ByteProp(uint8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_ByteProp + + .method public hidebysig specialname + instance int8 get_SbyteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_SbyteProp + + .method public hidebysig specialname + instance void set_SbyteProp(int8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_SbyteProp + + .method public hidebysig specialname + instance int16 get_ShortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_ShortProp + + .method public hidebysig specialname + instance void set_ShortProp(int16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_ShortProp + + .method public hidebysig specialname + instance uint16 get_UshortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_UshortProp + + .method public hidebysig specialname + instance void set_UshortProp(uint16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_UshortProp + + .method public hidebysig specialname + instance int32 get_IntProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_IntProp + + .method public hidebysig specialname + instance void set_IntProp(int32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_IntProp + + .method public hidebysig specialname + instance uint32 get_UintProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_UintProp + + .method public hidebysig specialname + instance void set_UintProp(uint32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_UintProp + + .method public hidebysig specialname + instance int64 get_LongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_LongProp + + .method public hidebysig specialname + instance void set_LongProp(int64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_LongProp + + .method public hidebysig specialname + instance uint64 get_UlongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct::get_UlongProp + + .method public hidebysig specialname + instance void set_UlongProp(uint64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct::set_UlongProp + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomStruct::op_Addition + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomStruct::op_Subtraction + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomStruct::op_Multiply + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomStruct::op_Division + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomStruct::op_Modulus + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + int32 rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomStruct::op_LeftShift + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + int32 rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomStruct::op_RightShift + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomStruct::op_BitwiseAnd + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomStruct::op_BitwiseOr + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct rhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomStruct::op_ExclusiveOr + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomStruct::op_Increment + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct lhs) cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CustomStruct::op_Decrement + + .property instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + CustomClassProp() + { + .get instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_CustomClassProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + } // end of property CustomStruct::CustomClassProp + .property instance uint8 ByteProp() + { + .get instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_ByteProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_ByteProp(uint8) + } // end of property CustomStruct::ByteProp + .property instance int8 SbyteProp() + { + .get instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_SbyteProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_SbyteProp(int8) + } // end of property CustomStruct::SbyteProp + .property instance int16 ShortProp() + { + .get instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_ShortProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_ShortProp(int16) + } // end of property CustomStruct::ShortProp + .property instance uint16 UshortProp() + { + .get instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_UshortProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_UshortProp(uint16) + } // end of property CustomStruct::UshortProp + .property instance int32 IntProp() + { + .get instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_IntProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_IntProp(int32) + } // end of property CustomStruct::IntProp + .property instance uint32 UintProp() + { + .get instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_UintProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_UintProp(uint32) + } // end of property CustomStruct::UintProp + .property instance int64 LongProp() + { + .get instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_LongProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_LongProp(int64) + } // end of property CustomStruct::LongProp + .property instance uint64 UlongProp() + { + .get instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::get_UlongProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::set_UlongProp(uint64) + } // end of property CustomStruct::UlongProp + } // end of class CustomStruct + + .class sequential ansi sealed nested public beforefieldinit CustomStruct2 + extends [mscorlib]System.ValueType + { + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass CustomClassField + .field public valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct CustomStructField + .field public uint8 ByteField + .field public int8 SbyteField + .field public int16 ShortField + .field public uint16 UshortField + .field public int32 IntField + .field public uint32 UintField + .field public int64 LongField + .field public uint64 UlongField + .field private class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private uint8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private int8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private int16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private uint16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private int32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private uint32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private int64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private uint64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .method public hidebysig specialname + instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + get_CustomClassProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_CustomClassProp + + .method public hidebysig specialname + instance void set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_CustomClassProp + + .method public hidebysig specialname + instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + get_CustomStructProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_CustomStructProp + + .method public hidebysig specialname + instance void set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_CustomStructProp + + .method public hidebysig specialname + instance uint8 get_ByteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_ByteProp + + .method public hidebysig specialname + instance void set_ByteProp(uint8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_ByteProp + + .method public hidebysig specialname + instance int8 get_SbyteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_SbyteProp + + .method public hidebysig specialname + instance void set_SbyteProp(int8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_SbyteProp + + .method public hidebysig specialname + instance int16 get_ShortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_ShortProp + + .method public hidebysig specialname + instance void set_ShortProp(int16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_ShortProp + + .method public hidebysig specialname + instance uint16 get_UshortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_UshortProp + + .method public hidebysig specialname + instance void set_UshortProp(uint16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_UshortProp + + .method public hidebysig specialname + instance int32 get_IntProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_IntProp + + .method public hidebysig specialname + instance void set_IntProp(int32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_IntProp + + .method public hidebysig specialname + instance uint32 get_UintProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_UintProp + + .method public hidebysig specialname + instance void set_UintProp(uint32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_UintProp + + .method public hidebysig specialname + instance int64 get_LongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_LongProp + + .method public hidebysig specialname + instance void set_LongProp(int64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_LongProp + + .method public hidebysig specialname + instance uint64 get_UlongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0006: ret + } // end of method CustomStruct2::get_UlongProp + + .method public hidebysig specialname + instance void set_UlongProp(uint64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::'k__BackingField' + IL_0007: ret + } // end of method CustomStruct2::set_UlongProp + + .property instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + CustomClassProp() + { + .get instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + } // end of property CustomStruct2::CustomClassProp + .property instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + CustomStructProp() + { + .get instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + } // end of property CustomStruct2::CustomStructProp + .property instance uint8 ByteProp() + { + .get instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + } // end of property CustomStruct2::ByteProp + .property instance int8 SbyteProp() + { + .get instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + } // end of property CustomStruct2::SbyteProp + .property instance int16 ShortProp() + { + .get instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + } // end of property CustomStruct2::ShortProp + .property instance uint16 UshortProp() + { + .get instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + } // end of property CustomStruct2::UshortProp + .property instance int32 IntProp() + { + .get instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + } // end of property CustomStruct2::IntProp + .property instance uint32 UintProp() + { + .get instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + } // end of property CustomStruct2::UintProp + .property instance int64 LongProp() + { + .get instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + } // end of property CustomStruct2::LongProp + .property instance uint64 UlongProp() + { + .get instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + .set instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + } // end of property CustomStruct2::UlongProp + } // end of class CustomStruct2 + .field private int32 test1 .field private int32[] array1 .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer field1 .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum enumField .field private class [mscorlib]System.Collections.Generic.Dictionary`2 ushortDict - .field private uint16 ushortField .field private valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum shortEnumField .field public static int32 StaticField .field public static int16 StaticShortField + .field private static class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass customClassField + .field private static valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct customStructField + .field private static valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 otherCustomStructField + .field private static uint8 byteField + .field private static int8 sbyteField + .field private static int16 shortField + .field private static uint16 ushortField + .field private static int32 intField + .field private static uint32 uintField + .field private static int64 longField + .field private static uint64 ulongField + .field private static class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private static valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private static uint8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private static int8 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private static int16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private static uint16 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private static int32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private static uint32 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private static int64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .field private static uint64 'k__BackingField' + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) .field private static int32 'k__BackingField' .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) .field private static valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum 'k__BackingField' .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) + .method private hidebysig specialname static + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + get_CustomClassProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_CustomClassProp + + .method private hidebysig specialname static + void set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_CustomClassProp + + .method private hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + get_CustomStructProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_CustomStructProp + + .method private hidebysig specialname static + void set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_CustomStructProp + + .method private hidebysig specialname static + uint8 get_ByteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_ByteProp + + .method private hidebysig specialname static + void set_ByteProp(uint8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_ByteProp + + .method private hidebysig specialname static + int8 get_SbyteProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_SbyteProp + + .method private hidebysig specialname static + void set_SbyteProp(int8 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_SbyteProp + + .method private hidebysig specialname static + int16 get_ShortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_ShortProp + + .method private hidebysig specialname static + void set_ShortProp(int16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_ShortProp + + .method private hidebysig specialname static + uint16 get_UshortProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_UshortProp + + .method private hidebysig specialname static + void set_UshortProp(uint16 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_UshortProp + + .method private hidebysig specialname static + int32 get_IntProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_IntProp + + .method private hidebysig specialname static + void set_IntProp(int32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_IntProp + + .method private hidebysig specialname static + uint32 get_UintProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_UintProp + + .method private hidebysig specialname static + void set_UintProp(uint32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_UintProp + + .method private hidebysig specialname static + int64 get_LongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_LongProp + + .method private hidebysig specialname static + void set_LongProp(int64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_LongProp + + .method private hidebysig specialname static + uint64 get_UlongProp() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_UlongProp + + .method private hidebysig specialname static + void set_UlongProp(uint64 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_UlongProp + .method public hidebysig specialname static int32 get_StaticProperty() cil managed { - .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - // Code size 6 (0x6) - .maxstack 8 - IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' - IL_0005: ret - } // end of method CompoundAssignmentTest::get_StaticProperty + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_StaticProperty + + .method public hidebysig specialname static + void set_StaticProperty(int32 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_StaticProperty + + .method public hidebysig specialname static + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum + get_StaticShortProperty() cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 6 (0x6) + .maxstack 8 + IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0005: ret + } // end of method CompoundAssignmentTest::get_StaticShortProperty + + .method public hidebysig specialname static + void set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum 'value') cil managed + { + .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' + IL_0006: ret + } // end of method CompoundAssignmentTest::set_StaticShortProperty + + .method private hidebysig static valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& + GetStruct() cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CompoundAssignmentTest::GetStruct + + .method private hidebysig static valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& + GetRefCustomStruct() cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CompoundAssignmentTest::GetRefCustomStruct + + .method private hidebysig static class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& + GetRefCustomClass() cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CompoundAssignmentTest::GetRefCustomClass + + .method private hidebysig static uint8& + GetRefByte() cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CompoundAssignmentTest::GetRefByte + + .method private hidebysig static int8& + GetRefSbyte() cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CompoundAssignmentTest::GetRefSbyte + + .method private hidebysig static int16& + GetRefShort() cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CompoundAssignmentTest::GetRefShort + + .method private hidebysig static int32& + GetRefInt() cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CompoundAssignmentTest::GetRefInt + + .method private hidebysig static int64& + GetRefLong() cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CompoundAssignmentTest::GetRefLong + + .method private hidebysig static uint16& + GetRefUshort() cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CompoundAssignmentTest::GetRefUshort + + .method private hidebysig static uint32& + GetRefUint() cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CompoundAssignmentTest::GetRefUint + + .method private hidebysig static uint64& + GetRefUlong() cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CompoundAssignmentTest::GetRefUlong + + .method private hidebysig static class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + GetClass() cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CompoundAssignmentTest::GetClass + + .method private hidebysig static void X(!!T result) cil managed + { + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method CompoundAssignmentTest::X + + .method private hidebysig instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass + M() cil managed + { + // Code size 11 (0xb) + .maxstack 1 + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass V_0) + IL_0000: nop + IL_0001: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::.ctor() + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CompoundAssignmentTest::M + + .method private hidebysig instance int32[0...,0...] + Array() cil managed + { + // Code size 7 (0x7) + .maxstack 1 + .locals init (int32[0...,0...] V_0) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: br.s IL_0005 + + IL_0005: ldloc.0 + IL_0006: ret + } // end of method CompoundAssignmentTest::Array + + .method private hidebysig instance int32* + GetPointer() cil managed + { + // Code size 8 (0x8) + .maxstack 1 + .locals init (int32* V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: conv.u + IL_0003: stloc.0 + IL_0004: br.s IL_0006 + + IL_0006: ldloc.0 + IL_0007: ret + } // end of method CompoundAssignmentTest::GetPointer + + .method public hidebysig instance int32 + GetIndex() cil managed + { + // Code size 19 (0x13) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.Random::.ctor() + IL_0006: ldc.i4.0 + IL_0007: ldc.i4.s 100 + IL_0009: callvirt instance int32 [mscorlib]System.Random::Next(int32, + int32) + IL_000e: stloc.0 + IL_000f: br.s IL_0011 + + IL_0011: ldloc.0 + IL_0012: ret + } // end of method CompoundAssignmentTest::GetIndex + + .method public hidebysig instance int32[] + GetArray() cil managed + { + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() + IL_0006: throw + } // end of method CompoundAssignmentTest::GetArray + + .method public hidebysig instance int32 + GetValue(int32 'value') cil managed + { + // Code size 7 (0x7) + .maxstack 1 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: stloc.0 + IL_0003: br.s IL_0005 + + IL_0005: ldloc.0 + IL_0006: ret + } // end of method CompoundAssignmentTest::GetValue + + .method public hidebysig instance bool + IsUpperCaseA(char a) cil managed + { + // Code size 11 (0xb) + .maxstack 2 + .locals init (bool V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.s 65 + IL_0004: ceq + IL_0006: stloc.0 + IL_0007: br.s IL_0009 + + IL_0009: ldloc.0 + IL_000a: ret + } // end of method CompoundAssignmentTest::IsUpperCaseA + + .method public hidebysig instance void + Int32_Local_Add(int32 i) cil managed + { + // Code size 48 (0x30) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.1 + IL_0003: add + IL_0004: starg.s i + IL_0006: ldarg.1 + IL_0007: dup + IL_0008: ldc.i4.1 + IL_0009: add + IL_000a: starg.s i + IL_000c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0011: nop + IL_0012: ldarg.1 + IL_0013: ldc.i4.1 + IL_0014: add + IL_0015: dup + IL_0016: starg.s i + IL_0018: call void [mscorlib]System.Console::WriteLine(int32) + IL_001d: nop + IL_001e: ldarg.1 + IL_001f: ldc.i4.5 + IL_0020: add + IL_0021: starg.s i + IL_0023: ldarg.1 + IL_0024: ldc.i4.5 + IL_0025: add + IL_0026: dup + IL_0027: starg.s i + IL_0029: call void [mscorlib]System.Console::WriteLine(int32) + IL_002e: nop + IL_002f: ret + } // end of method CompoundAssignmentTest::Int32_Local_Add + + .method public hidebysig instance void + Int32_Local_Sub(int32 i) cil managed + { + // Code size 48 (0x30) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.1 + IL_0003: sub + IL_0004: starg.s i + IL_0006: ldarg.1 + IL_0007: dup + IL_0008: ldc.i4.1 + IL_0009: sub + IL_000a: starg.s i + IL_000c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0011: nop + IL_0012: ldarg.1 + IL_0013: ldc.i4.1 + IL_0014: sub + IL_0015: dup + IL_0016: starg.s i + IL_0018: call void [mscorlib]System.Console::WriteLine(int32) + IL_001d: nop + IL_001e: ldarg.1 + IL_001f: ldc.i4.5 + IL_0020: sub + IL_0021: starg.s i + IL_0023: ldarg.1 + IL_0024: ldc.i4.5 + IL_0025: sub + IL_0026: dup + IL_0027: starg.s i + IL_0029: call void [mscorlib]System.Console::WriteLine(int32) + IL_002e: nop + IL_002f: ret + } // end of method CompoundAssignmentTest::Int32_Local_Sub + + .method public hidebysig instance void + Int32_Local_Mul(int32 i) cil managed + { + // Code size 19 (0x13) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.5 + IL_0003: mul + IL_0004: starg.s i + IL_0006: ldarg.1 + IL_0007: ldc.i4.5 + IL_0008: mul + IL_0009: dup + IL_000a: starg.s i + IL_000c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0011: nop + IL_0012: ret + } // end of method CompoundAssignmentTest::Int32_Local_Mul + + .method public hidebysig instance void + Int32_Local_Div(int32 i) cil managed + { + // Code size 19 (0x13) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.5 + IL_0003: div + IL_0004: starg.s i + IL_0006: ldarg.1 + IL_0007: ldc.i4.5 + IL_0008: div + IL_0009: dup + IL_000a: starg.s i + IL_000c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0011: nop + IL_0012: ret + } // end of method CompoundAssignmentTest::Int32_Local_Div + + .method public hidebysig instance void + Int32_Local_Rem(int32 i) cil managed + { + // Code size 19 (0x13) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.5 + IL_0003: rem + IL_0004: starg.s i + IL_0006: ldarg.1 + IL_0007: ldc.i4.5 + IL_0008: rem + IL_0009: dup + IL_000a: starg.s i + IL_000c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0011: nop + IL_0012: ret + } // end of method CompoundAssignmentTest::Int32_Local_Rem + + .method public hidebysig instance void + Int32_Local_BitAnd(int32 i) cil managed + { + // Code size 19 (0x13) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.5 + IL_0003: and + IL_0004: starg.s i + IL_0006: ldarg.1 + IL_0007: ldc.i4.5 + IL_0008: and + IL_0009: dup + IL_000a: starg.s i + IL_000c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0011: nop + IL_0012: ret + } // end of method CompoundAssignmentTest::Int32_Local_BitAnd + + .method public hidebysig instance void + Int32_Local_BitOr(int32 i) cil managed + { + // Code size 19 (0x13) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.5 + IL_0003: or + IL_0004: starg.s i + IL_0006: ldarg.1 + IL_0007: ldc.i4.5 + IL_0008: or + IL_0009: dup + IL_000a: starg.s i + IL_000c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0011: nop + IL_0012: ret + } // end of method CompoundAssignmentTest::Int32_Local_BitOr + + .method public hidebysig instance void + Int32_Local_BitXor(int32 i) cil managed + { + // Code size 19 (0x13) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.5 + IL_0003: xor + IL_0004: starg.s i + IL_0006: ldarg.1 + IL_0007: ldc.i4.5 + IL_0008: xor + IL_0009: dup + IL_000a: starg.s i + IL_000c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0011: nop + IL_0012: ret + } // end of method CompoundAssignmentTest::Int32_Local_BitXor + + .method public hidebysig instance void + Int32_Local_ShiftLeft(int32 i) cil managed + { + // Code size 19 (0x13) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.5 + IL_0003: shl + IL_0004: starg.s i + IL_0006: ldarg.1 + IL_0007: ldc.i4.5 + IL_0008: shl + IL_0009: dup + IL_000a: starg.s i + IL_000c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0011: nop + IL_0012: ret + } // end of method CompoundAssignmentTest::Int32_Local_ShiftLeft + + .method public hidebysig instance void + Int32_Local_ShiftRight(int32 i) cil managed + { + // Code size 19 (0x13) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.5 + IL_0003: shr + IL_0004: starg.s i + IL_0006: ldarg.1 + IL_0007: ldc.i4.5 + IL_0008: shr + IL_0009: dup + IL_000a: starg.s i + IL_000c: call void [mscorlib]System.Console::WriteLine(int32) + IL_0011: nop + IL_0012: ret + } // end of method CompoundAssignmentTest::Int32_Local_ShiftRight + + .method public hidebysig instance void + IntegerWithInline(int32 i) cil managed + { + // Code size 21 (0x15) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.5 + IL_0003: add + IL_0004: dup + IL_0005: starg.s i + IL_0007: call void [mscorlib]System.Console::WriteLine(int32) + IL_000c: nop + IL_000d: ldarg.1 + IL_000e: call void [mscorlib]System.Console::WriteLine(int32) + IL_0013: nop + IL_0014: ret + } // end of method CompoundAssignmentTest::IntegerWithInline + + .method public hidebysig instance void + IntegerField(int32 i) cil managed + { + // Code size 72 (0x48) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.0 + IL_0003: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_0008: ldarg.1 + IL_0009: add + IL_000a: dup + IL_000b: stloc.0 + IL_000c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_0011: ldloc.0 + IL_0012: call void [mscorlib]System.Console::WriteLine(int32) + IL_0017: nop + IL_0018: ldarg.0 + IL_0019: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_001e: call void [mscorlib]System.Console::WriteLine(int32) + IL_0023: nop + IL_0024: ldarg.0 + IL_0025: ldarg.0 + IL_0026: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_002b: ldarg.1 + IL_002c: sub + IL_002d: dup + IL_002e: stloc.0 + IL_002f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_0034: ldloc.0 + IL_0035: call void [mscorlib]System.Console::WriteLine(int32) + IL_003a: nop + IL_003b: ldarg.0 + IL_003c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 + IL_0041: call void [mscorlib]System.Console::WriteLine(int32) + IL_0046: nop + IL_0047: ret + } // end of method CompoundAssignmentTest::IntegerField + + .method public hidebysig instance void + Array(int32 i) cil managed + { + // Code size 58 (0x3a) + .maxstack 4 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::array1 + IL_0007: ldarg.1 + IL_0008: ldelema [mscorlib]System.Int32 + IL_000d: dup + IL_000e: ldind.i4 + IL_000f: ldarg.1 + IL_0010: add + IL_0011: dup + IL_0012: stloc.0 + IL_0013: stind.i4 + IL_0014: ldloc.0 + IL_0015: call void [mscorlib]System.Console::WriteLine(int32) + IL_001a: nop + IL_001b: ldarg.0 + IL_001c: ldfld int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::array1 + IL_0021: ldarg.1 + IL_0022: ldc.i4.2 + IL_0023: mul + IL_0024: ldelema [mscorlib]System.Int32 + IL_0029: dup + IL_002a: ldind.i4 + IL_002b: ldarg.1 + IL_002c: ldc.i4.2 + IL_002d: mul + IL_002e: add + IL_002f: dup + IL_0030: stloc.0 + IL_0031: stind.i4 + IL_0032: ldloc.0 + IL_0033: call void [mscorlib]System.Console::WriteLine(int32) + IL_0038: nop + IL_0039: ret + } // end of method CompoundAssignmentTest::Array + + .method public hidebysig instance int32 + ArrayUsageWithMethods() cil managed + { + // Code size 31 (0x1f) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetArray() + IL_0007: ldarg.0 + IL_0008: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetIndex() + IL_000d: ldelema [mscorlib]System.Int32 + IL_0012: dup + IL_0013: ldind.i4 + IL_0014: stloc.0 + IL_0015: ldloc.0 + IL_0016: ldc.i4.1 + IL_0017: add + IL_0018: stind.i4 + IL_0019: ldloc.0 + IL_001a: stloc.1 + IL_001b: br.s IL_001d + + IL_001d: ldloc.1 + IL_001e: ret + } // end of method CompoundAssignmentTest::ArrayUsageWithMethods + + .method public hidebysig instance void + NestedField() cil managed + { + // Code size 85 (0x55) + .maxstack 3 + .locals init (bool V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 + IL_0007: ldfld bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::HasIndex + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: brfalse.s IL_0054 + + IL_0010: nop + IL_0011: ldarg.0 + IL_0012: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 + IL_0017: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field + IL_001c: dup + IL_001d: ldind.i4 + IL_001e: ldc.i4.2 + IL_001f: mul + IL_0020: dup + IL_0021: stloc.1 + IL_0022: stind.i4 + IL_0023: ldloc.1 + IL_0024: call void [mscorlib]System.Console::WriteLine(int32) + IL_0029: nop + IL_002a: ldarg.0 + IL_002b: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 + IL_0030: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field + IL_0035: dup + IL_0036: ldind.i4 + IL_0037: ldc.i4.1 + IL_0038: add + IL_0039: stind.i4 + IL_003a: ldarg.0 + IL_003b: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 + IL_0040: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field + IL_0045: dup + IL_0046: ldind.i4 + IL_0047: stloc.1 + IL_0048: ldloc.1 + IL_0049: ldc.i4.1 + IL_004a: add + IL_004b: stind.i4 + IL_004c: ldloc.1 + IL_004d: call void [mscorlib]System.Console::WriteLine(int32) + IL_0052: nop + IL_0053: nop + IL_0054: ret + } // end of method CompoundAssignmentTest::NestedField + + .method public hidebysig instance void + Enum() cil managed + { + // Code size 59 (0x3b) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.0 + IL_0003: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_0008: ldc.i4.2 + IL_0009: or + IL_000a: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_000f: ldarg.0 + IL_0010: ldarg.0 + IL_0011: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_0016: ldc.i4.s -5 + IL_0018: and + IL_0019: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_001e: ldarg.0 + IL_001f: ldarg.0 + IL_0020: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_0025: ldc.i4.2 + IL_0026: add + IL_0027: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_002c: ldarg.0 + IL_002d: ldarg.0 + IL_002e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_0033: ldc.i4.3 + IL_0034: sub + IL_0035: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField + IL_003a: ret + } // end of method CompoundAssignmentTest::Enum + + .method public hidebysig instance void + ShortEnumTest() cil managed + { + // Code size 60 (0x3c) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.0 + IL_0003: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_0008: ldc.i4.2 + IL_0009: or + IL_000a: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_000f: ldarg.0 + IL_0010: ldarg.0 + IL_0011: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_0016: ldc.i4.4 + IL_0017: and + IL_0018: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_001d: ldarg.0 + IL_001e: ldarg.0 + IL_001f: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_0024: ldc.i4.2 + IL_0025: add + IL_0026: conv.i2 + IL_0027: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_002c: ldarg.0 + IL_002d: ldarg.0 + IL_002e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_0033: ldc.i4.3 + IL_0034: sub + IL_0035: conv.i2 + IL_0036: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField + IL_003b: ret + } // end of method CompoundAssignmentTest::ShortEnumTest + + .method public hidebysig instance int32 + PreIncrementInAddition(int32 i, + int32 j) cil managed + { + // Code size 14 (0xe) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldc.i4.1 + IL_0004: add + IL_0005: dup + IL_0006: starg.s j + IL_0008: add + IL_0009: stloc.0 + IL_000a: br.s IL_000c + + IL_000c: ldloc.0 + IL_000d: ret + } // end of method CompoundAssignmentTest::PreIncrementInAddition + + .method public hidebysig instance int32 + PreIncrementArrayElement(int32[] 'array', + int32 pos) cil managed + { + // Code size 21 (0x15) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldelema [mscorlib]System.Int32 + IL_0008: dup + IL_0009: ldind.i4 + IL_000a: ldc.i4.1 + IL_000b: sub + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: stind.i4 + IL_000f: ldloc.0 + IL_0010: stloc.1 + IL_0011: br.s IL_0013 + + IL_0013: ldloc.1 + IL_0014: ret + } // end of method CompoundAssignmentTest::PreIncrementArrayElement + + .method public hidebysig instance int32 + PostIncrementArrayElement(int32[] 'array', + int32 pos) cil managed + { + // Code size 21 (0x15) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldelema [mscorlib]System.Int32 + IL_0008: dup + IL_0009: ldind.i4 + IL_000a: stloc.0 + IL_000b: ldloc.0 + IL_000c: ldc.i4.1 + IL_000d: add + IL_000e: stind.i4 + IL_000f: ldloc.0 + IL_0010: stloc.1 + IL_0011: br.s IL_0013 + + IL_0013: ldloc.1 + IL_0014: ret + } // end of method CompoundAssignmentTest::PostIncrementArrayElement + + .method public hidebysig instance void + IncrementArrayElement(int32[] 'array', + int32 pos) cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldelema [mscorlib]System.Int32 + IL_0008: dup + IL_0009: ldind.i4 + IL_000a: ldc.i4.1 + IL_000b: add + IL_000c: stind.i4 + IL_000d: ret + } // end of method CompoundAssignmentTest::IncrementArrayElement + + .method public hidebysig instance void + DoubleArrayElement(int32[] 'array', + int32 pos) cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldelema [mscorlib]System.Int32 + IL_0008: dup + IL_0009: ldind.i4 + IL_000a: ldc.i4.2 + IL_000b: mul + IL_000c: stind.i4 + IL_000d: ret + } // end of method CompoundAssignmentTest::DoubleArrayElement + + .method public hidebysig instance int32 + DoubleArrayElementAndReturn(int32[] 'array', + int32 pos) cil managed + { + // Code size 21 (0x15) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldelema [mscorlib]System.Int32 + IL_0008: dup + IL_0009: ldind.i4 + IL_000a: ldc.i4.2 + IL_000b: mul + IL_000c: dup + IL_000d: stloc.0 + IL_000e: stind.i4 + IL_000f: ldloc.0 + IL_0010: stloc.1 + IL_0011: br.s IL_0013 + + IL_0013: ldloc.1 + IL_0014: ret + } // end of method CompoundAssignmentTest::DoubleArrayElementAndReturn + + .method public hidebysig instance int32 + PreIncrementArrayElementShort(int16[] 'array', + int32 pos) cil managed + { + // Code size 22 (0x16) + .maxstack 3 + .locals init (int16 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldelema [mscorlib]System.Int16 + IL_0008: dup + IL_0009: ldind.i2 + IL_000a: ldc.i4.1 + IL_000b: sub + IL_000c: conv.i2 + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: stind.i2 + IL_0010: ldloc.0 + IL_0011: stloc.1 + IL_0012: br.s IL_0014 + + IL_0014: ldloc.1 + IL_0015: ret + } // end of method CompoundAssignmentTest::PreIncrementArrayElementShort + + .method public hidebysig instance int32 + PostIncrementArrayElementShort(int16[] 'array', + int32 pos) cil managed + { + // Code size 22 (0x16) + .maxstack 3 + .locals init (int16 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldelema [mscorlib]System.Int16 + IL_0008: dup + IL_0009: ldind.i2 + IL_000a: stloc.0 + IL_000b: ldloc.0 + IL_000c: ldc.i4.1 + IL_000d: add + IL_000e: conv.i2 + IL_000f: stind.i2 + IL_0010: ldloc.0 + IL_0011: stloc.1 + IL_0012: br.s IL_0014 + + IL_0014: ldloc.1 + IL_0015: ret + } // end of method CompoundAssignmentTest::PostIncrementArrayElementShort + + .method public hidebysig instance void + IncrementArrayElementShort(int16[] 'array', + int32 pos) cil managed + { + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldelema [mscorlib]System.Int16 + IL_0008: dup + IL_0009: ldind.i2 + IL_000a: ldc.i4.1 + IL_000b: add + IL_000c: conv.i2 + IL_000d: stind.i2 + IL_000e: ret + } // end of method CompoundAssignmentTest::IncrementArrayElementShort + + .method public hidebysig instance void + DoubleArrayElementShort(int16[] 'array', + int32 pos) cil managed + { + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldelema [mscorlib]System.Int16 + IL_0008: dup + IL_0009: ldind.i2 + IL_000a: ldc.i4.2 + IL_000b: mul + IL_000c: conv.i2 + IL_000d: stind.i2 + IL_000e: ret + } // end of method CompoundAssignmentTest::DoubleArrayElementShort + + .method public hidebysig instance int16 + DoubleArrayElementShortAndReturn(int16[] 'array', + int32 pos) cil managed + { + // Code size 22 (0x16) + .maxstack 3 + .locals init (int16 V_0, + int16 V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldelema [mscorlib]System.Int16 + IL_0008: dup + IL_0009: ldind.i2 + IL_000a: ldc.i4.2 + IL_000b: mul + IL_000c: conv.i2 + IL_000d: dup + IL_000e: stloc.0 + IL_000f: stind.i2 + IL_0010: ldloc.0 + IL_0011: stloc.1 + IL_0012: br.s IL_0014 + + IL_0014: ldloc.1 + IL_0015: ret + } // end of method CompoundAssignmentTest::DoubleArrayElementShortAndReturn + + .method public hidebysig instance int32 + PreIncrementInstanceField() cil managed + { + // Code size 28 (0x1c) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_000d: ldc.i4.1 + IL_000e: add + IL_000f: stloc.0 + IL_0010: ldloc.0 + IL_0011: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0016: ldloc.0 + IL_0017: stloc.1 + IL_0018: br.s IL_001a + + IL_001a: ldloc.1 + IL_001b: ret + } // end of method CompoundAssignmentTest::PreIncrementInstanceField + + .method public hidebysig instance int32 + PostIncrementInstanceField() cil managed + { + // Code size 28 (0x1c) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: ldc.i4.1 + IL_0010: add + IL_0011: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0016: ldloc.0 + IL_0017: stloc.1 + IL_0018: br.s IL_001a + + IL_001a: ldloc.1 + IL_001b: ret + } // end of method CompoundAssignmentTest::PostIncrementInstanceField + + .method public hidebysig instance void + IncrementInstanceField() cil managed + { + // Code size 21 (0x15) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_000d: ldc.i4.1 + IL_000e: add + IL_000f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0014: ret + } // end of method CompoundAssignmentTest::IncrementInstanceField + + .method public hidebysig instance void + DoubleInstanceField() cil managed + { + // Code size 21 (0x15) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_000d: ldc.i4.2 + IL_000e: mul + IL_000f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0014: ret + } // end of method CompoundAssignmentTest::DoubleInstanceField + + .method public hidebysig instance int32 + DoubleInstanceFieldAndReturn() cil managed + { + // Code size 28 (0x1c) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_000d: ldc.i4.2 + IL_000e: mul + IL_000f: dup + IL_0010: stloc.0 + IL_0011: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0016: ldloc.0 + IL_0017: stloc.1 + IL_0018: br.s IL_001a + + IL_001a: ldloc.1 + IL_001b: ret + } // end of method CompoundAssignmentTest::DoubleInstanceFieldAndReturn + + .method public hidebysig instance int32 + PreIncrementInstanceField2(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass m) cil managed + { + // Code size 23 (0x17) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: dup + IL_0003: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0008: ldc.i4.1 + IL_0009: add + IL_000a: stloc.0 + IL_000b: ldloc.0 + IL_000c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0011: ldloc.0 + IL_0012: stloc.1 + IL_0013: br.s IL_0015 + + IL_0015: ldloc.1 + IL_0016: ret + } // end of method CompoundAssignmentTest::PreIncrementInstanceField2 + + .method public hidebysig instance int32 + PostIncrementInstanceField2(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass m) cil managed + { + // Code size 23 (0x17) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: dup + IL_0003: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: ldc.i4.1 + IL_000b: add + IL_000c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0011: ldloc.0 + IL_0012: stloc.1 + IL_0013: br.s IL_0015 + + IL_0015: ldloc.1 + IL_0016: ret + } // end of method CompoundAssignmentTest::PostIncrementInstanceField2 + + .method public hidebysig instance void + IncrementInstanceField2(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass m) cil managed + { + // Code size 16 (0x10) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: dup + IL_0003: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_0008: ldc.i4.1 + IL_0009: add + IL_000a: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field + IL_000f: ret + } // end of method CompoundAssignmentTest::IncrementInstanceField2 + + .method public hidebysig instance int32 + PreIncrementInstanceFieldShort() cil managed + { + // Code size 29 (0x1d) + .maxstack 3 + .locals init (int16 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField + IL_000d: ldc.i4.1 + IL_000e: add + IL_000f: conv.i2 + IL_0010: stloc.0 + IL_0011: ldloc.0 + IL_0012: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField + IL_0017: ldloc.0 + IL_0018: stloc.1 + IL_0019: br.s IL_001b + + IL_001b: ldloc.1 + IL_001c: ret + } // end of method CompoundAssignmentTest::PreIncrementInstanceFieldShort + + .method public hidebysig instance int32 + PostIncrementInstanceFieldShort() cil managed + { + // Code size 29 (0x1d) + .maxstack 3 + .locals init (int16 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: ldc.i4.1 + IL_0010: add + IL_0011: conv.i2 + IL_0012: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField + IL_0017: ldloc.0 + IL_0018: stloc.1 + IL_0019: br.s IL_001b + + IL_001b: ldloc.1 + IL_001c: ret + } // end of method CompoundAssignmentTest::PostIncrementInstanceFieldShort + + .method public hidebysig instance void + IncrementInstanceFieldShort() cil managed + { + // Code size 22 (0x16) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField + IL_000d: ldc.i4.1 + IL_000e: add + IL_000f: conv.i2 + IL_0010: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField + IL_0015: ret + } // end of method CompoundAssignmentTest::IncrementInstanceFieldShort + + .method public hidebysig instance int32 + PreIncrementInstanceProperty() cil managed + { + // Code size 29 (0x1d) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() + IL_000d: ldc.i4.1 + IL_000e: add + IL_000f: stloc.0 + IL_0010: ldloc.0 + IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) + IL_0016: nop + IL_0017: ldloc.0 + IL_0018: stloc.1 + IL_0019: br.s IL_001b + + IL_001b: ldloc.1 + IL_001c: ret + } // end of method CompoundAssignmentTest::PreIncrementInstanceProperty + + .method public hidebysig instance int32 + PostIncrementInstanceProperty() cil managed + { + // Code size 29 (0x1d) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: ldc.i4.1 + IL_0010: add + IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) + IL_0016: nop + IL_0017: ldloc.0 + IL_0018: stloc.1 + IL_0019: br.s IL_001b + + IL_001b: ldloc.1 + IL_001c: ret + } // end of method CompoundAssignmentTest::PostIncrementInstanceProperty + + .method public hidebysig instance void + IncrementInstanceProperty() cil managed + { + // Code size 24 (0x18) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: ldc.i4.1 + IL_0010: add + IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) + IL_0016: nop + IL_0017: ret + } // end of method CompoundAssignmentTest::IncrementInstanceProperty + + .method public hidebysig instance void + DoubleInstanceProperty() cil managed + { + // Code size 22 (0x16) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() + IL_000d: ldc.i4.2 + IL_000e: mul + IL_000f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) + IL_0014: nop + IL_0015: ret + } // end of method CompoundAssignmentTest::DoubleInstanceProperty + + .method public hidebysig instance int32 + DoubleInstancePropertyAndReturn() cil managed + { + // Code size 29 (0x1d) + .maxstack 3 + .locals init (int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() + IL_000d: ldc.i4.2 + IL_000e: mul + IL_000f: dup + IL_0010: stloc.0 + IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) + IL_0016: nop + IL_0017: ldloc.0 + IL_0018: stloc.1 + IL_0019: br.s IL_001b + + IL_001b: ldloc.1 + IL_001c: ret + } // end of method CompoundAssignmentTest::DoubleInstancePropertyAndReturn + + .method public hidebysig instance int32 + PreIncrementInstancePropertyByte() cil managed + { + // Code size 30 (0x1e) + .maxstack 3 + .locals init (uint8 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() + IL_000d: ldc.i4.1 + IL_000e: add + IL_000f: conv.u1 + IL_0010: stloc.0 + IL_0011: ldloc.0 + IL_0012: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: stloc.1 + IL_001a: br.s IL_001c + + IL_001c: ldloc.1 + IL_001d: ret + } // end of method CompoundAssignmentTest::PreIncrementInstancePropertyByte + + .method public hidebysig instance int32 + PostIncrementInstancePropertyByte() cil managed + { + // Code size 30 (0x1e) + .maxstack 3 + .locals init (uint8 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: ldc.i4.1 + IL_0010: add + IL_0011: conv.u1 + IL_0012: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: stloc.1 + IL_001a: br.s IL_001c + + IL_001c: ldloc.1 + IL_001d: ret + } // end of method CompoundAssignmentTest::PostIncrementInstancePropertyByte + + .method public hidebysig instance void + IncrementInstancePropertyByte() cil managed + { + // Code size 25 (0x19) + .maxstack 3 + .locals init (uint8 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: ldc.i4.1 + IL_0010: add + IL_0011: conv.u1 + IL_0012: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) + IL_0017: nop + IL_0018: ret + } // end of method CompoundAssignmentTest::IncrementInstancePropertyByte + + .method public hidebysig instance void + DoubleInstancePropertyByte() cil managed + { + // Code size 23 (0x17) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() + IL_000d: ldc.i4.2 + IL_000e: mul + IL_000f: conv.u1 + IL_0010: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) + IL_0015: nop + IL_0016: ret + } // end of method CompoundAssignmentTest::DoubleInstancePropertyByte + + .method public hidebysig instance int32 + DoubleInstancePropertyByteAndReturn() cil managed + { + // Code size 30 (0x1e) + .maxstack 3 + .locals init (uint8 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() + IL_0007: dup + IL_0008: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() + IL_000d: ldc.i4.2 + IL_000e: mul + IL_000f: conv.u1 + IL_0010: dup + IL_0011: stloc.0 + IL_0012: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: stloc.1 + IL_001a: br.s IL_001c + + IL_001c: ldloc.1 + IL_001d: ret + } // end of method CompoundAssignmentTest::DoubleInstancePropertyByteAndReturn + + .method public hidebysig instance int32 + PreIncrementStaticField() cil managed + { + // Code size 19 (0x13) + .maxstack 2 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: dup + IL_0009: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_000e: stloc.0 + IL_000f: br.s IL_0011 + + IL_0011: ldloc.0 + IL_0012: ret + } // end of method CompoundAssignmentTest::PreIncrementStaticField + + .method public hidebysig instance int32 + PostIncrementStaticField() cil managed + { + // Code size 19 (0x13) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_000e: stloc.0 + IL_000f: br.s IL_0011 + + IL_0011: ldloc.0 + IL_0012: ret + } // end of method CompoundAssignmentTest::PostIncrementStaticField + + .method public hidebysig instance void + IncrementStaticField() cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_000d: ret + } // end of method CompoundAssignmentTest::IncrementStaticField + + .method public hidebysig instance void + DoubleStaticField() cil managed + { + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_0006: ldc.i4.2 + IL_0007: mul + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_000d: ret + } // end of method CompoundAssignmentTest::DoubleStaticField + + .method public hidebysig instance int32 + DoubleStaticFieldAndReturn() cil managed + { + // Code size 19 (0x13) + .maxstack 2 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_0006: ldc.i4.2 + IL_0007: mul + IL_0008: dup + IL_0009: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField + IL_000e: stloc.0 + IL_000f: br.s IL_0011 + + IL_0011: ldloc.0 + IL_0012: ret + } // end of method CompoundAssignmentTest::DoubleStaticFieldAndReturn + + .method public hidebysig instance int32 + PreIncrementStaticFieldShort() cil managed + { + // Code size 20 (0x14) + .maxstack 2 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.i2 + IL_0009: dup + IL_000a: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_000f: stloc.0 + IL_0010: br.s IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method CompoundAssignmentTest::PreIncrementStaticFieldShort + + .method public hidebysig instance int32 + PostIncrementStaticFieldShort() cil managed + { + // Code size 20 (0x14) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: conv.i2 + IL_000a: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_000f: stloc.0 + IL_0010: br.s IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method CompoundAssignmentTest::PostIncrementStaticFieldShort + + .method public hidebysig instance void + IncrementStaticFieldShort() cil managed + { + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_000e: ret + } // end of method CompoundAssignmentTest::IncrementStaticFieldShort + + .method public hidebysig instance void + DoubleStaticFieldShort() cil managed + { + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_0006: ldc.i4.2 + IL_0007: mul + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_000e: ret + } // end of method CompoundAssignmentTest::DoubleStaticFieldShort + + .method public hidebysig instance int16 + DoubleStaticFieldAndReturnShort() cil managed + { + // Code size 20 (0x14) + .maxstack 2 + .locals init (int16 V_0) + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_0006: ldc.i4.2 + IL_0007: mul + IL_0008: conv.i2 + IL_0009: dup + IL_000a: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_000f: stloc.0 + IL_0010: br.s IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method CompoundAssignmentTest::DoubleStaticFieldAndReturnShort + + .method public hidebysig instance int32 + PreIncrementStaticProperty() cil managed + { + // Code size 20 (0x14) + .maxstack 2 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: dup + IL_0009: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) + IL_000e: nop + IL_000f: stloc.0 + IL_0010: br.s IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method CompoundAssignmentTest::PreIncrementStaticProperty + + .method public hidebysig instance int32 + PostIncrementStaticProperty() cil managed + { + // Code size 20 (0x14) + .maxstack 3 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) + IL_000e: nop + IL_000f: stloc.0 + IL_0010: br.s IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method CompoundAssignmentTest::PostIncrementStaticProperty + + .method public hidebysig instance void + IncrementStaticProperty() cil managed + { + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) + IL_000d: nop + IL_000e: ret + } // end of method CompoundAssignmentTest::IncrementStaticProperty + + .method public hidebysig instance void + DoubleStaticProperty() cil managed + { + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() + IL_0006: ldc.i4.2 + IL_0007: mul + IL_0008: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) + IL_000d: nop + IL_000e: ret + } // end of method CompoundAssignmentTest::DoubleStaticProperty + + .method public hidebysig instance int32 + DoubleStaticPropertyAndReturn() cil managed + { + // Code size 20 (0x14) + .maxstack 2 + .locals init (int32 V_0) + IL_0000: nop + IL_0001: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() + IL_0006: ldc.i4.2 + IL_0007: mul + IL_0008: dup + IL_0009: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) + IL_000e: nop + IL_000f: stloc.0 + IL_0010: br.s IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method CompoundAssignmentTest::DoubleStaticPropertyAndReturn + + .method public hidebysig instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum + PreIncrementStaticPropertyShort() cil managed + { + // Code size 21 (0x15) + .maxstack 2 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum V_0) + IL_0000: nop + IL_0001: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticShortProperty() + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.i2 + IL_0009: dup + IL_000a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum) + IL_000f: nop + IL_0010: stloc.0 + IL_0011: br.s IL_0013 + + IL_0013: ldloc.0 + IL_0014: ret + } // end of method CompoundAssignmentTest::PreIncrementStaticPropertyShort + + .method public hidebysig instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum + PostIncrementStaticPropertyShort() cil managed + { + // Code size 21 (0x15) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum V_0) + IL_0000: nop + IL_0001: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticShortProperty() + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: conv.i2 + IL_000a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum) + IL_000f: nop + IL_0010: stloc.0 + IL_0011: br.s IL_0013 + + IL_0013: ldloc.0 + IL_0014: ret + } // end of method CompoundAssignmentTest::PostIncrementStaticPropertyShort + + .method public hidebysig instance void + IncrementStaticPropertyShort() cil managed + { + // Code size 16 (0x10) + .maxstack 8 + IL_0000: nop + IL_0001: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticShortProperty() + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.i2 + IL_0009: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum) + IL_000e: nop + IL_000f: ret + } // end of method CompoundAssignmentTest::IncrementStaticPropertyShort + + .method public hidebysig static void ByteAddTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: ldc.i4.5 + IL_0007: add + IL_0008: conv.u1 + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0013: ldc.i4.5 + IL_0014: add + IL_0015: conv.u1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0023: ldc.i4.5 + IL_0024: add + IL_0025: conv.u1 + IL_0026: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0032: ldc.i4.5 + IL_0033: add + IL_0034: conv.u1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0042: dup + IL_0043: ldind.u1 + IL_0044: ldc.i4.5 + IL_0045: add + IL_0046: conv.u1 + IL_0047: stind.i1 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0050: ldc.i4.5 + IL_0051: add + IL_0052: conv.u1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0064: ldc.i4.5 + IL_0065: add + IL_0066: conv.u1 + IL_0067: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0077: ldc.i4.5 + IL_0078: add + IL_0079: conv.u1 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_008a: dup + IL_008b: ldind.u1 + IL_008c: ldc.i4.5 + IL_008d: add + IL_008e: conv.u1 + IL_008f: stind.i1 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_009b: ldc.i4.5 + IL_009c: add + IL_009d: conv.u1 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00af: ldc.i4.5 + IL_00b0: add + IL_00b1: conv.u1 + IL_00b2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c2: ldc.i4.5 + IL_00c3: add + IL_00c4: conv.u1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d6: ldc.i4.5 + IL_00d7: add + IL_00d8: conv.u1 + IL_00d9: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e9: ldc.i4.5 + IL_00ea: add + IL_00eb: conv.u1 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00fc: dup + IL_00fd: ldind.u1 + IL_00fe: ldc.i4.5 + IL_00ff: add + IL_0100: conv.u1 + IL_0101: stind.i1 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_010d: ldc.i4.5 + IL_010e: add + IL_010f: conv.u1 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0115: nop + IL_0116: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_011b: dup + IL_011c: ldind.u1 + IL_011d: ldc.i4.5 + IL_011e: add + IL_011f: conv.u1 + IL_0120: stind.i1 + IL_0121: ret + } // end of method CompoundAssignmentTest::ByteAddTest + + .method public hidebysig static void ByteSubtractTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: ldc.i4.5 + IL_0007: sub + IL_0008: conv.u1 + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0013: ldc.i4.5 + IL_0014: sub + IL_0015: conv.u1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0023: ldc.i4.5 + IL_0024: sub + IL_0025: conv.u1 + IL_0026: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0032: ldc.i4.5 + IL_0033: sub + IL_0034: conv.u1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0042: dup + IL_0043: ldind.u1 + IL_0044: ldc.i4.5 + IL_0045: sub + IL_0046: conv.u1 + IL_0047: stind.i1 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0050: ldc.i4.5 + IL_0051: sub + IL_0052: conv.u1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0064: ldc.i4.5 + IL_0065: sub + IL_0066: conv.u1 + IL_0067: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0077: ldc.i4.5 + IL_0078: sub + IL_0079: conv.u1 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_008a: dup + IL_008b: ldind.u1 + IL_008c: ldc.i4.5 + IL_008d: sub + IL_008e: conv.u1 + IL_008f: stind.i1 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_009b: ldc.i4.5 + IL_009c: sub + IL_009d: conv.u1 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00af: ldc.i4.5 + IL_00b0: sub + IL_00b1: conv.u1 + IL_00b2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c2: ldc.i4.5 + IL_00c3: sub + IL_00c4: conv.u1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d6: ldc.i4.5 + IL_00d7: sub + IL_00d8: conv.u1 + IL_00d9: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e9: ldc.i4.5 + IL_00ea: sub + IL_00eb: conv.u1 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00fc: dup + IL_00fd: ldind.u1 + IL_00fe: ldc.i4.5 + IL_00ff: sub + IL_0100: conv.u1 + IL_0101: stind.i1 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_010d: ldc.i4.5 + IL_010e: sub + IL_010f: conv.u1 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0115: nop + IL_0116: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_011b: dup + IL_011c: ldind.u1 + IL_011d: ldc.i4.5 + IL_011e: sub + IL_011f: conv.u1 + IL_0120: stind.i1 + IL_0121: ret + } // end of method CompoundAssignmentTest::ByteSubtractTest + + .method public hidebysig static void ByteMultiplyTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: ldc.i4.5 + IL_0007: mul + IL_0008: conv.u1 + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0013: ldc.i4.5 + IL_0014: mul + IL_0015: conv.u1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0023: ldc.i4.5 + IL_0024: mul + IL_0025: conv.u1 + IL_0026: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0032: ldc.i4.5 + IL_0033: mul + IL_0034: conv.u1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0042: dup + IL_0043: ldind.u1 + IL_0044: ldc.i4.5 + IL_0045: mul + IL_0046: conv.u1 + IL_0047: stind.i1 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0050: ldc.i4.5 + IL_0051: mul + IL_0052: conv.u1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0064: ldc.i4.5 + IL_0065: mul + IL_0066: conv.u1 + IL_0067: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0077: ldc.i4.5 + IL_0078: mul + IL_0079: conv.u1 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_008a: dup + IL_008b: ldind.u1 + IL_008c: ldc.i4.5 + IL_008d: mul + IL_008e: conv.u1 + IL_008f: stind.i1 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_009b: ldc.i4.5 + IL_009c: mul + IL_009d: conv.u1 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00af: ldc.i4.5 + IL_00b0: mul + IL_00b1: conv.u1 + IL_00b2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c2: ldc.i4.5 + IL_00c3: mul + IL_00c4: conv.u1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d6: ldc.i4.5 + IL_00d7: mul + IL_00d8: conv.u1 + IL_00d9: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e9: ldc.i4.5 + IL_00ea: mul + IL_00eb: conv.u1 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00fc: dup + IL_00fd: ldind.u1 + IL_00fe: ldc.i4.5 + IL_00ff: mul + IL_0100: conv.u1 + IL_0101: stind.i1 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_010d: ldc.i4.5 + IL_010e: mul + IL_010f: conv.u1 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0115: nop + IL_0116: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_011b: dup + IL_011c: ldind.u1 + IL_011d: ldc.i4.5 + IL_011e: mul + IL_011f: conv.u1 + IL_0120: stind.i1 + IL_0121: ret + } // end of method CompoundAssignmentTest::ByteMultiplyTest + + .method public hidebysig static void ByteDivideTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: ldc.i4.5 + IL_0007: div + IL_0008: conv.u1 + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0013: ldc.i4.5 + IL_0014: div + IL_0015: conv.u1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0023: ldc.i4.5 + IL_0024: div + IL_0025: conv.u1 + IL_0026: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0032: ldc.i4.5 + IL_0033: div + IL_0034: conv.u1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0042: dup + IL_0043: ldind.u1 + IL_0044: ldc.i4.5 + IL_0045: div + IL_0046: conv.u1 + IL_0047: stind.i1 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0050: ldc.i4.5 + IL_0051: div + IL_0052: conv.u1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0064: ldc.i4.5 + IL_0065: div + IL_0066: conv.u1 + IL_0067: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0077: ldc.i4.5 + IL_0078: div + IL_0079: conv.u1 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_008a: dup + IL_008b: ldind.u1 + IL_008c: ldc.i4.5 + IL_008d: div + IL_008e: conv.u1 + IL_008f: stind.i1 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_009b: ldc.i4.5 + IL_009c: div + IL_009d: conv.u1 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00af: ldc.i4.5 + IL_00b0: div + IL_00b1: conv.u1 + IL_00b2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c2: ldc.i4.5 + IL_00c3: div + IL_00c4: conv.u1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d6: ldc.i4.5 + IL_00d7: div + IL_00d8: conv.u1 + IL_00d9: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e9: ldc.i4.5 + IL_00ea: div + IL_00eb: conv.u1 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00fc: dup + IL_00fd: ldind.u1 + IL_00fe: ldc.i4.5 + IL_00ff: div + IL_0100: conv.u1 + IL_0101: stind.i1 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_010d: ldc.i4.5 + IL_010e: div + IL_010f: conv.u1 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0115: nop + IL_0116: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_011b: dup + IL_011c: ldind.u1 + IL_011d: ldc.i4.5 + IL_011e: div + IL_011f: conv.u1 + IL_0120: stind.i1 + IL_0121: ret + } // end of method CompoundAssignmentTest::ByteDivideTest + + .method public hidebysig static void ByteModulusTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: ldc.i4.5 + IL_0007: rem + IL_0008: conv.u1 + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0013: ldc.i4.5 + IL_0014: rem + IL_0015: conv.u1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0023: ldc.i4.5 + IL_0024: rem + IL_0025: conv.u1 + IL_0026: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0032: ldc.i4.5 + IL_0033: rem + IL_0034: conv.u1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0042: dup + IL_0043: ldind.u1 + IL_0044: ldc.i4.5 + IL_0045: rem + IL_0046: conv.u1 + IL_0047: stind.i1 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0050: ldc.i4.5 + IL_0051: rem + IL_0052: conv.u1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0064: ldc.i4.5 + IL_0065: rem + IL_0066: conv.u1 + IL_0067: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0077: ldc.i4.5 + IL_0078: rem + IL_0079: conv.u1 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_008a: dup + IL_008b: ldind.u1 + IL_008c: ldc.i4.5 + IL_008d: rem + IL_008e: conv.u1 + IL_008f: stind.i1 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_009b: ldc.i4.5 + IL_009c: rem + IL_009d: conv.u1 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00af: ldc.i4.5 + IL_00b0: rem + IL_00b1: conv.u1 + IL_00b2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c2: ldc.i4.5 + IL_00c3: rem + IL_00c4: conv.u1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d6: ldc.i4.5 + IL_00d7: rem + IL_00d8: conv.u1 + IL_00d9: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e9: ldc.i4.5 + IL_00ea: rem + IL_00eb: conv.u1 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00fc: dup + IL_00fd: ldind.u1 + IL_00fe: ldc.i4.5 + IL_00ff: rem + IL_0100: conv.u1 + IL_0101: stind.i1 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_010d: ldc.i4.5 + IL_010e: rem + IL_010f: conv.u1 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0115: nop + IL_0116: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_011b: dup + IL_011c: ldind.u1 + IL_011d: ldc.i4.5 + IL_011e: rem + IL_011f: conv.u1 + IL_0120: stind.i1 + IL_0121: ret + } // end of method CompoundAssignmentTest::ByteModulusTest + + .method public hidebysig static void ByteLeftShiftTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: ldc.i4.5 + IL_0007: shl + IL_0008: conv.u1 + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0013: ldc.i4.5 + IL_0014: shl + IL_0015: conv.u1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0023: ldc.i4.5 + IL_0024: shl + IL_0025: conv.u1 + IL_0026: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0032: ldc.i4.5 + IL_0033: shl + IL_0034: conv.u1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0042: dup + IL_0043: ldind.u1 + IL_0044: ldc.i4.5 + IL_0045: shl + IL_0046: conv.u1 + IL_0047: stind.i1 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0050: ldc.i4.5 + IL_0051: shl + IL_0052: conv.u1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0064: ldc.i4.5 + IL_0065: shl + IL_0066: conv.u1 + IL_0067: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0077: ldc.i4.5 + IL_0078: shl + IL_0079: conv.u1 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_008a: dup + IL_008b: ldind.u1 + IL_008c: ldc.i4.5 + IL_008d: shl + IL_008e: conv.u1 + IL_008f: stind.i1 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_009b: ldc.i4.5 + IL_009c: shl + IL_009d: conv.u1 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00af: ldc.i4.5 + IL_00b0: shl + IL_00b1: conv.u1 + IL_00b2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c2: ldc.i4.5 + IL_00c3: shl + IL_00c4: conv.u1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d6: ldc.i4.5 + IL_00d7: shl + IL_00d8: conv.u1 + IL_00d9: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e9: ldc.i4.5 + IL_00ea: shl + IL_00eb: conv.u1 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00fc: dup + IL_00fd: ldind.u1 + IL_00fe: ldc.i4.5 + IL_00ff: shl + IL_0100: conv.u1 + IL_0101: stind.i1 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_010d: ldc.i4.5 + IL_010e: shl + IL_010f: conv.u1 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0115: nop + IL_0116: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_011b: dup + IL_011c: ldind.u1 + IL_011d: ldc.i4.5 + IL_011e: shl + IL_011f: conv.u1 + IL_0120: stind.i1 + IL_0121: ret + } // end of method CompoundAssignmentTest::ByteLeftShiftTest + + .method public hidebysig static void ByteRightShiftTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: ldc.i4.5 + IL_0007: shr + IL_0008: conv.u1 + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0013: ldc.i4.5 + IL_0014: shr + IL_0015: conv.u1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0023: ldc.i4.5 + IL_0024: shr + IL_0025: conv.u1 + IL_0026: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0032: ldc.i4.5 + IL_0033: shr + IL_0034: conv.u1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0042: dup + IL_0043: ldind.u1 + IL_0044: ldc.i4.5 + IL_0045: shr + IL_0046: conv.u1 + IL_0047: stind.i1 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0050: ldc.i4.5 + IL_0051: shr + IL_0052: conv.u1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0064: ldc.i4.5 + IL_0065: shr + IL_0066: conv.u1 + IL_0067: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0077: ldc.i4.5 + IL_0078: shr + IL_0079: conv.u1 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_008a: dup + IL_008b: ldind.u1 + IL_008c: ldc.i4.5 + IL_008d: shr + IL_008e: conv.u1 + IL_008f: stind.i1 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_009b: ldc.i4.5 + IL_009c: shr + IL_009d: conv.u1 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00af: ldc.i4.5 + IL_00b0: shr + IL_00b1: conv.u1 + IL_00b2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c2: ldc.i4.5 + IL_00c3: shr + IL_00c4: conv.u1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d6: ldc.i4.5 + IL_00d7: shr + IL_00d8: conv.u1 + IL_00d9: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e9: ldc.i4.5 + IL_00ea: shr + IL_00eb: conv.u1 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00fc: dup + IL_00fd: ldind.u1 + IL_00fe: ldc.i4.5 + IL_00ff: shr + IL_0100: conv.u1 + IL_0101: stind.i1 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_010d: ldc.i4.5 + IL_010e: shr + IL_010f: conv.u1 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0115: nop + IL_0116: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_011b: dup + IL_011c: ldind.u1 + IL_011d: ldc.i4.5 + IL_011e: shr + IL_011f: conv.u1 + IL_0120: stind.i1 + IL_0121: ret + } // end of method CompoundAssignmentTest::ByteRightShiftTest + + .method public hidebysig static void ByteBitAndTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: ldc.i4.5 + IL_0007: and + IL_0008: conv.u1 + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0013: ldc.i4.5 + IL_0014: and + IL_0015: conv.u1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0023: ldc.i4.5 + IL_0024: and + IL_0025: conv.u1 + IL_0026: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0032: ldc.i4.5 + IL_0033: and + IL_0034: conv.u1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0042: dup + IL_0043: ldind.u1 + IL_0044: ldc.i4.5 + IL_0045: and + IL_0046: conv.u1 + IL_0047: stind.i1 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0050: ldc.i4.5 + IL_0051: and + IL_0052: conv.u1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0064: ldc.i4.5 + IL_0065: and + IL_0066: conv.u1 + IL_0067: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0077: ldc.i4.5 + IL_0078: and + IL_0079: conv.u1 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_008a: dup + IL_008b: ldind.u1 + IL_008c: ldc.i4.5 + IL_008d: and + IL_008e: conv.u1 + IL_008f: stind.i1 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_009b: ldc.i4.5 + IL_009c: and + IL_009d: conv.u1 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00af: ldc.i4.5 + IL_00b0: and + IL_00b1: conv.u1 + IL_00b2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c2: ldc.i4.5 + IL_00c3: and + IL_00c4: conv.u1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d6: ldc.i4.5 + IL_00d7: and + IL_00d8: conv.u1 + IL_00d9: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e9: ldc.i4.5 + IL_00ea: and + IL_00eb: conv.u1 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00fc: dup + IL_00fd: ldind.u1 + IL_00fe: ldc.i4.5 + IL_00ff: and + IL_0100: conv.u1 + IL_0101: stind.i1 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_010d: ldc.i4.5 + IL_010e: and + IL_010f: conv.u1 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0115: nop + IL_0116: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_011b: dup + IL_011c: ldind.u1 + IL_011d: ldc.i4.5 + IL_011e: and + IL_011f: conv.u1 + IL_0120: stind.i1 + IL_0121: ret + } // end of method CompoundAssignmentTest::ByteBitAndTest + + .method public hidebysig static void ByteBitOrTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: ldc.i4.5 + IL_0007: or + IL_0008: conv.u1 + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0013: ldc.i4.5 + IL_0014: or + IL_0015: conv.u1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0023: ldc.i4.5 + IL_0024: or + IL_0025: conv.u1 + IL_0026: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0032: ldc.i4.5 + IL_0033: or + IL_0034: conv.u1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0042: dup + IL_0043: ldind.u1 + IL_0044: ldc.i4.5 + IL_0045: or + IL_0046: conv.u1 + IL_0047: stind.i1 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0050: ldc.i4.5 + IL_0051: or + IL_0052: conv.u1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0064: ldc.i4.5 + IL_0065: or + IL_0066: conv.u1 + IL_0067: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0077: ldc.i4.5 + IL_0078: or + IL_0079: conv.u1 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_008a: dup + IL_008b: ldind.u1 + IL_008c: ldc.i4.5 + IL_008d: or + IL_008e: conv.u1 + IL_008f: stind.i1 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_009b: ldc.i4.5 + IL_009c: or + IL_009d: conv.u1 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00af: ldc.i4.5 + IL_00b0: or + IL_00b1: conv.u1 + IL_00b2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c2: ldc.i4.5 + IL_00c3: or + IL_00c4: conv.u1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d6: ldc.i4.5 + IL_00d7: or + IL_00d8: conv.u1 + IL_00d9: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e9: ldc.i4.5 + IL_00ea: or + IL_00eb: conv.u1 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00fc: dup + IL_00fd: ldind.u1 + IL_00fe: ldc.i4.5 + IL_00ff: or + IL_0100: conv.u1 + IL_0101: stind.i1 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_010d: ldc.i4.5 + IL_010e: or + IL_010f: conv.u1 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0115: nop + IL_0116: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_011b: dup + IL_011c: ldind.u1 + IL_011d: ldc.i4.5 + IL_011e: or + IL_011f: conv.u1 + IL_0120: stind.i1 + IL_0121: ret + } // end of method CompoundAssignmentTest::ByteBitOrTest + + .method public hidebysig static void ByteBitXorTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: ldc.i4.5 + IL_0007: xor + IL_0008: conv.u1 + IL_0009: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000e: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_0013: ldc.i4.5 + IL_0014: xor + IL_0015: conv.u1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0023: ldc.i4.5 + IL_0024: xor + IL_0025: conv.u1 + IL_0026: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0032: ldc.i4.5 + IL_0033: xor + IL_0034: conv.u1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0042: dup + IL_0043: ldind.u1 + IL_0044: ldc.i4.5 + IL_0045: xor + IL_0046: conv.u1 + IL_0047: stind.i1 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0050: ldc.i4.5 + IL_0051: xor + IL_0052: conv.u1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0064: ldc.i4.5 + IL_0065: xor + IL_0066: conv.u1 + IL_0067: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0077: ldc.i4.5 + IL_0078: xor + IL_0079: conv.u1 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_008a: dup + IL_008b: ldind.u1 + IL_008c: ldc.i4.5 + IL_008d: xor + IL_008e: conv.u1 + IL_008f: stind.i1 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_009b: ldc.i4.5 + IL_009c: xor + IL_009d: conv.u1 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00af: ldc.i4.5 + IL_00b0: xor + IL_00b1: conv.u1 + IL_00b2: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00c2: ldc.i4.5 + IL_00c3: xor + IL_00c4: conv.u1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00d6: ldc.i4.5 + IL_00d7: xor + IL_00d8: conv.u1 + IL_00d9: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00e9: ldc.i4.5 + IL_00ea: xor + IL_00eb: conv.u1 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00fc: dup + IL_00fd: ldind.u1 + IL_00fe: ldc.i4.5 + IL_00ff: xor + IL_0100: conv.u1 + IL_0101: stind.i1 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_010d: ldc.i4.5 + IL_010e: xor + IL_010f: conv.u1 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0115: nop + IL_0116: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_011b: dup + IL_011c: ldind.u1 + IL_011d: ldc.i4.5 + IL_011e: xor + IL_011f: conv.u1 + IL_0120: stind.i1 + IL_0121: ret + } // end of method CompoundAssignmentTest::ByteBitXorTest + + .method public hidebysig static void BytePostIncTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 439 (0x1b7) + .maxstack 3 + .locals init (uint8 V_0) + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: conv.u1 + IL_000a: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_001a: dup + IL_001b: ldc.i4.1 + IL_001c: add + IL_001d: conv.u1 + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0031: stloc.0 + IL_0032: ldloc.0 + IL_0033: ldc.i4.1 + IL_0034: add + IL_0035: conv.u1 + IL_0036: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0049: stloc.0 + IL_004a: ldloc.0 + IL_004b: ldc.i4.1 + IL_004c: add + IL_004d: conv.u1 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0062: dup + IL_0063: ldind.u1 + IL_0064: stloc.0 + IL_0065: ldloc.0 + IL_0066: ldc.i4.1 + IL_0067: add + IL_0068: conv.u1 + IL_0069: stind.i1 + IL_006a: ldloc.0 + IL_006b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0070: nop + IL_0071: ldarga.s s + IL_0073: dup + IL_0074: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0079: stloc.0 + IL_007a: ldloc.0 + IL_007b: ldc.i4.1 + IL_007c: add + IL_007d: conv.u1 + IL_007e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008a: nop + IL_008b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0090: dup + IL_0091: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0096: stloc.0 + IL_0097: ldloc.0 + IL_0098: ldc.i4.1 + IL_0099: add + IL_009a: conv.u1 + IL_009b: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00a0: ldloc.0 + IL_00a1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a6: nop + IL_00a7: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ac: dup + IL_00ad: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00b2: stloc.0 + IL_00b3: ldloc.0 + IL_00b4: ldc.i4.1 + IL_00b5: add + IL_00b6: conv.u1 + IL_00b7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c3: nop + IL_00c4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c9: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00ce: dup + IL_00cf: ldind.u1 + IL_00d0: stloc.0 + IL_00d1: ldloc.0 + IL_00d2: ldc.i4.1 + IL_00d3: add + IL_00d4: conv.u1 + IL_00d5: stind.i1 + IL_00d6: ldloc.0 + IL_00d7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00dc: nop + IL_00dd: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e2: dup + IL_00e3: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00e8: stloc.0 + IL_00e9: ldloc.0 + IL_00ea: ldc.i4.1 + IL_00eb: add + IL_00ec: conv.u1 + IL_00ed: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00f2: nop + IL_00f3: ldloc.0 + IL_00f4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f9: nop + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0105: stloc.0 + IL_0106: ldloc.0 + IL_0107: ldc.i4.1 + IL_0108: add + IL_0109: conv.u1 + IL_010a: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_010f: ldloc.0 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: nop + IL_0116: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011b: dup + IL_011c: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0121: stloc.0 + IL_0122: ldloc.0 + IL_0123: ldc.i4.1 + IL_0124: add + IL_0125: conv.u1 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: nop + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0138: dup + IL_0139: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_013e: stloc.0 + IL_013f: ldloc.0 + IL_0140: ldc.i4.1 + IL_0141: add + IL_0142: conv.u1 + IL_0143: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0148: ldloc.0 + IL_0149: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014e: nop + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_015a: stloc.0 + IL_015b: ldloc.0 + IL_015c: ldc.i4.1 + IL_015d: add + IL_015e: conv.u1 + IL_015f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016b: nop + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0171: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0176: dup + IL_0177: ldind.u1 + IL_0178: stloc.0 + IL_0179: ldloc.0 + IL_017a: ldc.i4.1 + IL_017b: add + IL_017c: conv.u1 + IL_017d: stind.i1 + IL_017e: ldloc.0 + IL_017f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0184: nop + IL_0185: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018a: dup + IL_018b: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0190: stloc.0 + IL_0191: ldloc.0 + IL_0192: ldc.i4.1 + IL_0193: add + IL_0194: conv.u1 + IL_0195: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_019a: nop + IL_019b: ldloc.0 + IL_019c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a1: nop + IL_01a2: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_01a7: dup + IL_01a8: ldind.u1 + IL_01a9: stloc.0 + IL_01aa: ldloc.0 + IL_01ab: ldc.i4.1 + IL_01ac: add + IL_01ad: conv.u1 + IL_01ae: stind.i1 + IL_01af: ldloc.0 + IL_01b0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01b5: nop + IL_01b6: ret + } // end of method CompoundAssignmentTest::BytePostIncTest + + .method public hidebysig static void BytePreIncTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 439 (0x1b7) + .maxstack 3 + .locals init (uint8 V_0) + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.u1 + IL_0009: dup + IL_000a: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_001a: ldc.i4.1 + IL_001b: add + IL_001c: conv.u1 + IL_001d: dup + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0031: ldc.i4.1 + IL_0032: add + IL_0033: conv.u1 + IL_0034: stloc.0 + IL_0035: ldloc.0 + IL_0036: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0049: ldc.i4.1 + IL_004a: add + IL_004b: conv.u1 + IL_004c: stloc.0 + IL_004d: ldloc.0 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0062: dup + IL_0063: ldind.u1 + IL_0064: ldc.i4.1 + IL_0065: add + IL_0066: conv.u1 + IL_0067: stloc.0 + IL_0068: ldloc.0 + IL_0069: stind.i1 + IL_006a: ldloc.0 + IL_006b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0070: nop + IL_0071: ldarga.s s + IL_0073: dup + IL_0074: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0079: ldc.i4.1 + IL_007a: add + IL_007b: conv.u1 + IL_007c: stloc.0 + IL_007d: ldloc.0 + IL_007e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008a: nop + IL_008b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0090: dup + IL_0091: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0096: ldc.i4.1 + IL_0097: add + IL_0098: conv.u1 + IL_0099: stloc.0 + IL_009a: ldloc.0 + IL_009b: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00a0: ldloc.0 + IL_00a1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a6: nop + IL_00a7: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ac: dup + IL_00ad: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00b2: ldc.i4.1 + IL_00b3: add + IL_00b4: conv.u1 + IL_00b5: stloc.0 + IL_00b6: ldloc.0 + IL_00b7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c3: nop + IL_00c4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c9: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00ce: dup + IL_00cf: ldind.u1 + IL_00d0: ldc.i4.1 + IL_00d1: add + IL_00d2: conv.u1 + IL_00d3: stloc.0 + IL_00d4: ldloc.0 + IL_00d5: stind.i1 + IL_00d6: ldloc.0 + IL_00d7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00dc: nop + IL_00dd: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e2: dup + IL_00e3: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00e8: ldc.i4.1 + IL_00e9: add + IL_00ea: conv.u1 + IL_00eb: stloc.0 + IL_00ec: ldloc.0 + IL_00ed: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00f2: nop + IL_00f3: ldloc.0 + IL_00f4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f9: nop + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0105: ldc.i4.1 + IL_0106: add + IL_0107: conv.u1 + IL_0108: stloc.0 + IL_0109: ldloc.0 + IL_010a: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_010f: ldloc.0 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: nop + IL_0116: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011b: dup + IL_011c: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0121: ldc.i4.1 + IL_0122: add + IL_0123: conv.u1 + IL_0124: stloc.0 + IL_0125: ldloc.0 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: nop + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0138: dup + IL_0139: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_013e: ldc.i4.1 + IL_013f: add + IL_0140: conv.u1 + IL_0141: stloc.0 + IL_0142: ldloc.0 + IL_0143: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0148: ldloc.0 + IL_0149: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014e: nop + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_015a: ldc.i4.1 + IL_015b: add + IL_015c: conv.u1 + IL_015d: stloc.0 + IL_015e: ldloc.0 + IL_015f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016b: nop + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0171: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0176: dup + IL_0177: ldind.u1 + IL_0178: ldc.i4.1 + IL_0179: add + IL_017a: conv.u1 + IL_017b: stloc.0 + IL_017c: ldloc.0 + IL_017d: stind.i1 + IL_017e: ldloc.0 + IL_017f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0184: nop + IL_0185: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018a: dup + IL_018b: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0190: ldc.i4.1 + IL_0191: add + IL_0192: conv.u1 + IL_0193: stloc.0 + IL_0194: ldloc.0 + IL_0195: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_019a: nop + IL_019b: ldloc.0 + IL_019c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a1: nop + IL_01a2: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_01a7: dup + IL_01a8: ldind.u1 + IL_01a9: ldc.i4.1 + IL_01aa: add + IL_01ab: conv.u1 + IL_01ac: stloc.0 + IL_01ad: ldloc.0 + IL_01ae: stind.i1 + IL_01af: ldloc.0 + IL_01b0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01b5: nop + IL_01b6: ret + } // end of method CompoundAssignmentTest::BytePreIncTest + + .method public hidebysig static void BytePostDecTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 439 (0x1b7) + .maxstack 3 + .locals init (uint8 V_0) + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: sub + IL_0009: conv.u1 + IL_000a: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_001a: dup + IL_001b: ldc.i4.1 + IL_001c: sub + IL_001d: conv.u1 + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0031: stloc.0 + IL_0032: ldloc.0 + IL_0033: ldc.i4.1 + IL_0034: sub + IL_0035: conv.u1 + IL_0036: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0049: stloc.0 + IL_004a: ldloc.0 + IL_004b: ldc.i4.1 + IL_004c: sub + IL_004d: conv.u1 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0062: dup + IL_0063: ldind.u1 + IL_0064: stloc.0 + IL_0065: ldloc.0 + IL_0066: ldc.i4.1 + IL_0067: sub + IL_0068: conv.u1 + IL_0069: stind.i1 + IL_006a: ldloc.0 + IL_006b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0070: nop + IL_0071: ldarga.s s + IL_0073: dup + IL_0074: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0079: stloc.0 + IL_007a: ldloc.0 + IL_007b: ldc.i4.1 + IL_007c: sub + IL_007d: conv.u1 + IL_007e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008a: nop + IL_008b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0090: dup + IL_0091: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0096: stloc.0 + IL_0097: ldloc.0 + IL_0098: ldc.i4.1 + IL_0099: sub + IL_009a: conv.u1 + IL_009b: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00a0: ldloc.0 + IL_00a1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a6: nop + IL_00a7: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ac: dup + IL_00ad: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00b2: stloc.0 + IL_00b3: ldloc.0 + IL_00b4: ldc.i4.1 + IL_00b5: sub + IL_00b6: conv.u1 + IL_00b7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c3: nop + IL_00c4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c9: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00ce: dup + IL_00cf: ldind.u1 + IL_00d0: stloc.0 + IL_00d1: ldloc.0 + IL_00d2: ldc.i4.1 + IL_00d3: sub + IL_00d4: conv.u1 + IL_00d5: stind.i1 + IL_00d6: ldloc.0 + IL_00d7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00dc: nop + IL_00dd: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e2: dup + IL_00e3: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00e8: stloc.0 + IL_00e9: ldloc.0 + IL_00ea: ldc.i4.1 + IL_00eb: sub + IL_00ec: conv.u1 + IL_00ed: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00f2: nop + IL_00f3: ldloc.0 + IL_00f4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f9: nop + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0105: stloc.0 + IL_0106: ldloc.0 + IL_0107: ldc.i4.1 + IL_0108: sub + IL_0109: conv.u1 + IL_010a: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_010f: ldloc.0 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: nop + IL_0116: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011b: dup + IL_011c: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0121: stloc.0 + IL_0122: ldloc.0 + IL_0123: ldc.i4.1 + IL_0124: sub + IL_0125: conv.u1 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: nop + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0138: dup + IL_0139: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_013e: stloc.0 + IL_013f: ldloc.0 + IL_0140: ldc.i4.1 + IL_0141: sub + IL_0142: conv.u1 + IL_0143: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0148: ldloc.0 + IL_0149: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014e: nop + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_015a: stloc.0 + IL_015b: ldloc.0 + IL_015c: ldc.i4.1 + IL_015d: sub + IL_015e: conv.u1 + IL_015f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016b: nop + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0171: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0176: dup + IL_0177: ldind.u1 + IL_0178: stloc.0 + IL_0179: ldloc.0 + IL_017a: ldc.i4.1 + IL_017b: sub + IL_017c: conv.u1 + IL_017d: stind.i1 + IL_017e: ldloc.0 + IL_017f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0184: nop + IL_0185: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018a: dup + IL_018b: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0190: stloc.0 + IL_0191: ldloc.0 + IL_0192: ldc.i4.1 + IL_0193: sub + IL_0194: conv.u1 + IL_0195: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_019a: nop + IL_019b: ldloc.0 + IL_019c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a1: nop + IL_01a2: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_01a7: dup + IL_01a8: ldind.u1 + IL_01a9: stloc.0 + IL_01aa: ldloc.0 + IL_01ab: ldc.i4.1 + IL_01ac: sub + IL_01ad: conv.u1 + IL_01ae: stind.i1 + IL_01af: ldloc.0 + IL_01b0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01b5: nop + IL_01b6: ret + } // end of method CompoundAssignmentTest::BytePostDecTest + + .method public hidebysig static void BytePreDecTest(uint8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 439 (0x1b7) + .maxstack 3 + .locals init (uint8 V_0) + IL_0000: nop + IL_0001: ldsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_0006: ldc.i4.1 + IL_0007: sub + IL_0008: conv.u1 + IL_0009: dup + IL_000a: stsfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::byteField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + IL_001a: ldc.i4.1 + IL_001b: sub + IL_001c: conv.u1 + IL_001d: dup + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0031: ldc.i4.1 + IL_0032: sub + IL_0033: conv.u1 + IL_0034: stloc.0 + IL_0035: ldloc.0 + IL_0036: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0049: ldc.i4.1 + IL_004a: sub + IL_004b: conv.u1 + IL_004c: stloc.0 + IL_004d: ldloc.0 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0062: dup + IL_0063: ldind.u1 + IL_0064: ldc.i4.1 + IL_0065: sub + IL_0066: conv.u1 + IL_0067: stloc.0 + IL_0068: ldloc.0 + IL_0069: stind.i1 + IL_006a: ldloc.0 + IL_006b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0070: nop + IL_0071: ldarga.s s + IL_0073: dup + IL_0074: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0079: ldc.i4.1 + IL_007a: sub + IL_007b: conv.u1 + IL_007c: stloc.0 + IL_007d: ldloc.0 + IL_007e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008a: nop + IL_008b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0090: dup + IL_0091: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0096: ldc.i4.1 + IL_0097: sub + IL_0098: conv.u1 + IL_0099: stloc.0 + IL_009a: ldloc.0 + IL_009b: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_00a0: ldloc.0 + IL_00a1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a6: nop + IL_00a7: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ac: dup + IL_00ad: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_00b2: ldc.i4.1 + IL_00b3: sub + IL_00b4: conv.u1 + IL_00b5: stloc.0 + IL_00b6: ldloc.0 + IL_00b7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c3: nop + IL_00c4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c9: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_00ce: dup + IL_00cf: ldind.u1 + IL_00d0: ldc.i4.1 + IL_00d1: sub + IL_00d2: conv.u1 + IL_00d3: stloc.0 + IL_00d4: ldloc.0 + IL_00d5: stind.i1 + IL_00d6: ldloc.0 + IL_00d7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00dc: nop + IL_00dd: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e2: dup + IL_00e3: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_00e8: ldc.i4.1 + IL_00e9: sub + IL_00ea: conv.u1 + IL_00eb: stloc.0 + IL_00ec: ldloc.0 + IL_00ed: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_00f2: nop + IL_00f3: ldloc.0 + IL_00f4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f9: nop + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0105: ldc.i4.1 + IL_0106: sub + IL_0107: conv.u1 + IL_0108: stloc.0 + IL_0109: ldloc.0 + IL_010a: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_010f: ldloc.0 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: nop + IL_0116: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011b: dup + IL_011c: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_0121: ldc.i4.1 + IL_0122: sub + IL_0123: conv.u1 + IL_0124: stloc.0 + IL_0125: ldloc.0 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: nop + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0138: dup + IL_0139: ldfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_013e: ldc.i4.1 + IL_013f: sub + IL_0140: conv.u1 + IL_0141: stloc.0 + IL_0142: ldloc.0 + IL_0143: stfld uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ByteField + IL_0148: ldloc.0 + IL_0149: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014e: nop + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ByteProp() + IL_015a: ldc.i4.1 + IL_015b: sub + IL_015c: conv.u1 + IL_015d: stloc.0 + IL_015e: ldloc.0 + IL_015f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ByteProp(uint8) + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016b: nop + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0171: ldflda uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ByteField + IL_0176: dup + IL_0177: ldind.u1 + IL_0178: ldc.i4.1 + IL_0179: sub + IL_017a: conv.u1 + IL_017b: stloc.0 + IL_017c: ldloc.0 + IL_017d: stind.i1 + IL_017e: ldloc.0 + IL_017f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0184: nop + IL_0185: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018a: dup + IL_018b: call instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ByteProp() + IL_0190: ldc.i4.1 + IL_0191: sub + IL_0192: conv.u1 + IL_0193: stloc.0 + IL_0194: ldloc.0 + IL_0195: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ByteProp(uint8) + IL_019a: nop + IL_019b: ldloc.0 + IL_019c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a1: nop + IL_01a2: call uint8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefByte() + IL_01a7: dup + IL_01a8: ldind.u1 + IL_01a9: ldc.i4.1 + IL_01aa: sub + IL_01ab: conv.u1 + IL_01ac: stloc.0 + IL_01ad: ldloc.0 + IL_01ae: stind.i1 + IL_01af: ldloc.0 + IL_01b0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01b5: nop + IL_01b6: ret + } // end of method CompoundAssignmentTest::BytePreDecTest + + .method public hidebysig static void SbyteAddTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: ldc.i4.5 + IL_0007: add + IL_0008: conv.i1 + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0013: ldc.i4.5 + IL_0014: add + IL_0015: conv.i1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0023: ldc.i4.5 + IL_0024: add + IL_0025: conv.i1 + IL_0026: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0032: ldc.i4.5 + IL_0033: add + IL_0034: conv.i1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0042: dup + IL_0043: ldind.i1 + IL_0044: ldc.i4.5 + IL_0045: add + IL_0046: conv.i1 + IL_0047: stind.i1 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0050: ldc.i4.5 + IL_0051: add + IL_0052: conv.i1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0064: ldc.i4.5 + IL_0065: add + IL_0066: conv.i1 + IL_0067: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0077: ldc.i4.5 + IL_0078: add + IL_0079: conv.i1 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_008a: dup + IL_008b: ldind.i1 + IL_008c: ldc.i4.5 + IL_008d: add + IL_008e: conv.i1 + IL_008f: stind.i1 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_009b: ldc.i4.5 + IL_009c: add + IL_009d: conv.i1 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00af: ldc.i4.5 + IL_00b0: add + IL_00b1: conv.i1 + IL_00b2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c2: ldc.i4.5 + IL_00c3: add + IL_00c4: conv.i1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d6: ldc.i4.5 + IL_00d7: add + IL_00d8: conv.i1 + IL_00d9: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e9: ldc.i4.5 + IL_00ea: add + IL_00eb: conv.i1 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00fc: dup + IL_00fd: ldind.i1 + IL_00fe: ldc.i4.5 + IL_00ff: add + IL_0100: conv.i1 + IL_0101: stind.i1 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_010d: ldc.i4.5 + IL_010e: add + IL_010f: conv.i1 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0115: nop + IL_0116: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_011b: dup + IL_011c: ldind.i1 + IL_011d: ldc.i4.5 + IL_011e: add + IL_011f: conv.i1 + IL_0120: stind.i1 + IL_0121: ret + } // end of method CompoundAssignmentTest::SbyteAddTest + + .method public hidebysig static void SbyteSubtractTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: ldc.i4.5 + IL_0007: sub + IL_0008: conv.i1 + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0013: ldc.i4.5 + IL_0014: sub + IL_0015: conv.i1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0023: ldc.i4.5 + IL_0024: sub + IL_0025: conv.i1 + IL_0026: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0032: ldc.i4.5 + IL_0033: sub + IL_0034: conv.i1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0042: dup + IL_0043: ldind.i1 + IL_0044: ldc.i4.5 + IL_0045: sub + IL_0046: conv.i1 + IL_0047: stind.i1 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0050: ldc.i4.5 + IL_0051: sub + IL_0052: conv.i1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0064: ldc.i4.5 + IL_0065: sub + IL_0066: conv.i1 + IL_0067: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0077: ldc.i4.5 + IL_0078: sub + IL_0079: conv.i1 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_008a: dup + IL_008b: ldind.i1 + IL_008c: ldc.i4.5 + IL_008d: sub + IL_008e: conv.i1 + IL_008f: stind.i1 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_009b: ldc.i4.5 + IL_009c: sub + IL_009d: conv.i1 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00af: ldc.i4.5 + IL_00b0: sub + IL_00b1: conv.i1 + IL_00b2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c2: ldc.i4.5 + IL_00c3: sub + IL_00c4: conv.i1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d6: ldc.i4.5 + IL_00d7: sub + IL_00d8: conv.i1 + IL_00d9: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e9: ldc.i4.5 + IL_00ea: sub + IL_00eb: conv.i1 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00fc: dup + IL_00fd: ldind.i1 + IL_00fe: ldc.i4.5 + IL_00ff: sub + IL_0100: conv.i1 + IL_0101: stind.i1 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_010d: ldc.i4.5 + IL_010e: sub + IL_010f: conv.i1 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0115: nop + IL_0116: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_011b: dup + IL_011c: ldind.i1 + IL_011d: ldc.i4.5 + IL_011e: sub + IL_011f: conv.i1 + IL_0120: stind.i1 + IL_0121: ret + } // end of method CompoundAssignmentTest::SbyteSubtractTest + + .method public hidebysig static void SbyteMultiplyTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: ldc.i4.5 + IL_0007: mul + IL_0008: conv.i1 + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0013: ldc.i4.5 + IL_0014: mul + IL_0015: conv.i1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0023: ldc.i4.5 + IL_0024: mul + IL_0025: conv.i1 + IL_0026: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0032: ldc.i4.5 + IL_0033: mul + IL_0034: conv.i1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0042: dup + IL_0043: ldind.i1 + IL_0044: ldc.i4.5 + IL_0045: mul + IL_0046: conv.i1 + IL_0047: stind.i1 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0050: ldc.i4.5 + IL_0051: mul + IL_0052: conv.i1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0064: ldc.i4.5 + IL_0065: mul + IL_0066: conv.i1 + IL_0067: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0077: ldc.i4.5 + IL_0078: mul + IL_0079: conv.i1 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_008a: dup + IL_008b: ldind.i1 + IL_008c: ldc.i4.5 + IL_008d: mul + IL_008e: conv.i1 + IL_008f: stind.i1 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_009b: ldc.i4.5 + IL_009c: mul + IL_009d: conv.i1 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00af: ldc.i4.5 + IL_00b0: mul + IL_00b1: conv.i1 + IL_00b2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c2: ldc.i4.5 + IL_00c3: mul + IL_00c4: conv.i1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d6: ldc.i4.5 + IL_00d7: mul + IL_00d8: conv.i1 + IL_00d9: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e9: ldc.i4.5 + IL_00ea: mul + IL_00eb: conv.i1 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00fc: dup + IL_00fd: ldind.i1 + IL_00fe: ldc.i4.5 + IL_00ff: mul + IL_0100: conv.i1 + IL_0101: stind.i1 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_010d: ldc.i4.5 + IL_010e: mul + IL_010f: conv.i1 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0115: nop + IL_0116: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_011b: dup + IL_011c: ldind.i1 + IL_011d: ldc.i4.5 + IL_011e: mul + IL_011f: conv.i1 + IL_0120: stind.i1 + IL_0121: ret + } // end of method CompoundAssignmentTest::SbyteMultiplyTest + + .method public hidebysig static void SbyteDivideTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: ldc.i4.5 + IL_0007: div + IL_0008: conv.i1 + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0013: ldc.i4.5 + IL_0014: div + IL_0015: conv.i1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0023: ldc.i4.5 + IL_0024: div + IL_0025: conv.i1 + IL_0026: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0032: ldc.i4.5 + IL_0033: div + IL_0034: conv.i1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0042: dup + IL_0043: ldind.i1 + IL_0044: ldc.i4.5 + IL_0045: div + IL_0046: conv.i1 + IL_0047: stind.i1 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0050: ldc.i4.5 + IL_0051: div + IL_0052: conv.i1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0064: ldc.i4.5 + IL_0065: div + IL_0066: conv.i1 + IL_0067: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0077: ldc.i4.5 + IL_0078: div + IL_0079: conv.i1 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_008a: dup + IL_008b: ldind.i1 + IL_008c: ldc.i4.5 + IL_008d: div + IL_008e: conv.i1 + IL_008f: stind.i1 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_009b: ldc.i4.5 + IL_009c: div + IL_009d: conv.i1 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00af: ldc.i4.5 + IL_00b0: div + IL_00b1: conv.i1 + IL_00b2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c2: ldc.i4.5 + IL_00c3: div + IL_00c4: conv.i1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d6: ldc.i4.5 + IL_00d7: div + IL_00d8: conv.i1 + IL_00d9: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e9: ldc.i4.5 + IL_00ea: div + IL_00eb: conv.i1 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00fc: dup + IL_00fd: ldind.i1 + IL_00fe: ldc.i4.5 + IL_00ff: div + IL_0100: conv.i1 + IL_0101: stind.i1 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_010d: ldc.i4.5 + IL_010e: div + IL_010f: conv.i1 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0115: nop + IL_0116: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_011b: dup + IL_011c: ldind.i1 + IL_011d: ldc.i4.5 + IL_011e: div + IL_011f: conv.i1 + IL_0120: stind.i1 + IL_0121: ret + } // end of method CompoundAssignmentTest::SbyteDivideTest + + .method public hidebysig static void SbyteModulusTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: ldc.i4.5 + IL_0007: rem + IL_0008: conv.i1 + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0013: ldc.i4.5 + IL_0014: rem + IL_0015: conv.i1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0023: ldc.i4.5 + IL_0024: rem + IL_0025: conv.i1 + IL_0026: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0032: ldc.i4.5 + IL_0033: rem + IL_0034: conv.i1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0042: dup + IL_0043: ldind.i1 + IL_0044: ldc.i4.5 + IL_0045: rem + IL_0046: conv.i1 + IL_0047: stind.i1 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0050: ldc.i4.5 + IL_0051: rem + IL_0052: conv.i1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0064: ldc.i4.5 + IL_0065: rem + IL_0066: conv.i1 + IL_0067: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0077: ldc.i4.5 + IL_0078: rem + IL_0079: conv.i1 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_008a: dup + IL_008b: ldind.i1 + IL_008c: ldc.i4.5 + IL_008d: rem + IL_008e: conv.i1 + IL_008f: stind.i1 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_009b: ldc.i4.5 + IL_009c: rem + IL_009d: conv.i1 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00af: ldc.i4.5 + IL_00b0: rem + IL_00b1: conv.i1 + IL_00b2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c2: ldc.i4.5 + IL_00c3: rem + IL_00c4: conv.i1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d6: ldc.i4.5 + IL_00d7: rem + IL_00d8: conv.i1 + IL_00d9: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e9: ldc.i4.5 + IL_00ea: rem + IL_00eb: conv.i1 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00fc: dup + IL_00fd: ldind.i1 + IL_00fe: ldc.i4.5 + IL_00ff: rem + IL_0100: conv.i1 + IL_0101: stind.i1 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_010d: ldc.i4.5 + IL_010e: rem + IL_010f: conv.i1 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0115: nop + IL_0116: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_011b: dup + IL_011c: ldind.i1 + IL_011d: ldc.i4.5 + IL_011e: rem + IL_011f: conv.i1 + IL_0120: stind.i1 + IL_0121: ret + } // end of method CompoundAssignmentTest::SbyteModulusTest + + .method public hidebysig static void SbyteLeftShiftTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: ldc.i4.5 + IL_0007: shl + IL_0008: conv.i1 + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0013: ldc.i4.5 + IL_0014: shl + IL_0015: conv.i1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0023: ldc.i4.5 + IL_0024: shl + IL_0025: conv.i1 + IL_0026: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0032: ldc.i4.5 + IL_0033: shl + IL_0034: conv.i1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0042: dup + IL_0043: ldind.i1 + IL_0044: ldc.i4.5 + IL_0045: shl + IL_0046: conv.i1 + IL_0047: stind.i1 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0050: ldc.i4.5 + IL_0051: shl + IL_0052: conv.i1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0064: ldc.i4.5 + IL_0065: shl + IL_0066: conv.i1 + IL_0067: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0077: ldc.i4.5 + IL_0078: shl + IL_0079: conv.i1 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_008a: dup + IL_008b: ldind.i1 + IL_008c: ldc.i4.5 + IL_008d: shl + IL_008e: conv.i1 + IL_008f: stind.i1 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_009b: ldc.i4.5 + IL_009c: shl + IL_009d: conv.i1 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00af: ldc.i4.5 + IL_00b0: shl + IL_00b1: conv.i1 + IL_00b2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c2: ldc.i4.5 + IL_00c3: shl + IL_00c4: conv.i1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d6: ldc.i4.5 + IL_00d7: shl + IL_00d8: conv.i1 + IL_00d9: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e9: ldc.i4.5 + IL_00ea: shl + IL_00eb: conv.i1 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00fc: dup + IL_00fd: ldind.i1 + IL_00fe: ldc.i4.5 + IL_00ff: shl + IL_0100: conv.i1 + IL_0101: stind.i1 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_010d: ldc.i4.5 + IL_010e: shl + IL_010f: conv.i1 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0115: nop + IL_0116: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_011b: dup + IL_011c: ldind.i1 + IL_011d: ldc.i4.5 + IL_011e: shl + IL_011f: conv.i1 + IL_0120: stind.i1 + IL_0121: ret + } // end of method CompoundAssignmentTest::SbyteLeftShiftTest + + .method public hidebysig static void SbyteRightShiftTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: ldc.i4.5 + IL_0007: shr + IL_0008: conv.i1 + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0013: ldc.i4.5 + IL_0014: shr + IL_0015: conv.i1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0023: ldc.i4.5 + IL_0024: shr + IL_0025: conv.i1 + IL_0026: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0032: ldc.i4.5 + IL_0033: shr + IL_0034: conv.i1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0042: dup + IL_0043: ldind.i1 + IL_0044: ldc.i4.5 + IL_0045: shr + IL_0046: conv.i1 + IL_0047: stind.i1 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0050: ldc.i4.5 + IL_0051: shr + IL_0052: conv.i1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0064: ldc.i4.5 + IL_0065: shr + IL_0066: conv.i1 + IL_0067: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0077: ldc.i4.5 + IL_0078: shr + IL_0079: conv.i1 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_008a: dup + IL_008b: ldind.i1 + IL_008c: ldc.i4.5 + IL_008d: shr + IL_008e: conv.i1 + IL_008f: stind.i1 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_009b: ldc.i4.5 + IL_009c: shr + IL_009d: conv.i1 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00af: ldc.i4.5 + IL_00b0: shr + IL_00b1: conv.i1 + IL_00b2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c2: ldc.i4.5 + IL_00c3: shr + IL_00c4: conv.i1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d6: ldc.i4.5 + IL_00d7: shr + IL_00d8: conv.i1 + IL_00d9: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e9: ldc.i4.5 + IL_00ea: shr + IL_00eb: conv.i1 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00fc: dup + IL_00fd: ldind.i1 + IL_00fe: ldc.i4.5 + IL_00ff: shr + IL_0100: conv.i1 + IL_0101: stind.i1 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_010d: ldc.i4.5 + IL_010e: shr + IL_010f: conv.i1 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0115: nop + IL_0116: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_011b: dup + IL_011c: ldind.i1 + IL_011d: ldc.i4.5 + IL_011e: shr + IL_011f: conv.i1 + IL_0120: stind.i1 + IL_0121: ret + } // end of method CompoundAssignmentTest::SbyteRightShiftTest + + .method public hidebysig static void SbyteBitAndTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: ldc.i4.5 + IL_0007: and + IL_0008: conv.i1 + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0013: ldc.i4.5 + IL_0014: and + IL_0015: conv.i1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0023: ldc.i4.5 + IL_0024: and + IL_0025: conv.i1 + IL_0026: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0032: ldc.i4.5 + IL_0033: and + IL_0034: conv.i1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0042: dup + IL_0043: ldind.i1 + IL_0044: ldc.i4.5 + IL_0045: and + IL_0046: conv.i1 + IL_0047: stind.i1 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0050: ldc.i4.5 + IL_0051: and + IL_0052: conv.i1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0064: ldc.i4.5 + IL_0065: and + IL_0066: conv.i1 + IL_0067: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0077: ldc.i4.5 + IL_0078: and + IL_0079: conv.i1 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_008a: dup + IL_008b: ldind.i1 + IL_008c: ldc.i4.5 + IL_008d: and + IL_008e: conv.i1 + IL_008f: stind.i1 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_009b: ldc.i4.5 + IL_009c: and + IL_009d: conv.i1 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00af: ldc.i4.5 + IL_00b0: and + IL_00b1: conv.i1 + IL_00b2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c2: ldc.i4.5 + IL_00c3: and + IL_00c4: conv.i1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d6: ldc.i4.5 + IL_00d7: and + IL_00d8: conv.i1 + IL_00d9: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e9: ldc.i4.5 + IL_00ea: and + IL_00eb: conv.i1 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00fc: dup + IL_00fd: ldind.i1 + IL_00fe: ldc.i4.5 + IL_00ff: and + IL_0100: conv.i1 + IL_0101: stind.i1 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_010d: ldc.i4.5 + IL_010e: and + IL_010f: conv.i1 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0115: nop + IL_0116: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_011b: dup + IL_011c: ldind.i1 + IL_011d: ldc.i4.5 + IL_011e: and + IL_011f: conv.i1 + IL_0120: stind.i1 + IL_0121: ret + } // end of method CompoundAssignmentTest::SbyteBitAndTest + + .method public hidebysig static void SbyteBitOrTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: ldc.i4.5 + IL_0007: or + IL_0008: conv.i1 + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0013: ldc.i4.5 + IL_0014: or + IL_0015: conv.i1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0023: ldc.i4.5 + IL_0024: or + IL_0025: conv.i1 + IL_0026: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0032: ldc.i4.5 + IL_0033: or + IL_0034: conv.i1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0042: dup + IL_0043: ldind.i1 + IL_0044: ldc.i4.5 + IL_0045: or + IL_0046: conv.i1 + IL_0047: stind.i1 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0050: ldc.i4.5 + IL_0051: or + IL_0052: conv.i1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0064: ldc.i4.5 + IL_0065: or + IL_0066: conv.i1 + IL_0067: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0077: ldc.i4.5 + IL_0078: or + IL_0079: conv.i1 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_008a: dup + IL_008b: ldind.i1 + IL_008c: ldc.i4.5 + IL_008d: or + IL_008e: conv.i1 + IL_008f: stind.i1 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_009b: ldc.i4.5 + IL_009c: or + IL_009d: conv.i1 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00af: ldc.i4.5 + IL_00b0: or + IL_00b1: conv.i1 + IL_00b2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c2: ldc.i4.5 + IL_00c3: or + IL_00c4: conv.i1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d6: ldc.i4.5 + IL_00d7: or + IL_00d8: conv.i1 + IL_00d9: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e9: ldc.i4.5 + IL_00ea: or + IL_00eb: conv.i1 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00fc: dup + IL_00fd: ldind.i1 + IL_00fe: ldc.i4.5 + IL_00ff: or + IL_0100: conv.i1 + IL_0101: stind.i1 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_010d: ldc.i4.5 + IL_010e: or + IL_010f: conv.i1 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0115: nop + IL_0116: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_011b: dup + IL_011c: ldind.i1 + IL_011d: ldc.i4.5 + IL_011e: or + IL_011f: conv.i1 + IL_0120: stind.i1 + IL_0121: ret + } // end of method CompoundAssignmentTest::SbyteBitOrTest + + .method public hidebysig static void SbyteBitXorTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: ldc.i4.5 + IL_0007: xor + IL_0008: conv.i1 + IL_0009: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000e: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_0013: ldc.i4.5 + IL_0014: xor + IL_0015: conv.i1 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0023: ldc.i4.5 + IL_0024: xor + IL_0025: conv.i1 + IL_0026: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0032: ldc.i4.5 + IL_0033: xor + IL_0034: conv.i1 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0042: dup + IL_0043: ldind.i1 + IL_0044: ldc.i4.5 + IL_0045: xor + IL_0046: conv.i1 + IL_0047: stind.i1 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0050: ldc.i4.5 + IL_0051: xor + IL_0052: conv.i1 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0064: ldc.i4.5 + IL_0065: xor + IL_0066: conv.i1 + IL_0067: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0077: ldc.i4.5 + IL_0078: xor + IL_0079: conv.i1 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_008a: dup + IL_008b: ldind.i1 + IL_008c: ldc.i4.5 + IL_008d: xor + IL_008e: conv.i1 + IL_008f: stind.i1 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_009b: ldc.i4.5 + IL_009c: xor + IL_009d: conv.i1 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00af: ldc.i4.5 + IL_00b0: xor + IL_00b1: conv.i1 + IL_00b2: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00c2: ldc.i4.5 + IL_00c3: xor + IL_00c4: conv.i1 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00d6: ldc.i4.5 + IL_00d7: xor + IL_00d8: conv.i1 + IL_00d9: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00e9: ldc.i4.5 + IL_00ea: xor + IL_00eb: conv.i1 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00fc: dup + IL_00fd: ldind.i1 + IL_00fe: ldc.i4.5 + IL_00ff: xor + IL_0100: conv.i1 + IL_0101: stind.i1 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_010d: ldc.i4.5 + IL_010e: xor + IL_010f: conv.i1 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0115: nop + IL_0116: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_011b: dup + IL_011c: ldind.i1 + IL_011d: ldc.i4.5 + IL_011e: xor + IL_011f: conv.i1 + IL_0120: stind.i1 + IL_0121: ret + } // end of method CompoundAssignmentTest::SbyteBitXorTest - .method public hidebysig specialname static - void set_StaticProperty(int32 'value') cil managed + .method public hidebysig static void SbytePostIncTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' - IL_0006: ret - } // end of method CompoundAssignmentTest::set_StaticProperty + // Code size 439 (0x1b7) + .maxstack 3 + .locals init (int8 V_0) + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: conv.i1 + IL_000a: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_001a: dup + IL_001b: ldc.i4.1 + IL_001c: add + IL_001d: conv.i1 + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0031: stloc.0 + IL_0032: ldloc.0 + IL_0033: ldc.i4.1 + IL_0034: add + IL_0035: conv.i1 + IL_0036: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0049: stloc.0 + IL_004a: ldloc.0 + IL_004b: ldc.i4.1 + IL_004c: add + IL_004d: conv.i1 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0062: dup + IL_0063: ldind.i1 + IL_0064: stloc.0 + IL_0065: ldloc.0 + IL_0066: ldc.i4.1 + IL_0067: add + IL_0068: conv.i1 + IL_0069: stind.i1 + IL_006a: ldloc.0 + IL_006b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0070: nop + IL_0071: ldarga.s s + IL_0073: dup + IL_0074: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0079: stloc.0 + IL_007a: ldloc.0 + IL_007b: ldc.i4.1 + IL_007c: add + IL_007d: conv.i1 + IL_007e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008a: nop + IL_008b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0090: dup + IL_0091: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0096: stloc.0 + IL_0097: ldloc.0 + IL_0098: ldc.i4.1 + IL_0099: add + IL_009a: conv.i1 + IL_009b: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00a0: ldloc.0 + IL_00a1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a6: nop + IL_00a7: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ac: dup + IL_00ad: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00b2: stloc.0 + IL_00b3: ldloc.0 + IL_00b4: ldc.i4.1 + IL_00b5: add + IL_00b6: conv.i1 + IL_00b7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c3: nop + IL_00c4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c9: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00ce: dup + IL_00cf: ldind.i1 + IL_00d0: stloc.0 + IL_00d1: ldloc.0 + IL_00d2: ldc.i4.1 + IL_00d3: add + IL_00d4: conv.i1 + IL_00d5: stind.i1 + IL_00d6: ldloc.0 + IL_00d7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00dc: nop + IL_00dd: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e2: dup + IL_00e3: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00e8: stloc.0 + IL_00e9: ldloc.0 + IL_00ea: ldc.i4.1 + IL_00eb: add + IL_00ec: conv.i1 + IL_00ed: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00f2: nop + IL_00f3: ldloc.0 + IL_00f4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f9: nop + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0105: stloc.0 + IL_0106: ldloc.0 + IL_0107: ldc.i4.1 + IL_0108: add + IL_0109: conv.i1 + IL_010a: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_010f: ldloc.0 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: nop + IL_0116: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011b: dup + IL_011c: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0121: stloc.0 + IL_0122: ldloc.0 + IL_0123: ldc.i4.1 + IL_0124: add + IL_0125: conv.i1 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: nop + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0138: dup + IL_0139: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_013e: stloc.0 + IL_013f: ldloc.0 + IL_0140: ldc.i4.1 + IL_0141: add + IL_0142: conv.i1 + IL_0143: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0148: ldloc.0 + IL_0149: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014e: nop + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_015a: stloc.0 + IL_015b: ldloc.0 + IL_015c: ldc.i4.1 + IL_015d: add + IL_015e: conv.i1 + IL_015f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016b: nop + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0171: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0176: dup + IL_0177: ldind.i1 + IL_0178: stloc.0 + IL_0179: ldloc.0 + IL_017a: ldc.i4.1 + IL_017b: add + IL_017c: conv.i1 + IL_017d: stind.i1 + IL_017e: ldloc.0 + IL_017f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0184: nop + IL_0185: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018a: dup + IL_018b: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0190: stloc.0 + IL_0191: ldloc.0 + IL_0192: ldc.i4.1 + IL_0193: add + IL_0194: conv.i1 + IL_0195: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_019a: nop + IL_019b: ldloc.0 + IL_019c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a1: nop + IL_01a2: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_01a7: dup + IL_01a8: ldind.i1 + IL_01a9: stloc.0 + IL_01aa: ldloc.0 + IL_01ab: ldc.i4.1 + IL_01ac: add + IL_01ad: conv.i1 + IL_01ae: stind.i1 + IL_01af: ldloc.0 + IL_01b0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01b5: nop + IL_01b6: ret + } // end of method CompoundAssignmentTest::SbytePostIncTest - .method public hidebysig specialname static - valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum - get_StaticShortProperty() cil managed + .method public hidebysig static void SbytePreIncTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - // Code size 6 (0x6) - .maxstack 8 - IL_0000: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' - IL_0005: ret - } // end of method CompoundAssignmentTest::get_StaticShortProperty + // Code size 439 (0x1b7) + .maxstack 3 + .locals init (int8 V_0) + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.i1 + IL_0009: dup + IL_000a: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_001a: ldc.i4.1 + IL_001b: add + IL_001c: conv.i1 + IL_001d: dup + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0031: ldc.i4.1 + IL_0032: add + IL_0033: conv.i1 + IL_0034: stloc.0 + IL_0035: ldloc.0 + IL_0036: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0049: ldc.i4.1 + IL_004a: add + IL_004b: conv.i1 + IL_004c: stloc.0 + IL_004d: ldloc.0 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0062: dup + IL_0063: ldind.i1 + IL_0064: ldc.i4.1 + IL_0065: add + IL_0066: conv.i1 + IL_0067: stloc.0 + IL_0068: ldloc.0 + IL_0069: stind.i1 + IL_006a: ldloc.0 + IL_006b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0070: nop + IL_0071: ldarga.s s + IL_0073: dup + IL_0074: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0079: ldc.i4.1 + IL_007a: add + IL_007b: conv.i1 + IL_007c: stloc.0 + IL_007d: ldloc.0 + IL_007e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008a: nop + IL_008b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0090: dup + IL_0091: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0096: ldc.i4.1 + IL_0097: add + IL_0098: conv.i1 + IL_0099: stloc.0 + IL_009a: ldloc.0 + IL_009b: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00a0: ldloc.0 + IL_00a1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a6: nop + IL_00a7: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ac: dup + IL_00ad: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00b2: ldc.i4.1 + IL_00b3: add + IL_00b4: conv.i1 + IL_00b5: stloc.0 + IL_00b6: ldloc.0 + IL_00b7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c3: nop + IL_00c4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c9: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00ce: dup + IL_00cf: ldind.i1 + IL_00d0: ldc.i4.1 + IL_00d1: add + IL_00d2: conv.i1 + IL_00d3: stloc.0 + IL_00d4: ldloc.0 + IL_00d5: stind.i1 + IL_00d6: ldloc.0 + IL_00d7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00dc: nop + IL_00dd: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e2: dup + IL_00e3: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00e8: ldc.i4.1 + IL_00e9: add + IL_00ea: conv.i1 + IL_00eb: stloc.0 + IL_00ec: ldloc.0 + IL_00ed: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00f2: nop + IL_00f3: ldloc.0 + IL_00f4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f9: nop + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0105: ldc.i4.1 + IL_0106: add + IL_0107: conv.i1 + IL_0108: stloc.0 + IL_0109: ldloc.0 + IL_010a: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_010f: ldloc.0 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: nop + IL_0116: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011b: dup + IL_011c: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0121: ldc.i4.1 + IL_0122: add + IL_0123: conv.i1 + IL_0124: stloc.0 + IL_0125: ldloc.0 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: nop + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0138: dup + IL_0139: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_013e: ldc.i4.1 + IL_013f: add + IL_0140: conv.i1 + IL_0141: stloc.0 + IL_0142: ldloc.0 + IL_0143: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0148: ldloc.0 + IL_0149: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014e: nop + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_015a: ldc.i4.1 + IL_015b: add + IL_015c: conv.i1 + IL_015d: stloc.0 + IL_015e: ldloc.0 + IL_015f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016b: nop + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0171: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0176: dup + IL_0177: ldind.i1 + IL_0178: ldc.i4.1 + IL_0179: add + IL_017a: conv.i1 + IL_017b: stloc.0 + IL_017c: ldloc.0 + IL_017d: stind.i1 + IL_017e: ldloc.0 + IL_017f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0184: nop + IL_0185: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018a: dup + IL_018b: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0190: ldc.i4.1 + IL_0191: add + IL_0192: conv.i1 + IL_0193: stloc.0 + IL_0194: ldloc.0 + IL_0195: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_019a: nop + IL_019b: ldloc.0 + IL_019c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a1: nop + IL_01a2: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_01a7: dup + IL_01a8: ldind.i1 + IL_01a9: ldc.i4.1 + IL_01aa: add + IL_01ab: conv.i1 + IL_01ac: stloc.0 + IL_01ad: ldloc.0 + IL_01ae: stind.i1 + IL_01af: ldloc.0 + IL_01b0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01b5: nop + IL_01b6: ret + } // end of method CompoundAssignmentTest::SbytePreIncTest - .method public hidebysig specialname static - void set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum 'value') cil managed + .method public hidebysig static void SbytePostDecTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::'k__BackingField' - IL_0006: ret - } // end of method CompoundAssignmentTest::set_StaticShortProperty + // Code size 439 (0x1b7) + .maxstack 3 + .locals init (int8 V_0) + IL_0000: nop + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: sub + IL_0009: conv.i1 + IL_000a: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_001a: dup + IL_001b: ldc.i4.1 + IL_001c: sub + IL_001d: conv.i1 + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0031: stloc.0 + IL_0032: ldloc.0 + IL_0033: ldc.i4.1 + IL_0034: sub + IL_0035: conv.i1 + IL_0036: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0049: stloc.0 + IL_004a: ldloc.0 + IL_004b: ldc.i4.1 + IL_004c: sub + IL_004d: conv.i1 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0062: dup + IL_0063: ldind.i1 + IL_0064: stloc.0 + IL_0065: ldloc.0 + IL_0066: ldc.i4.1 + IL_0067: sub + IL_0068: conv.i1 + IL_0069: stind.i1 + IL_006a: ldloc.0 + IL_006b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0070: nop + IL_0071: ldarga.s s + IL_0073: dup + IL_0074: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0079: stloc.0 + IL_007a: ldloc.0 + IL_007b: ldc.i4.1 + IL_007c: sub + IL_007d: conv.i1 + IL_007e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008a: nop + IL_008b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0090: dup + IL_0091: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0096: stloc.0 + IL_0097: ldloc.0 + IL_0098: ldc.i4.1 + IL_0099: sub + IL_009a: conv.i1 + IL_009b: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00a0: ldloc.0 + IL_00a1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a6: nop + IL_00a7: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ac: dup + IL_00ad: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00b2: stloc.0 + IL_00b3: ldloc.0 + IL_00b4: ldc.i4.1 + IL_00b5: sub + IL_00b6: conv.i1 + IL_00b7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c3: nop + IL_00c4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c9: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00ce: dup + IL_00cf: ldind.i1 + IL_00d0: stloc.0 + IL_00d1: ldloc.0 + IL_00d2: ldc.i4.1 + IL_00d3: sub + IL_00d4: conv.i1 + IL_00d5: stind.i1 + IL_00d6: ldloc.0 + IL_00d7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00dc: nop + IL_00dd: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e2: dup + IL_00e3: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00e8: stloc.0 + IL_00e9: ldloc.0 + IL_00ea: ldc.i4.1 + IL_00eb: sub + IL_00ec: conv.i1 + IL_00ed: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00f2: nop + IL_00f3: ldloc.0 + IL_00f4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f9: nop + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0105: stloc.0 + IL_0106: ldloc.0 + IL_0107: ldc.i4.1 + IL_0108: sub + IL_0109: conv.i1 + IL_010a: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_010f: ldloc.0 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: nop + IL_0116: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011b: dup + IL_011c: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0121: stloc.0 + IL_0122: ldloc.0 + IL_0123: ldc.i4.1 + IL_0124: sub + IL_0125: conv.i1 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: nop + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0138: dup + IL_0139: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_013e: stloc.0 + IL_013f: ldloc.0 + IL_0140: ldc.i4.1 + IL_0141: sub + IL_0142: conv.i1 + IL_0143: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0148: ldloc.0 + IL_0149: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014e: nop + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_015a: stloc.0 + IL_015b: ldloc.0 + IL_015c: ldc.i4.1 + IL_015d: sub + IL_015e: conv.i1 + IL_015f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016b: nop + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0171: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0176: dup + IL_0177: ldind.i1 + IL_0178: stloc.0 + IL_0179: ldloc.0 + IL_017a: ldc.i4.1 + IL_017b: sub + IL_017c: conv.i1 + IL_017d: stind.i1 + IL_017e: ldloc.0 + IL_017f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0184: nop + IL_0185: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018a: dup + IL_018b: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0190: stloc.0 + IL_0191: ldloc.0 + IL_0192: ldc.i4.1 + IL_0193: sub + IL_0194: conv.i1 + IL_0195: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_019a: nop + IL_019b: ldloc.0 + IL_019c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a1: nop + IL_01a2: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_01a7: dup + IL_01a8: ldind.i1 + IL_01a9: stloc.0 + IL_01aa: ldloc.0 + IL_01ab: ldc.i4.1 + IL_01ac: sub + IL_01ad: conv.i1 + IL_01ae: stind.i1 + IL_01af: ldloc.0 + IL_01b0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01b5: nop + IL_01b6: ret + } // end of method CompoundAssignmentTest::SbytePostDecTest - .method private hidebysig instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass - M() cil managed + .method public hidebysig static void SbytePreDecTest(int8 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 11 (0xb) - .maxstack 1 - .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass V_0) + // Code size 439 (0x1b7) + .maxstack 3 + .locals init (int8 V_0) IL_0000: nop - IL_0001: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::.ctor() - IL_0006: stloc.0 - IL_0007: br.s IL_0009 + IL_0001: ldsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_0006: ldc.i4.1 + IL_0007: sub + IL_0008: conv.i1 + IL_0009: dup + IL_000a: stsfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::sbyteField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + IL_001a: ldc.i4.1 + IL_001b: sub + IL_001c: conv.i1 + IL_001d: dup + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0031: ldc.i4.1 + IL_0032: sub + IL_0033: conv.i1 + IL_0034: stloc.0 + IL_0035: ldloc.0 + IL_0036: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0049: ldc.i4.1 + IL_004a: sub + IL_004b: conv.i1 + IL_004c: stloc.0 + IL_004d: ldloc.0 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0062: dup + IL_0063: ldind.i1 + IL_0064: ldc.i4.1 + IL_0065: sub + IL_0066: conv.i1 + IL_0067: stloc.0 + IL_0068: ldloc.0 + IL_0069: stind.i1 + IL_006a: ldloc.0 + IL_006b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0070: nop + IL_0071: ldarga.s s + IL_0073: dup + IL_0074: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0079: ldc.i4.1 + IL_007a: sub + IL_007b: conv.i1 + IL_007c: stloc.0 + IL_007d: ldloc.0 + IL_007e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008a: nop + IL_008b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0090: dup + IL_0091: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0096: ldc.i4.1 + IL_0097: sub + IL_0098: conv.i1 + IL_0099: stloc.0 + IL_009a: ldloc.0 + IL_009b: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_00a0: ldloc.0 + IL_00a1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a6: nop + IL_00a7: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ac: dup + IL_00ad: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_00b2: ldc.i4.1 + IL_00b3: sub + IL_00b4: conv.i1 + IL_00b5: stloc.0 + IL_00b6: ldloc.0 + IL_00b7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c3: nop + IL_00c4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c9: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_00ce: dup + IL_00cf: ldind.i1 + IL_00d0: ldc.i4.1 + IL_00d1: sub + IL_00d2: conv.i1 + IL_00d3: stloc.0 + IL_00d4: ldloc.0 + IL_00d5: stind.i1 + IL_00d6: ldloc.0 + IL_00d7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00dc: nop + IL_00dd: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e2: dup + IL_00e3: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_00e8: ldc.i4.1 + IL_00e9: sub + IL_00ea: conv.i1 + IL_00eb: stloc.0 + IL_00ec: ldloc.0 + IL_00ed: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_00f2: nop + IL_00f3: ldloc.0 + IL_00f4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f9: nop + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0105: ldc.i4.1 + IL_0106: sub + IL_0107: conv.i1 + IL_0108: stloc.0 + IL_0109: ldloc.0 + IL_010a: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_010f: ldloc.0 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: nop + IL_0116: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011b: dup + IL_011c: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_0121: ldc.i4.1 + IL_0122: sub + IL_0123: conv.i1 + IL_0124: stloc.0 + IL_0125: ldloc.0 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: nop + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0138: dup + IL_0139: ldfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_013e: ldc.i4.1 + IL_013f: sub + IL_0140: conv.i1 + IL_0141: stloc.0 + IL_0142: ldloc.0 + IL_0143: stfld int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::SbyteField + IL_0148: ldloc.0 + IL_0149: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014e: nop + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_SbyteProp() + IL_015a: ldc.i4.1 + IL_015b: sub + IL_015c: conv.i1 + IL_015d: stloc.0 + IL_015e: ldloc.0 + IL_015f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_SbyteProp(int8) + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016b: nop + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0171: ldflda int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::SbyteField + IL_0176: dup + IL_0177: ldind.i1 + IL_0178: ldc.i4.1 + IL_0179: sub + IL_017a: conv.i1 + IL_017b: stloc.0 + IL_017c: ldloc.0 + IL_017d: stind.i1 + IL_017e: ldloc.0 + IL_017f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0184: nop + IL_0185: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018a: dup + IL_018b: call instance int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_SbyteProp() + IL_0190: ldc.i4.1 + IL_0191: sub + IL_0192: conv.i1 + IL_0193: stloc.0 + IL_0194: ldloc.0 + IL_0195: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_SbyteProp(int8) + IL_019a: nop + IL_019b: ldloc.0 + IL_019c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a1: nop + IL_01a2: call int8& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefSbyte() + IL_01a7: dup + IL_01a8: ldind.i1 + IL_01a9: ldc.i4.1 + IL_01aa: sub + IL_01ab: conv.i1 + IL_01ac: stloc.0 + IL_01ad: ldloc.0 + IL_01ae: stind.i1 + IL_01af: ldloc.0 + IL_01b0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01b5: nop + IL_01b6: ret + } // end of method CompoundAssignmentTest::SbytePreDecTest - IL_0009: ldloc.0 - IL_000a: ret - } // end of method CompoundAssignmentTest::M + .method public hidebysig static void ShortAddTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: ldc.i4.5 + IL_0007: add + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0013: ldc.i4.5 + IL_0014: add + IL_0015: conv.i2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0023: ldc.i4.5 + IL_0024: add + IL_0025: conv.i2 + IL_0026: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0032: ldc.i4.5 + IL_0033: add + IL_0034: conv.i2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0042: dup + IL_0043: ldind.i2 + IL_0044: ldc.i4.5 + IL_0045: add + IL_0046: conv.i2 + IL_0047: stind.i2 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0050: ldc.i4.5 + IL_0051: add + IL_0052: conv.i2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0064: ldc.i4.5 + IL_0065: add + IL_0066: conv.i2 + IL_0067: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0077: ldc.i4.5 + IL_0078: add + IL_0079: conv.i2 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_008a: dup + IL_008b: ldind.i2 + IL_008c: ldc.i4.5 + IL_008d: add + IL_008e: conv.i2 + IL_008f: stind.i2 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_009b: ldc.i4.5 + IL_009c: add + IL_009d: conv.i2 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00af: ldc.i4.5 + IL_00b0: add + IL_00b1: conv.i2 + IL_00b2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c2: ldc.i4.5 + IL_00c3: add + IL_00c4: conv.i2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d6: ldc.i4.5 + IL_00d7: add + IL_00d8: conv.i2 + IL_00d9: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e9: ldc.i4.5 + IL_00ea: add + IL_00eb: conv.i2 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00fc: dup + IL_00fd: ldind.i2 + IL_00fe: ldc.i4.5 + IL_00ff: add + IL_0100: conv.i2 + IL_0101: stind.i2 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_010d: ldc.i4.5 + IL_010e: add + IL_010f: conv.i2 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0115: nop + IL_0116: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_011b: dup + IL_011c: ldind.i2 + IL_011d: ldc.i4.5 + IL_011e: add + IL_011f: conv.i2 + IL_0120: stind.i2 + IL_0121: ret + } // end of method CompoundAssignmentTest::ShortAddTest - .method private hidebysig instance int32[0...,0...] - Array() cil managed + .method public hidebysig static void ShortSubtractTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 7 (0x7) - .maxstack 1 - .locals init (int32[0...,0...] V_0) + // Code size 290 (0x122) + .maxstack 3 IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: br.s IL_0005 + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: ldc.i4.5 + IL_0007: sub + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0013: ldc.i4.5 + IL_0014: sub + IL_0015: conv.i2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0023: ldc.i4.5 + IL_0024: sub + IL_0025: conv.i2 + IL_0026: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0032: ldc.i4.5 + IL_0033: sub + IL_0034: conv.i2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0042: dup + IL_0043: ldind.i2 + IL_0044: ldc.i4.5 + IL_0045: sub + IL_0046: conv.i2 + IL_0047: stind.i2 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0050: ldc.i4.5 + IL_0051: sub + IL_0052: conv.i2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0064: ldc.i4.5 + IL_0065: sub + IL_0066: conv.i2 + IL_0067: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0077: ldc.i4.5 + IL_0078: sub + IL_0079: conv.i2 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_008a: dup + IL_008b: ldind.i2 + IL_008c: ldc.i4.5 + IL_008d: sub + IL_008e: conv.i2 + IL_008f: stind.i2 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_009b: ldc.i4.5 + IL_009c: sub + IL_009d: conv.i2 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00af: ldc.i4.5 + IL_00b0: sub + IL_00b1: conv.i2 + IL_00b2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c2: ldc.i4.5 + IL_00c3: sub + IL_00c4: conv.i2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d6: ldc.i4.5 + IL_00d7: sub + IL_00d8: conv.i2 + IL_00d9: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e9: ldc.i4.5 + IL_00ea: sub + IL_00eb: conv.i2 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00fc: dup + IL_00fd: ldind.i2 + IL_00fe: ldc.i4.5 + IL_00ff: sub + IL_0100: conv.i2 + IL_0101: stind.i2 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_010d: ldc.i4.5 + IL_010e: sub + IL_010f: conv.i2 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0115: nop + IL_0116: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_011b: dup + IL_011c: ldind.i2 + IL_011d: ldc.i4.5 + IL_011e: sub + IL_011f: conv.i2 + IL_0120: stind.i2 + IL_0121: ret + } // end of method CompoundAssignmentTest::ShortSubtractTest - IL_0005: ldloc.0 - IL_0006: ret - } // end of method CompoundAssignmentTest::Array + .method public hidebysig static void ShortMultiplyTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: ldc.i4.5 + IL_0007: mul + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0013: ldc.i4.5 + IL_0014: mul + IL_0015: conv.i2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0023: ldc.i4.5 + IL_0024: mul + IL_0025: conv.i2 + IL_0026: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0032: ldc.i4.5 + IL_0033: mul + IL_0034: conv.i2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0042: dup + IL_0043: ldind.i2 + IL_0044: ldc.i4.5 + IL_0045: mul + IL_0046: conv.i2 + IL_0047: stind.i2 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0050: ldc.i4.5 + IL_0051: mul + IL_0052: conv.i2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0064: ldc.i4.5 + IL_0065: mul + IL_0066: conv.i2 + IL_0067: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0077: ldc.i4.5 + IL_0078: mul + IL_0079: conv.i2 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_008a: dup + IL_008b: ldind.i2 + IL_008c: ldc.i4.5 + IL_008d: mul + IL_008e: conv.i2 + IL_008f: stind.i2 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_009b: ldc.i4.5 + IL_009c: mul + IL_009d: conv.i2 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00af: ldc.i4.5 + IL_00b0: mul + IL_00b1: conv.i2 + IL_00b2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c2: ldc.i4.5 + IL_00c3: mul + IL_00c4: conv.i2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d6: ldc.i4.5 + IL_00d7: mul + IL_00d8: conv.i2 + IL_00d9: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e9: ldc.i4.5 + IL_00ea: mul + IL_00eb: conv.i2 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00fc: dup + IL_00fd: ldind.i2 + IL_00fe: ldc.i4.5 + IL_00ff: mul + IL_0100: conv.i2 + IL_0101: stind.i2 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_010d: ldc.i4.5 + IL_010e: mul + IL_010f: conv.i2 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0115: nop + IL_0116: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_011b: dup + IL_011c: ldind.i2 + IL_011d: ldc.i4.5 + IL_011e: mul + IL_011f: conv.i2 + IL_0120: stind.i2 + IL_0121: ret + } // end of method CompoundAssignmentTest::ShortMultiplyTest + + .method public hidebysig static void ShortDivideTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: ldc.i4.5 + IL_0007: div + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0013: ldc.i4.5 + IL_0014: div + IL_0015: conv.i2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0023: ldc.i4.5 + IL_0024: div + IL_0025: conv.i2 + IL_0026: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0032: ldc.i4.5 + IL_0033: div + IL_0034: conv.i2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0042: dup + IL_0043: ldind.i2 + IL_0044: ldc.i4.5 + IL_0045: div + IL_0046: conv.i2 + IL_0047: stind.i2 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0050: ldc.i4.5 + IL_0051: div + IL_0052: conv.i2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0064: ldc.i4.5 + IL_0065: div + IL_0066: conv.i2 + IL_0067: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0077: ldc.i4.5 + IL_0078: div + IL_0079: conv.i2 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_008a: dup + IL_008b: ldind.i2 + IL_008c: ldc.i4.5 + IL_008d: div + IL_008e: conv.i2 + IL_008f: stind.i2 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_009b: ldc.i4.5 + IL_009c: div + IL_009d: conv.i2 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00af: ldc.i4.5 + IL_00b0: div + IL_00b1: conv.i2 + IL_00b2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c2: ldc.i4.5 + IL_00c3: div + IL_00c4: conv.i2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d6: ldc.i4.5 + IL_00d7: div + IL_00d8: conv.i2 + IL_00d9: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e9: ldc.i4.5 + IL_00ea: div + IL_00eb: conv.i2 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00fc: dup + IL_00fd: ldind.i2 + IL_00fe: ldc.i4.5 + IL_00ff: div + IL_0100: conv.i2 + IL_0101: stind.i2 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_010d: ldc.i4.5 + IL_010e: div + IL_010f: conv.i2 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0115: nop + IL_0116: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_011b: dup + IL_011c: ldind.i2 + IL_011d: ldc.i4.5 + IL_011e: div + IL_011f: conv.i2 + IL_0120: stind.i2 + IL_0121: ret + } // end of method CompoundAssignmentTest::ShortDivideTest + + .method public hidebysig static void ShortModulusTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: ldc.i4.5 + IL_0007: rem + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0013: ldc.i4.5 + IL_0014: rem + IL_0015: conv.i2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0023: ldc.i4.5 + IL_0024: rem + IL_0025: conv.i2 + IL_0026: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0032: ldc.i4.5 + IL_0033: rem + IL_0034: conv.i2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0042: dup + IL_0043: ldind.i2 + IL_0044: ldc.i4.5 + IL_0045: rem + IL_0046: conv.i2 + IL_0047: stind.i2 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0050: ldc.i4.5 + IL_0051: rem + IL_0052: conv.i2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0064: ldc.i4.5 + IL_0065: rem + IL_0066: conv.i2 + IL_0067: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0077: ldc.i4.5 + IL_0078: rem + IL_0079: conv.i2 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_008a: dup + IL_008b: ldind.i2 + IL_008c: ldc.i4.5 + IL_008d: rem + IL_008e: conv.i2 + IL_008f: stind.i2 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_009b: ldc.i4.5 + IL_009c: rem + IL_009d: conv.i2 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00af: ldc.i4.5 + IL_00b0: rem + IL_00b1: conv.i2 + IL_00b2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c2: ldc.i4.5 + IL_00c3: rem + IL_00c4: conv.i2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d6: ldc.i4.5 + IL_00d7: rem + IL_00d8: conv.i2 + IL_00d9: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e9: ldc.i4.5 + IL_00ea: rem + IL_00eb: conv.i2 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00fc: dup + IL_00fd: ldind.i2 + IL_00fe: ldc.i4.5 + IL_00ff: rem + IL_0100: conv.i2 + IL_0101: stind.i2 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_010d: ldc.i4.5 + IL_010e: rem + IL_010f: conv.i2 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0115: nop + IL_0116: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_011b: dup + IL_011c: ldind.i2 + IL_011d: ldc.i4.5 + IL_011e: rem + IL_011f: conv.i2 + IL_0120: stind.i2 + IL_0121: ret + } // end of method CompoundAssignmentTest::ShortModulusTest + + .method public hidebysig static void ShortLeftShiftTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: ldc.i4.5 + IL_0007: shl + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0013: ldc.i4.5 + IL_0014: shl + IL_0015: conv.i2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0023: ldc.i4.5 + IL_0024: shl + IL_0025: conv.i2 + IL_0026: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0032: ldc.i4.5 + IL_0033: shl + IL_0034: conv.i2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0042: dup + IL_0043: ldind.i2 + IL_0044: ldc.i4.5 + IL_0045: shl + IL_0046: conv.i2 + IL_0047: stind.i2 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0050: ldc.i4.5 + IL_0051: shl + IL_0052: conv.i2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0064: ldc.i4.5 + IL_0065: shl + IL_0066: conv.i2 + IL_0067: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0077: ldc.i4.5 + IL_0078: shl + IL_0079: conv.i2 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_008a: dup + IL_008b: ldind.i2 + IL_008c: ldc.i4.5 + IL_008d: shl + IL_008e: conv.i2 + IL_008f: stind.i2 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_009b: ldc.i4.5 + IL_009c: shl + IL_009d: conv.i2 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00af: ldc.i4.5 + IL_00b0: shl + IL_00b1: conv.i2 + IL_00b2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c2: ldc.i4.5 + IL_00c3: shl + IL_00c4: conv.i2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d6: ldc.i4.5 + IL_00d7: shl + IL_00d8: conv.i2 + IL_00d9: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e9: ldc.i4.5 + IL_00ea: shl + IL_00eb: conv.i2 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00fc: dup + IL_00fd: ldind.i2 + IL_00fe: ldc.i4.5 + IL_00ff: shl + IL_0100: conv.i2 + IL_0101: stind.i2 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_010d: ldc.i4.5 + IL_010e: shl + IL_010f: conv.i2 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0115: nop + IL_0116: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_011b: dup + IL_011c: ldind.i2 + IL_011d: ldc.i4.5 + IL_011e: shl + IL_011f: conv.i2 + IL_0120: stind.i2 + IL_0121: ret + } // end of method CompoundAssignmentTest::ShortLeftShiftTest + + .method public hidebysig static void ShortRightShiftTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: ldc.i4.5 + IL_0007: shr + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0013: ldc.i4.5 + IL_0014: shr + IL_0015: conv.i2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0023: ldc.i4.5 + IL_0024: shr + IL_0025: conv.i2 + IL_0026: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0032: ldc.i4.5 + IL_0033: shr + IL_0034: conv.i2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0042: dup + IL_0043: ldind.i2 + IL_0044: ldc.i4.5 + IL_0045: shr + IL_0046: conv.i2 + IL_0047: stind.i2 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0050: ldc.i4.5 + IL_0051: shr + IL_0052: conv.i2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0064: ldc.i4.5 + IL_0065: shr + IL_0066: conv.i2 + IL_0067: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0077: ldc.i4.5 + IL_0078: shr + IL_0079: conv.i2 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_008a: dup + IL_008b: ldind.i2 + IL_008c: ldc.i4.5 + IL_008d: shr + IL_008e: conv.i2 + IL_008f: stind.i2 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_009b: ldc.i4.5 + IL_009c: shr + IL_009d: conv.i2 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00af: ldc.i4.5 + IL_00b0: shr + IL_00b1: conv.i2 + IL_00b2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c2: ldc.i4.5 + IL_00c3: shr + IL_00c4: conv.i2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d6: ldc.i4.5 + IL_00d7: shr + IL_00d8: conv.i2 + IL_00d9: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e9: ldc.i4.5 + IL_00ea: shr + IL_00eb: conv.i2 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00fc: dup + IL_00fd: ldind.i2 + IL_00fe: ldc.i4.5 + IL_00ff: shr + IL_0100: conv.i2 + IL_0101: stind.i2 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_010d: ldc.i4.5 + IL_010e: shr + IL_010f: conv.i2 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0115: nop + IL_0116: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_011b: dup + IL_011c: ldind.i2 + IL_011d: ldc.i4.5 + IL_011e: shr + IL_011f: conv.i2 + IL_0120: stind.i2 + IL_0121: ret + } // end of method CompoundAssignmentTest::ShortRightShiftTest + + .method public hidebysig static void ShortBitAndTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: ldc.i4.5 + IL_0007: and + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0013: ldc.i4.5 + IL_0014: and + IL_0015: conv.i2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0023: ldc.i4.5 + IL_0024: and + IL_0025: conv.i2 + IL_0026: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0032: ldc.i4.5 + IL_0033: and + IL_0034: conv.i2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0042: dup + IL_0043: ldind.i2 + IL_0044: ldc.i4.5 + IL_0045: and + IL_0046: conv.i2 + IL_0047: stind.i2 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0050: ldc.i4.5 + IL_0051: and + IL_0052: conv.i2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0064: ldc.i4.5 + IL_0065: and + IL_0066: conv.i2 + IL_0067: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0077: ldc.i4.5 + IL_0078: and + IL_0079: conv.i2 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_008a: dup + IL_008b: ldind.i2 + IL_008c: ldc.i4.5 + IL_008d: and + IL_008e: conv.i2 + IL_008f: stind.i2 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_009b: ldc.i4.5 + IL_009c: and + IL_009d: conv.i2 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00af: ldc.i4.5 + IL_00b0: and + IL_00b1: conv.i2 + IL_00b2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c2: ldc.i4.5 + IL_00c3: and + IL_00c4: conv.i2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d6: ldc.i4.5 + IL_00d7: and + IL_00d8: conv.i2 + IL_00d9: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e9: ldc.i4.5 + IL_00ea: and + IL_00eb: conv.i2 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00fc: dup + IL_00fd: ldind.i2 + IL_00fe: ldc.i4.5 + IL_00ff: and + IL_0100: conv.i2 + IL_0101: stind.i2 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_010d: ldc.i4.5 + IL_010e: and + IL_010f: conv.i2 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0115: nop + IL_0116: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_011b: dup + IL_011c: ldind.i2 + IL_011d: ldc.i4.5 + IL_011e: and + IL_011f: conv.i2 + IL_0120: stind.i2 + IL_0121: ret + } // end of method CompoundAssignmentTest::ShortBitAndTest + + .method public hidebysig static void ShortBitOrTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: ldc.i4.5 + IL_0007: or + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0013: ldc.i4.5 + IL_0014: or + IL_0015: conv.i2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0023: ldc.i4.5 + IL_0024: or + IL_0025: conv.i2 + IL_0026: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0032: ldc.i4.5 + IL_0033: or + IL_0034: conv.i2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0042: dup + IL_0043: ldind.i2 + IL_0044: ldc.i4.5 + IL_0045: or + IL_0046: conv.i2 + IL_0047: stind.i2 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0050: ldc.i4.5 + IL_0051: or + IL_0052: conv.i2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0064: ldc.i4.5 + IL_0065: or + IL_0066: conv.i2 + IL_0067: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0077: ldc.i4.5 + IL_0078: or + IL_0079: conv.i2 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_008a: dup + IL_008b: ldind.i2 + IL_008c: ldc.i4.5 + IL_008d: or + IL_008e: conv.i2 + IL_008f: stind.i2 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_009b: ldc.i4.5 + IL_009c: or + IL_009d: conv.i2 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00af: ldc.i4.5 + IL_00b0: or + IL_00b1: conv.i2 + IL_00b2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c2: ldc.i4.5 + IL_00c3: or + IL_00c4: conv.i2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d6: ldc.i4.5 + IL_00d7: or + IL_00d8: conv.i2 + IL_00d9: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e9: ldc.i4.5 + IL_00ea: or + IL_00eb: conv.i2 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00fc: dup + IL_00fd: ldind.i2 + IL_00fe: ldc.i4.5 + IL_00ff: or + IL_0100: conv.i2 + IL_0101: stind.i2 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_010d: ldc.i4.5 + IL_010e: or + IL_010f: conv.i2 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0115: nop + IL_0116: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_011b: dup + IL_011c: ldind.i2 + IL_011d: ldc.i4.5 + IL_011e: or + IL_011f: conv.i2 + IL_0120: stind.i2 + IL_0121: ret + } // end of method CompoundAssignmentTest::ShortBitOrTest + + .method public hidebysig static void ShortBitXorTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: ldc.i4.5 + IL_0007: xor + IL_0008: conv.i2 + IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000e: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_0013: ldc.i4.5 + IL_0014: xor + IL_0015: conv.i2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0023: ldc.i4.5 + IL_0024: xor + IL_0025: conv.i2 + IL_0026: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0032: ldc.i4.5 + IL_0033: xor + IL_0034: conv.i2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0042: dup + IL_0043: ldind.i2 + IL_0044: ldc.i4.5 + IL_0045: xor + IL_0046: conv.i2 + IL_0047: stind.i2 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0050: ldc.i4.5 + IL_0051: xor + IL_0052: conv.i2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0064: ldc.i4.5 + IL_0065: xor + IL_0066: conv.i2 + IL_0067: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0077: ldc.i4.5 + IL_0078: xor + IL_0079: conv.i2 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_008a: dup + IL_008b: ldind.i2 + IL_008c: ldc.i4.5 + IL_008d: xor + IL_008e: conv.i2 + IL_008f: stind.i2 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_009b: ldc.i4.5 + IL_009c: xor + IL_009d: conv.i2 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00af: ldc.i4.5 + IL_00b0: xor + IL_00b1: conv.i2 + IL_00b2: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00c2: ldc.i4.5 + IL_00c3: xor + IL_00c4: conv.i2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00d6: ldc.i4.5 + IL_00d7: xor + IL_00d8: conv.i2 + IL_00d9: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00e9: ldc.i4.5 + IL_00ea: xor + IL_00eb: conv.i2 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00fc: dup + IL_00fd: ldind.i2 + IL_00fe: ldc.i4.5 + IL_00ff: xor + IL_0100: conv.i2 + IL_0101: stind.i2 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_010d: ldc.i4.5 + IL_010e: xor + IL_010f: conv.i2 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0115: nop + IL_0116: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_011b: dup + IL_011c: ldind.i2 + IL_011d: ldc.i4.5 + IL_011e: xor + IL_011f: conv.i2 + IL_0120: stind.i2 + IL_0121: ret + } // end of method CompoundAssignmentTest::ShortBitXorTest + + .method public hidebysig static void ShortPostIncTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 439 (0x1b7) + .maxstack 3 + .locals init (int16 V_0) + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: conv.i2 + IL_000a: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_001a: dup + IL_001b: ldc.i4.1 + IL_001c: add + IL_001d: conv.i2 + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0031: stloc.0 + IL_0032: ldloc.0 + IL_0033: ldc.i4.1 + IL_0034: add + IL_0035: conv.i2 + IL_0036: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0049: stloc.0 + IL_004a: ldloc.0 + IL_004b: ldc.i4.1 + IL_004c: add + IL_004d: conv.i2 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0062: dup + IL_0063: ldind.i2 + IL_0064: stloc.0 + IL_0065: ldloc.0 + IL_0066: ldc.i4.1 + IL_0067: add + IL_0068: conv.i2 + IL_0069: stind.i2 + IL_006a: ldloc.0 + IL_006b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0070: nop + IL_0071: ldarga.s s + IL_0073: dup + IL_0074: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0079: stloc.0 + IL_007a: ldloc.0 + IL_007b: ldc.i4.1 + IL_007c: add + IL_007d: conv.i2 + IL_007e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008a: nop + IL_008b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0090: dup + IL_0091: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0096: stloc.0 + IL_0097: ldloc.0 + IL_0098: ldc.i4.1 + IL_0099: add + IL_009a: conv.i2 + IL_009b: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00a0: ldloc.0 + IL_00a1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a6: nop + IL_00a7: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ac: dup + IL_00ad: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00b2: stloc.0 + IL_00b3: ldloc.0 + IL_00b4: ldc.i4.1 + IL_00b5: add + IL_00b6: conv.i2 + IL_00b7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c3: nop + IL_00c4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c9: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00ce: dup + IL_00cf: ldind.i2 + IL_00d0: stloc.0 + IL_00d1: ldloc.0 + IL_00d2: ldc.i4.1 + IL_00d3: add + IL_00d4: conv.i2 + IL_00d5: stind.i2 + IL_00d6: ldloc.0 + IL_00d7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00dc: nop + IL_00dd: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e2: dup + IL_00e3: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00e8: stloc.0 + IL_00e9: ldloc.0 + IL_00ea: ldc.i4.1 + IL_00eb: add + IL_00ec: conv.i2 + IL_00ed: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00f2: nop + IL_00f3: ldloc.0 + IL_00f4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f9: nop + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0105: stloc.0 + IL_0106: ldloc.0 + IL_0107: ldc.i4.1 + IL_0108: add + IL_0109: conv.i2 + IL_010a: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_010f: ldloc.0 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: nop + IL_0116: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011b: dup + IL_011c: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0121: stloc.0 + IL_0122: ldloc.0 + IL_0123: ldc.i4.1 + IL_0124: add + IL_0125: conv.i2 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: nop + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0138: dup + IL_0139: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_013e: stloc.0 + IL_013f: ldloc.0 + IL_0140: ldc.i4.1 + IL_0141: add + IL_0142: conv.i2 + IL_0143: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0148: ldloc.0 + IL_0149: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014e: nop + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_015a: stloc.0 + IL_015b: ldloc.0 + IL_015c: ldc.i4.1 + IL_015d: add + IL_015e: conv.i2 + IL_015f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016b: nop + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0171: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0176: dup + IL_0177: ldind.i2 + IL_0178: stloc.0 + IL_0179: ldloc.0 + IL_017a: ldc.i4.1 + IL_017b: add + IL_017c: conv.i2 + IL_017d: stind.i2 + IL_017e: ldloc.0 + IL_017f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0184: nop + IL_0185: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018a: dup + IL_018b: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0190: stloc.0 + IL_0191: ldloc.0 + IL_0192: ldc.i4.1 + IL_0193: add + IL_0194: conv.i2 + IL_0195: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_019a: nop + IL_019b: ldloc.0 + IL_019c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a1: nop + IL_01a2: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_01a7: dup + IL_01a8: ldind.i2 + IL_01a9: stloc.0 + IL_01aa: ldloc.0 + IL_01ab: ldc.i4.1 + IL_01ac: add + IL_01ad: conv.i2 + IL_01ae: stind.i2 + IL_01af: ldloc.0 + IL_01b0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01b5: nop + IL_01b6: ret + } // end of method CompoundAssignmentTest::ShortPostIncTest + + .method public hidebysig static void ShortPreIncTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 439 (0x1b7) + .maxstack 3 + .locals init (int16 V_0) + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.i2 + IL_0009: dup + IL_000a: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_001a: ldc.i4.1 + IL_001b: add + IL_001c: conv.i2 + IL_001d: dup + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0031: ldc.i4.1 + IL_0032: add + IL_0033: conv.i2 + IL_0034: stloc.0 + IL_0035: ldloc.0 + IL_0036: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0049: ldc.i4.1 + IL_004a: add + IL_004b: conv.i2 + IL_004c: stloc.0 + IL_004d: ldloc.0 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0062: dup + IL_0063: ldind.i2 + IL_0064: ldc.i4.1 + IL_0065: add + IL_0066: conv.i2 + IL_0067: stloc.0 + IL_0068: ldloc.0 + IL_0069: stind.i2 + IL_006a: ldloc.0 + IL_006b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0070: nop + IL_0071: ldarga.s s + IL_0073: dup + IL_0074: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0079: ldc.i4.1 + IL_007a: add + IL_007b: conv.i2 + IL_007c: stloc.0 + IL_007d: ldloc.0 + IL_007e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008a: nop + IL_008b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0090: dup + IL_0091: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0096: ldc.i4.1 + IL_0097: add + IL_0098: conv.i2 + IL_0099: stloc.0 + IL_009a: ldloc.0 + IL_009b: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00a0: ldloc.0 + IL_00a1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a6: nop + IL_00a7: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ac: dup + IL_00ad: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00b2: ldc.i4.1 + IL_00b3: add + IL_00b4: conv.i2 + IL_00b5: stloc.0 + IL_00b6: ldloc.0 + IL_00b7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c3: nop + IL_00c4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c9: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00ce: dup + IL_00cf: ldind.i2 + IL_00d0: ldc.i4.1 + IL_00d1: add + IL_00d2: conv.i2 + IL_00d3: stloc.0 + IL_00d4: ldloc.0 + IL_00d5: stind.i2 + IL_00d6: ldloc.0 + IL_00d7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00dc: nop + IL_00dd: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e2: dup + IL_00e3: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00e8: ldc.i4.1 + IL_00e9: add + IL_00ea: conv.i2 + IL_00eb: stloc.0 + IL_00ec: ldloc.0 + IL_00ed: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00f2: nop + IL_00f3: ldloc.0 + IL_00f4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f9: nop + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0105: ldc.i4.1 + IL_0106: add + IL_0107: conv.i2 + IL_0108: stloc.0 + IL_0109: ldloc.0 + IL_010a: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_010f: ldloc.0 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: nop + IL_0116: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011b: dup + IL_011c: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0121: ldc.i4.1 + IL_0122: add + IL_0123: conv.i2 + IL_0124: stloc.0 + IL_0125: ldloc.0 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: nop + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0138: dup + IL_0139: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_013e: ldc.i4.1 + IL_013f: add + IL_0140: conv.i2 + IL_0141: stloc.0 + IL_0142: ldloc.0 + IL_0143: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0148: ldloc.0 + IL_0149: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014e: nop + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_015a: ldc.i4.1 + IL_015b: add + IL_015c: conv.i2 + IL_015d: stloc.0 + IL_015e: ldloc.0 + IL_015f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016b: nop + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0171: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0176: dup + IL_0177: ldind.i2 + IL_0178: ldc.i4.1 + IL_0179: add + IL_017a: conv.i2 + IL_017b: stloc.0 + IL_017c: ldloc.0 + IL_017d: stind.i2 + IL_017e: ldloc.0 + IL_017f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0184: nop + IL_0185: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018a: dup + IL_018b: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0190: ldc.i4.1 + IL_0191: add + IL_0192: conv.i2 + IL_0193: stloc.0 + IL_0194: ldloc.0 + IL_0195: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_019a: nop + IL_019b: ldloc.0 + IL_019c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a1: nop + IL_01a2: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_01a7: dup + IL_01a8: ldind.i2 + IL_01a9: ldc.i4.1 + IL_01aa: add + IL_01ab: conv.i2 + IL_01ac: stloc.0 + IL_01ad: ldloc.0 + IL_01ae: stind.i2 + IL_01af: ldloc.0 + IL_01b0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01b5: nop + IL_01b6: ret + } // end of method CompoundAssignmentTest::ShortPreIncTest + + .method public hidebysig static void ShortPostDecTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 439 (0x1b7) + .maxstack 3 + .locals init (int16 V_0) + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: sub + IL_0009: conv.i2 + IL_000a: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_001a: dup + IL_001b: ldc.i4.1 + IL_001c: sub + IL_001d: conv.i2 + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0031: stloc.0 + IL_0032: ldloc.0 + IL_0033: ldc.i4.1 + IL_0034: sub + IL_0035: conv.i2 + IL_0036: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0049: stloc.0 + IL_004a: ldloc.0 + IL_004b: ldc.i4.1 + IL_004c: sub + IL_004d: conv.i2 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0062: dup + IL_0063: ldind.i2 + IL_0064: stloc.0 + IL_0065: ldloc.0 + IL_0066: ldc.i4.1 + IL_0067: sub + IL_0068: conv.i2 + IL_0069: stind.i2 + IL_006a: ldloc.0 + IL_006b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0070: nop + IL_0071: ldarga.s s + IL_0073: dup + IL_0074: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0079: stloc.0 + IL_007a: ldloc.0 + IL_007b: ldc.i4.1 + IL_007c: sub + IL_007d: conv.i2 + IL_007e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008a: nop + IL_008b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0090: dup + IL_0091: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0096: stloc.0 + IL_0097: ldloc.0 + IL_0098: ldc.i4.1 + IL_0099: sub + IL_009a: conv.i2 + IL_009b: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00a0: ldloc.0 + IL_00a1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a6: nop + IL_00a7: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ac: dup + IL_00ad: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00b2: stloc.0 + IL_00b3: ldloc.0 + IL_00b4: ldc.i4.1 + IL_00b5: sub + IL_00b6: conv.i2 + IL_00b7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c3: nop + IL_00c4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c9: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00ce: dup + IL_00cf: ldind.i2 + IL_00d0: stloc.0 + IL_00d1: ldloc.0 + IL_00d2: ldc.i4.1 + IL_00d3: sub + IL_00d4: conv.i2 + IL_00d5: stind.i2 + IL_00d6: ldloc.0 + IL_00d7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00dc: nop + IL_00dd: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e2: dup + IL_00e3: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00e8: stloc.0 + IL_00e9: ldloc.0 + IL_00ea: ldc.i4.1 + IL_00eb: sub + IL_00ec: conv.i2 + IL_00ed: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00f2: nop + IL_00f3: ldloc.0 + IL_00f4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f9: nop + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0105: stloc.0 + IL_0106: ldloc.0 + IL_0107: ldc.i4.1 + IL_0108: sub + IL_0109: conv.i2 + IL_010a: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_010f: ldloc.0 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: nop + IL_0116: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011b: dup + IL_011c: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0121: stloc.0 + IL_0122: ldloc.0 + IL_0123: ldc.i4.1 + IL_0124: sub + IL_0125: conv.i2 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: nop + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0138: dup + IL_0139: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_013e: stloc.0 + IL_013f: ldloc.0 + IL_0140: ldc.i4.1 + IL_0141: sub + IL_0142: conv.i2 + IL_0143: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0148: ldloc.0 + IL_0149: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014e: nop + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_015a: stloc.0 + IL_015b: ldloc.0 + IL_015c: ldc.i4.1 + IL_015d: sub + IL_015e: conv.i2 + IL_015f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016b: nop + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0171: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0176: dup + IL_0177: ldind.i2 + IL_0178: stloc.0 + IL_0179: ldloc.0 + IL_017a: ldc.i4.1 + IL_017b: sub + IL_017c: conv.i2 + IL_017d: stind.i2 + IL_017e: ldloc.0 + IL_017f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0184: nop + IL_0185: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018a: dup + IL_018b: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0190: stloc.0 + IL_0191: ldloc.0 + IL_0192: ldc.i4.1 + IL_0193: sub + IL_0194: conv.i2 + IL_0195: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_019a: nop + IL_019b: ldloc.0 + IL_019c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a1: nop + IL_01a2: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_01a7: dup + IL_01a8: ldind.i2 + IL_01a9: stloc.0 + IL_01aa: ldloc.0 + IL_01ab: ldc.i4.1 + IL_01ac: sub + IL_01ad: conv.i2 + IL_01ae: stind.i2 + IL_01af: ldloc.0 + IL_01b0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01b5: nop + IL_01b6: ret + } // end of method CompoundAssignmentTest::ShortPostDecTest + + .method public hidebysig static void ShortPreDecTest(int16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 439 (0x1b7) + .maxstack 3 + .locals init (int16 V_0) + IL_0000: nop + IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_0006: ldc.i4.1 + IL_0007: sub + IL_0008: conv.i2 + IL_0009: dup + IL_000a: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + IL_001a: ldc.i4.1 + IL_001b: sub + IL_001c: conv.i2 + IL_001d: dup + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0031: ldc.i4.1 + IL_0032: sub + IL_0033: conv.i2 + IL_0034: stloc.0 + IL_0035: ldloc.0 + IL_0036: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0049: ldc.i4.1 + IL_004a: sub + IL_004b: conv.i2 + IL_004c: stloc.0 + IL_004d: ldloc.0 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0062: dup + IL_0063: ldind.i2 + IL_0064: ldc.i4.1 + IL_0065: sub + IL_0066: conv.i2 + IL_0067: stloc.0 + IL_0068: ldloc.0 + IL_0069: stind.i2 + IL_006a: ldloc.0 + IL_006b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0070: nop + IL_0071: ldarga.s s + IL_0073: dup + IL_0074: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0079: ldc.i4.1 + IL_007a: sub + IL_007b: conv.i2 + IL_007c: stloc.0 + IL_007d: ldloc.0 + IL_007e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008a: nop + IL_008b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0090: dup + IL_0091: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0096: ldc.i4.1 + IL_0097: sub + IL_0098: conv.i2 + IL_0099: stloc.0 + IL_009a: ldloc.0 + IL_009b: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_00a0: ldloc.0 + IL_00a1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a6: nop + IL_00a7: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ac: dup + IL_00ad: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_00b2: ldc.i4.1 + IL_00b3: sub + IL_00b4: conv.i2 + IL_00b5: stloc.0 + IL_00b6: ldloc.0 + IL_00b7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c3: nop + IL_00c4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c9: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_00ce: dup + IL_00cf: ldind.i2 + IL_00d0: ldc.i4.1 + IL_00d1: sub + IL_00d2: conv.i2 + IL_00d3: stloc.0 + IL_00d4: ldloc.0 + IL_00d5: stind.i2 + IL_00d6: ldloc.0 + IL_00d7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00dc: nop + IL_00dd: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e2: dup + IL_00e3: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_00e8: ldc.i4.1 + IL_00e9: sub + IL_00ea: conv.i2 + IL_00eb: stloc.0 + IL_00ec: ldloc.0 + IL_00ed: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_00f2: nop + IL_00f3: ldloc.0 + IL_00f4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f9: nop + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0105: ldc.i4.1 + IL_0106: sub + IL_0107: conv.i2 + IL_0108: stloc.0 + IL_0109: ldloc.0 + IL_010a: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_010f: ldloc.0 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: nop + IL_0116: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011b: dup + IL_011c: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_0121: ldc.i4.1 + IL_0122: sub + IL_0123: conv.i2 + IL_0124: stloc.0 + IL_0125: ldloc.0 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: nop + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0138: dup + IL_0139: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_013e: ldc.i4.1 + IL_013f: sub + IL_0140: conv.i2 + IL_0141: stloc.0 + IL_0142: ldloc.0 + IL_0143: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::ShortField + IL_0148: ldloc.0 + IL_0149: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014e: nop + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_ShortProp() + IL_015a: ldc.i4.1 + IL_015b: sub + IL_015c: conv.i2 + IL_015d: stloc.0 + IL_015e: ldloc.0 + IL_015f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_ShortProp(int16) + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016b: nop + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0171: ldflda int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::ShortField + IL_0176: dup + IL_0177: ldind.i2 + IL_0178: ldc.i4.1 + IL_0179: sub + IL_017a: conv.i2 + IL_017b: stloc.0 + IL_017c: ldloc.0 + IL_017d: stind.i2 + IL_017e: ldloc.0 + IL_017f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0184: nop + IL_0185: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018a: dup + IL_018b: call instance int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_ShortProp() + IL_0190: ldc.i4.1 + IL_0191: sub + IL_0192: conv.i2 + IL_0193: stloc.0 + IL_0194: ldloc.0 + IL_0195: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_ShortProp(int16) + IL_019a: nop + IL_019b: ldloc.0 + IL_019c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a1: nop + IL_01a2: call int16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefShort() + IL_01a7: dup + IL_01a8: ldind.i2 + IL_01a9: ldc.i4.1 + IL_01aa: sub + IL_01ab: conv.i2 + IL_01ac: stloc.0 + IL_01ad: ldloc.0 + IL_01ae: stind.i2 + IL_01af: ldloc.0 + IL_01b0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01b5: nop + IL_01b6: ret + } // end of method CompoundAssignmentTest::ShortPreDecTest + + .method public hidebysig static void UshortAddTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: ldc.i4.5 + IL_0007: add + IL_0008: conv.u2 + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0013: ldc.i4.5 + IL_0014: add + IL_0015: conv.u2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0023: ldc.i4.5 + IL_0024: add + IL_0025: conv.u2 + IL_0026: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0032: ldc.i4.5 + IL_0033: add + IL_0034: conv.u2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0042: dup + IL_0043: ldind.u2 + IL_0044: ldc.i4.5 + IL_0045: add + IL_0046: conv.u2 + IL_0047: stind.i2 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0050: ldc.i4.5 + IL_0051: add + IL_0052: conv.u2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0064: ldc.i4.5 + IL_0065: add + IL_0066: conv.u2 + IL_0067: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0077: ldc.i4.5 + IL_0078: add + IL_0079: conv.u2 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_008a: dup + IL_008b: ldind.u2 + IL_008c: ldc.i4.5 + IL_008d: add + IL_008e: conv.u2 + IL_008f: stind.i2 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_009b: ldc.i4.5 + IL_009c: add + IL_009d: conv.u2 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00af: ldc.i4.5 + IL_00b0: add + IL_00b1: conv.u2 + IL_00b2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c2: ldc.i4.5 + IL_00c3: add + IL_00c4: conv.u2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d6: ldc.i4.5 + IL_00d7: add + IL_00d8: conv.u2 + IL_00d9: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e9: ldc.i4.5 + IL_00ea: add + IL_00eb: conv.u2 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00fc: dup + IL_00fd: ldind.u2 + IL_00fe: ldc.i4.5 + IL_00ff: add + IL_0100: conv.u2 + IL_0101: stind.i2 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_010d: ldc.i4.5 + IL_010e: add + IL_010f: conv.u2 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0115: nop + IL_0116: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_011b: dup + IL_011c: ldind.u2 + IL_011d: ldc.i4.5 + IL_011e: add + IL_011f: conv.u2 + IL_0120: stind.i2 + IL_0121: ret + } // end of method CompoundAssignmentTest::UshortAddTest + + .method public hidebysig static void UshortSubtractTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: ldc.i4.5 + IL_0007: sub + IL_0008: conv.u2 + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0013: ldc.i4.5 + IL_0014: sub + IL_0015: conv.u2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0023: ldc.i4.5 + IL_0024: sub + IL_0025: conv.u2 + IL_0026: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0032: ldc.i4.5 + IL_0033: sub + IL_0034: conv.u2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0042: dup + IL_0043: ldind.u2 + IL_0044: ldc.i4.5 + IL_0045: sub + IL_0046: conv.u2 + IL_0047: stind.i2 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0050: ldc.i4.5 + IL_0051: sub + IL_0052: conv.u2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0064: ldc.i4.5 + IL_0065: sub + IL_0066: conv.u2 + IL_0067: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0077: ldc.i4.5 + IL_0078: sub + IL_0079: conv.u2 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_008a: dup + IL_008b: ldind.u2 + IL_008c: ldc.i4.5 + IL_008d: sub + IL_008e: conv.u2 + IL_008f: stind.i2 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_009b: ldc.i4.5 + IL_009c: sub + IL_009d: conv.u2 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00af: ldc.i4.5 + IL_00b0: sub + IL_00b1: conv.u2 + IL_00b2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c2: ldc.i4.5 + IL_00c3: sub + IL_00c4: conv.u2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d6: ldc.i4.5 + IL_00d7: sub + IL_00d8: conv.u2 + IL_00d9: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e9: ldc.i4.5 + IL_00ea: sub + IL_00eb: conv.u2 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00fc: dup + IL_00fd: ldind.u2 + IL_00fe: ldc.i4.5 + IL_00ff: sub + IL_0100: conv.u2 + IL_0101: stind.i2 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_010d: ldc.i4.5 + IL_010e: sub + IL_010f: conv.u2 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0115: nop + IL_0116: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_011b: dup + IL_011c: ldind.u2 + IL_011d: ldc.i4.5 + IL_011e: sub + IL_011f: conv.u2 + IL_0120: stind.i2 + IL_0121: ret + } // end of method CompoundAssignmentTest::UshortSubtractTest + + .method public hidebysig static void UshortMultiplyTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: ldc.i4.5 + IL_0007: mul + IL_0008: conv.u2 + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0013: ldc.i4.5 + IL_0014: mul + IL_0015: conv.u2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0023: ldc.i4.5 + IL_0024: mul + IL_0025: conv.u2 + IL_0026: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0032: ldc.i4.5 + IL_0033: mul + IL_0034: conv.u2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0042: dup + IL_0043: ldind.u2 + IL_0044: ldc.i4.5 + IL_0045: mul + IL_0046: conv.u2 + IL_0047: stind.i2 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0050: ldc.i4.5 + IL_0051: mul + IL_0052: conv.u2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0064: ldc.i4.5 + IL_0065: mul + IL_0066: conv.u2 + IL_0067: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0077: ldc.i4.5 + IL_0078: mul + IL_0079: conv.u2 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_008a: dup + IL_008b: ldind.u2 + IL_008c: ldc.i4.5 + IL_008d: mul + IL_008e: conv.u2 + IL_008f: stind.i2 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_009b: ldc.i4.5 + IL_009c: mul + IL_009d: conv.u2 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00af: ldc.i4.5 + IL_00b0: mul + IL_00b1: conv.u2 + IL_00b2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c2: ldc.i4.5 + IL_00c3: mul + IL_00c4: conv.u2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d6: ldc.i4.5 + IL_00d7: mul + IL_00d8: conv.u2 + IL_00d9: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e9: ldc.i4.5 + IL_00ea: mul + IL_00eb: conv.u2 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00fc: dup + IL_00fd: ldind.u2 + IL_00fe: ldc.i4.5 + IL_00ff: mul + IL_0100: conv.u2 + IL_0101: stind.i2 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_010d: ldc.i4.5 + IL_010e: mul + IL_010f: conv.u2 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0115: nop + IL_0116: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_011b: dup + IL_011c: ldind.u2 + IL_011d: ldc.i4.5 + IL_011e: mul + IL_011f: conv.u2 + IL_0120: stind.i2 + IL_0121: ret + } // end of method CompoundAssignmentTest::UshortMultiplyTest + + .method public hidebysig static void UshortDivideTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: ldc.i4.5 + IL_0007: div + IL_0008: conv.u2 + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0013: ldc.i4.5 + IL_0014: div + IL_0015: conv.u2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0023: ldc.i4.5 + IL_0024: div + IL_0025: conv.u2 + IL_0026: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0032: ldc.i4.5 + IL_0033: div + IL_0034: conv.u2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0042: dup + IL_0043: ldind.u2 + IL_0044: ldc.i4.5 + IL_0045: div + IL_0046: conv.u2 + IL_0047: stind.i2 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0050: ldc.i4.5 + IL_0051: div + IL_0052: conv.u2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0064: ldc.i4.5 + IL_0065: div + IL_0066: conv.u2 + IL_0067: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0077: ldc.i4.5 + IL_0078: div + IL_0079: conv.u2 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_008a: dup + IL_008b: ldind.u2 + IL_008c: ldc.i4.5 + IL_008d: div + IL_008e: conv.u2 + IL_008f: stind.i2 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_009b: ldc.i4.5 + IL_009c: div + IL_009d: conv.u2 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00af: ldc.i4.5 + IL_00b0: div + IL_00b1: conv.u2 + IL_00b2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c2: ldc.i4.5 + IL_00c3: div + IL_00c4: conv.u2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d6: ldc.i4.5 + IL_00d7: div + IL_00d8: conv.u2 + IL_00d9: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e9: ldc.i4.5 + IL_00ea: div + IL_00eb: conv.u2 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00fc: dup + IL_00fd: ldind.u2 + IL_00fe: ldc.i4.5 + IL_00ff: div + IL_0100: conv.u2 + IL_0101: stind.i2 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_010d: ldc.i4.5 + IL_010e: div + IL_010f: conv.u2 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0115: nop + IL_0116: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_011b: dup + IL_011c: ldind.u2 + IL_011d: ldc.i4.5 + IL_011e: div + IL_011f: conv.u2 + IL_0120: stind.i2 + IL_0121: ret + } // end of method CompoundAssignmentTest::UshortDivideTest - .method private hidebysig instance int32* - GetPointer() cil managed + .method public hidebysig static void UshortModulusTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 8 (0x8) - .maxstack 1 - .locals init (int32* V_0) + // Code size 290 (0x122) + .maxstack 3 IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: conv.u - IL_0003: stloc.0 - IL_0004: br.s IL_0006 + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: ldc.i4.5 + IL_0007: rem + IL_0008: conv.u2 + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0013: ldc.i4.5 + IL_0014: rem + IL_0015: conv.u2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0023: ldc.i4.5 + IL_0024: rem + IL_0025: conv.u2 + IL_0026: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0032: ldc.i4.5 + IL_0033: rem + IL_0034: conv.u2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0042: dup + IL_0043: ldind.u2 + IL_0044: ldc.i4.5 + IL_0045: rem + IL_0046: conv.u2 + IL_0047: stind.i2 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0050: ldc.i4.5 + IL_0051: rem + IL_0052: conv.u2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0064: ldc.i4.5 + IL_0065: rem + IL_0066: conv.u2 + IL_0067: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0077: ldc.i4.5 + IL_0078: rem + IL_0079: conv.u2 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_008a: dup + IL_008b: ldind.u2 + IL_008c: ldc.i4.5 + IL_008d: rem + IL_008e: conv.u2 + IL_008f: stind.i2 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_009b: ldc.i4.5 + IL_009c: rem + IL_009d: conv.u2 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00af: ldc.i4.5 + IL_00b0: rem + IL_00b1: conv.u2 + IL_00b2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c2: ldc.i4.5 + IL_00c3: rem + IL_00c4: conv.u2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d6: ldc.i4.5 + IL_00d7: rem + IL_00d8: conv.u2 + IL_00d9: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e9: ldc.i4.5 + IL_00ea: rem + IL_00eb: conv.u2 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00fc: dup + IL_00fd: ldind.u2 + IL_00fe: ldc.i4.5 + IL_00ff: rem + IL_0100: conv.u2 + IL_0101: stind.i2 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_010d: ldc.i4.5 + IL_010e: rem + IL_010f: conv.u2 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0115: nop + IL_0116: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_011b: dup + IL_011c: ldind.u2 + IL_011d: ldc.i4.5 + IL_011e: rem + IL_011f: conv.u2 + IL_0120: stind.i2 + IL_0121: ret + } // end of method CompoundAssignmentTest::UshortModulusTest - IL_0006: ldloc.0 - IL_0007: ret - } // end of method CompoundAssignmentTest::GetPointer + .method public hidebysig static void UshortLeftShiftTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: ldc.i4.5 + IL_0007: shl + IL_0008: conv.u2 + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0013: ldc.i4.5 + IL_0014: shl + IL_0015: conv.u2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0023: ldc.i4.5 + IL_0024: shl + IL_0025: conv.u2 + IL_0026: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0032: ldc.i4.5 + IL_0033: shl + IL_0034: conv.u2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0042: dup + IL_0043: ldind.u2 + IL_0044: ldc.i4.5 + IL_0045: shl + IL_0046: conv.u2 + IL_0047: stind.i2 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0050: ldc.i4.5 + IL_0051: shl + IL_0052: conv.u2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0064: ldc.i4.5 + IL_0065: shl + IL_0066: conv.u2 + IL_0067: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0077: ldc.i4.5 + IL_0078: shl + IL_0079: conv.u2 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_008a: dup + IL_008b: ldind.u2 + IL_008c: ldc.i4.5 + IL_008d: shl + IL_008e: conv.u2 + IL_008f: stind.i2 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_009b: ldc.i4.5 + IL_009c: shl + IL_009d: conv.u2 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00af: ldc.i4.5 + IL_00b0: shl + IL_00b1: conv.u2 + IL_00b2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c2: ldc.i4.5 + IL_00c3: shl + IL_00c4: conv.u2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d6: ldc.i4.5 + IL_00d7: shl + IL_00d8: conv.u2 + IL_00d9: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e9: ldc.i4.5 + IL_00ea: shl + IL_00eb: conv.u2 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00fc: dup + IL_00fd: ldind.u2 + IL_00fe: ldc.i4.5 + IL_00ff: shl + IL_0100: conv.u2 + IL_0101: stind.i2 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_010d: ldc.i4.5 + IL_010e: shl + IL_010f: conv.u2 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0115: nop + IL_0116: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_011b: dup + IL_011c: ldind.u2 + IL_011d: ldc.i4.5 + IL_011e: shl + IL_011f: conv.u2 + IL_0120: stind.i2 + IL_0121: ret + } // end of method CompoundAssignmentTest::UshortLeftShiftTest - .method public hidebysig instance int32 - GetIndex() cil managed + .method public hidebysig static void UshortRightShiftTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 19 (0x13) + // Code size 290 (0x122) .maxstack 3 - .locals init (int32 V_0) IL_0000: nop - IL_0001: newobj instance void [mscorlib]System.Random::.ctor() - IL_0006: ldc.i4.0 - IL_0007: ldc.i4.s 100 - IL_0009: callvirt instance int32 [mscorlib]System.Random::Next(int32, - int32) - IL_000e: stloc.0 - IL_000f: br.s IL_0011 + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: ldc.i4.5 + IL_0007: shr + IL_0008: conv.u2 + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0013: ldc.i4.5 + IL_0014: shr + IL_0015: conv.u2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0023: ldc.i4.5 + IL_0024: shr + IL_0025: conv.u2 + IL_0026: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0032: ldc.i4.5 + IL_0033: shr + IL_0034: conv.u2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0042: dup + IL_0043: ldind.u2 + IL_0044: ldc.i4.5 + IL_0045: shr + IL_0046: conv.u2 + IL_0047: stind.i2 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0050: ldc.i4.5 + IL_0051: shr + IL_0052: conv.u2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0064: ldc.i4.5 + IL_0065: shr + IL_0066: conv.u2 + IL_0067: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0077: ldc.i4.5 + IL_0078: shr + IL_0079: conv.u2 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_008a: dup + IL_008b: ldind.u2 + IL_008c: ldc.i4.5 + IL_008d: shr + IL_008e: conv.u2 + IL_008f: stind.i2 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_009b: ldc.i4.5 + IL_009c: shr + IL_009d: conv.u2 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00af: ldc.i4.5 + IL_00b0: shr + IL_00b1: conv.u2 + IL_00b2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c2: ldc.i4.5 + IL_00c3: shr + IL_00c4: conv.u2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d6: ldc.i4.5 + IL_00d7: shr + IL_00d8: conv.u2 + IL_00d9: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e9: ldc.i4.5 + IL_00ea: shr + IL_00eb: conv.u2 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00fc: dup + IL_00fd: ldind.u2 + IL_00fe: ldc.i4.5 + IL_00ff: shr + IL_0100: conv.u2 + IL_0101: stind.i2 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_010d: ldc.i4.5 + IL_010e: shr + IL_010f: conv.u2 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0115: nop + IL_0116: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_011b: dup + IL_011c: ldind.u2 + IL_011d: ldc.i4.5 + IL_011e: shr + IL_011f: conv.u2 + IL_0120: stind.i2 + IL_0121: ret + } // end of method CompoundAssignmentTest::UshortRightShiftTest - IL_0011: ldloc.0 - IL_0012: ret - } // end of method CompoundAssignmentTest::GetIndex + .method public hidebysig static void UshortBitAndTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: ldc.i4.5 + IL_0007: and + IL_0008: conv.u2 + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0013: ldc.i4.5 + IL_0014: and + IL_0015: conv.u2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0023: ldc.i4.5 + IL_0024: and + IL_0025: conv.u2 + IL_0026: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0032: ldc.i4.5 + IL_0033: and + IL_0034: conv.u2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0042: dup + IL_0043: ldind.u2 + IL_0044: ldc.i4.5 + IL_0045: and + IL_0046: conv.u2 + IL_0047: stind.i2 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0050: ldc.i4.5 + IL_0051: and + IL_0052: conv.u2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0064: ldc.i4.5 + IL_0065: and + IL_0066: conv.u2 + IL_0067: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0077: ldc.i4.5 + IL_0078: and + IL_0079: conv.u2 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_008a: dup + IL_008b: ldind.u2 + IL_008c: ldc.i4.5 + IL_008d: and + IL_008e: conv.u2 + IL_008f: stind.i2 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_009b: ldc.i4.5 + IL_009c: and + IL_009d: conv.u2 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00af: ldc.i4.5 + IL_00b0: and + IL_00b1: conv.u2 + IL_00b2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c2: ldc.i4.5 + IL_00c3: and + IL_00c4: conv.u2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d6: ldc.i4.5 + IL_00d7: and + IL_00d8: conv.u2 + IL_00d9: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e9: ldc.i4.5 + IL_00ea: and + IL_00eb: conv.u2 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00fc: dup + IL_00fd: ldind.u2 + IL_00fe: ldc.i4.5 + IL_00ff: and + IL_0100: conv.u2 + IL_0101: stind.i2 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_010d: ldc.i4.5 + IL_010e: and + IL_010f: conv.u2 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0115: nop + IL_0116: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_011b: dup + IL_011c: ldind.u2 + IL_011d: ldc.i4.5 + IL_011e: and + IL_011f: conv.u2 + IL_0120: stind.i2 + IL_0121: ret + } // end of method CompoundAssignmentTest::UshortBitAndTest - .method public hidebysig instance int32[] - GetArray() cil managed + .method public hidebysig static void UshortBitOrTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 7 (0x7) - .maxstack 8 + // Code size 290 (0x122) + .maxstack 3 IL_0000: nop - IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() - IL_0006: throw - } // end of method CompoundAssignmentTest::GetArray + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: ldc.i4.5 + IL_0007: or + IL_0008: conv.u2 + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0013: ldc.i4.5 + IL_0014: or + IL_0015: conv.u2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0023: ldc.i4.5 + IL_0024: or + IL_0025: conv.u2 + IL_0026: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0032: ldc.i4.5 + IL_0033: or + IL_0034: conv.u2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0042: dup + IL_0043: ldind.u2 + IL_0044: ldc.i4.5 + IL_0045: or + IL_0046: conv.u2 + IL_0047: stind.i2 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0050: ldc.i4.5 + IL_0051: or + IL_0052: conv.u2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0064: ldc.i4.5 + IL_0065: or + IL_0066: conv.u2 + IL_0067: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0077: ldc.i4.5 + IL_0078: or + IL_0079: conv.u2 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_008a: dup + IL_008b: ldind.u2 + IL_008c: ldc.i4.5 + IL_008d: or + IL_008e: conv.u2 + IL_008f: stind.i2 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_009b: ldc.i4.5 + IL_009c: or + IL_009d: conv.u2 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00af: ldc.i4.5 + IL_00b0: or + IL_00b1: conv.u2 + IL_00b2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c2: ldc.i4.5 + IL_00c3: or + IL_00c4: conv.u2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d6: ldc.i4.5 + IL_00d7: or + IL_00d8: conv.u2 + IL_00d9: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e9: ldc.i4.5 + IL_00ea: or + IL_00eb: conv.u2 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00fc: dup + IL_00fd: ldind.u2 + IL_00fe: ldc.i4.5 + IL_00ff: or + IL_0100: conv.u2 + IL_0101: stind.i2 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_010d: ldc.i4.5 + IL_010e: or + IL_010f: conv.u2 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0115: nop + IL_0116: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_011b: dup + IL_011c: ldind.u2 + IL_011d: ldc.i4.5 + IL_011e: or + IL_011f: conv.u2 + IL_0120: stind.i2 + IL_0121: ret + } // end of method CompoundAssignmentTest::UshortBitOrTest - .method public hidebysig instance int32 - GetValue(int32 'value') cil managed + .method public hidebysig static void UshortBitXorTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 7 (0x7) - .maxstack 1 - .locals init (int32 V_0) + // Code size 290 (0x122) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: stloc.0 - IL_0003: br.s IL_0005 + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: ldc.i4.5 + IL_0007: xor + IL_0008: conv.u2 + IL_0009: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000e: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_0013: ldc.i4.5 + IL_0014: xor + IL_0015: conv.u2 + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0023: ldc.i4.5 + IL_0024: xor + IL_0025: conv.u2 + IL_0026: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0032: ldc.i4.5 + IL_0033: xor + IL_0034: conv.u2 + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0042: dup + IL_0043: ldind.u2 + IL_0044: ldc.i4.5 + IL_0045: xor + IL_0046: conv.u2 + IL_0047: stind.i2 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0050: ldc.i4.5 + IL_0051: xor + IL_0052: conv.u2 + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0064: ldc.i4.5 + IL_0065: xor + IL_0066: conv.u2 + IL_0067: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0077: ldc.i4.5 + IL_0078: xor + IL_0079: conv.u2 + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_008a: dup + IL_008b: ldind.u2 + IL_008c: ldc.i4.5 + IL_008d: xor + IL_008e: conv.u2 + IL_008f: stind.i2 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_009b: ldc.i4.5 + IL_009c: xor + IL_009d: conv.u2 + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00af: ldc.i4.5 + IL_00b0: xor + IL_00b1: conv.u2 + IL_00b2: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00c2: ldc.i4.5 + IL_00c3: xor + IL_00c4: conv.u2 + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00d6: ldc.i4.5 + IL_00d7: xor + IL_00d8: conv.u2 + IL_00d9: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00e9: ldc.i4.5 + IL_00ea: xor + IL_00eb: conv.u2 + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00fc: dup + IL_00fd: ldind.u2 + IL_00fe: ldc.i4.5 + IL_00ff: xor + IL_0100: conv.u2 + IL_0101: stind.i2 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_010d: ldc.i4.5 + IL_010e: xor + IL_010f: conv.u2 + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0115: nop + IL_0116: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_011b: dup + IL_011c: ldind.u2 + IL_011d: ldc.i4.5 + IL_011e: xor + IL_011f: conv.u2 + IL_0120: stind.i2 + IL_0121: ret + } // end of method CompoundAssignmentTest::UshortBitXorTest - IL_0005: ldloc.0 - IL_0006: ret - } // end of method CompoundAssignmentTest::GetValue + .method public hidebysig static void UshortPostIncTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 439 (0x1b7) + .maxstack 3 + .locals init (uint16 V_0) + IL_0000: nop + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: conv.u2 + IL_000a: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_001a: dup + IL_001b: ldc.i4.1 + IL_001c: add + IL_001d: conv.u2 + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0031: stloc.0 + IL_0032: ldloc.0 + IL_0033: ldc.i4.1 + IL_0034: add + IL_0035: conv.u2 + IL_0036: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0049: stloc.0 + IL_004a: ldloc.0 + IL_004b: ldc.i4.1 + IL_004c: add + IL_004d: conv.u2 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0062: dup + IL_0063: ldind.u2 + IL_0064: stloc.0 + IL_0065: ldloc.0 + IL_0066: ldc.i4.1 + IL_0067: add + IL_0068: conv.u2 + IL_0069: stind.i2 + IL_006a: ldloc.0 + IL_006b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0070: nop + IL_0071: ldarga.s s + IL_0073: dup + IL_0074: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0079: stloc.0 + IL_007a: ldloc.0 + IL_007b: ldc.i4.1 + IL_007c: add + IL_007d: conv.u2 + IL_007e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008a: nop + IL_008b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0090: dup + IL_0091: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0096: stloc.0 + IL_0097: ldloc.0 + IL_0098: ldc.i4.1 + IL_0099: add + IL_009a: conv.u2 + IL_009b: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00a0: ldloc.0 + IL_00a1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a6: nop + IL_00a7: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ac: dup + IL_00ad: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00b2: stloc.0 + IL_00b3: ldloc.0 + IL_00b4: ldc.i4.1 + IL_00b5: add + IL_00b6: conv.u2 + IL_00b7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c3: nop + IL_00c4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c9: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00ce: dup + IL_00cf: ldind.u2 + IL_00d0: stloc.0 + IL_00d1: ldloc.0 + IL_00d2: ldc.i4.1 + IL_00d3: add + IL_00d4: conv.u2 + IL_00d5: stind.i2 + IL_00d6: ldloc.0 + IL_00d7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00dc: nop + IL_00dd: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e2: dup + IL_00e3: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00e8: stloc.0 + IL_00e9: ldloc.0 + IL_00ea: ldc.i4.1 + IL_00eb: add + IL_00ec: conv.u2 + IL_00ed: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00f2: nop + IL_00f3: ldloc.0 + IL_00f4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f9: nop + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0105: stloc.0 + IL_0106: ldloc.0 + IL_0107: ldc.i4.1 + IL_0108: add + IL_0109: conv.u2 + IL_010a: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_010f: ldloc.0 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: nop + IL_0116: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011b: dup + IL_011c: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0121: stloc.0 + IL_0122: ldloc.0 + IL_0123: ldc.i4.1 + IL_0124: add + IL_0125: conv.u2 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: nop + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0138: dup + IL_0139: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_013e: stloc.0 + IL_013f: ldloc.0 + IL_0140: ldc.i4.1 + IL_0141: add + IL_0142: conv.u2 + IL_0143: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0148: ldloc.0 + IL_0149: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014e: nop + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_015a: stloc.0 + IL_015b: ldloc.0 + IL_015c: ldc.i4.1 + IL_015d: add + IL_015e: conv.u2 + IL_015f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016b: nop + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0171: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0176: dup + IL_0177: ldind.u2 + IL_0178: stloc.0 + IL_0179: ldloc.0 + IL_017a: ldc.i4.1 + IL_017b: add + IL_017c: conv.u2 + IL_017d: stind.i2 + IL_017e: ldloc.0 + IL_017f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0184: nop + IL_0185: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018a: dup + IL_018b: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0190: stloc.0 + IL_0191: ldloc.0 + IL_0192: ldc.i4.1 + IL_0193: add + IL_0194: conv.u2 + IL_0195: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_019a: nop + IL_019b: ldloc.0 + IL_019c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a1: nop + IL_01a2: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_01a7: dup + IL_01a8: ldind.u2 + IL_01a9: stloc.0 + IL_01aa: ldloc.0 + IL_01ab: ldc.i4.1 + IL_01ac: add + IL_01ad: conv.u2 + IL_01ae: stind.i2 + IL_01af: ldloc.0 + IL_01b0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01b5: nop + IL_01b6: ret + } // end of method CompoundAssignmentTest::UshortPostIncTest - .method public hidebysig instance bool - IsUpperCaseA(char a) cil managed + .method public hidebysig static void UshortPreIncTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 11 (0xb) - .maxstack 2 - .locals init (bool V_0) + // Code size 439 (0x1b7) + .maxstack 3 + .locals init (uint16 V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.s 65 - IL_0004: ceq - IL_0006: stloc.0 - IL_0007: br.s IL_0009 + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: conv.u2 + IL_0009: dup + IL_000a: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_001a: ldc.i4.1 + IL_001b: add + IL_001c: conv.u2 + IL_001d: dup + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0031: ldc.i4.1 + IL_0032: add + IL_0033: conv.u2 + IL_0034: stloc.0 + IL_0035: ldloc.0 + IL_0036: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0049: ldc.i4.1 + IL_004a: add + IL_004b: conv.u2 + IL_004c: stloc.0 + IL_004d: ldloc.0 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0062: dup + IL_0063: ldind.u2 + IL_0064: ldc.i4.1 + IL_0065: add + IL_0066: conv.u2 + IL_0067: stloc.0 + IL_0068: ldloc.0 + IL_0069: stind.i2 + IL_006a: ldloc.0 + IL_006b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0070: nop + IL_0071: ldarga.s s + IL_0073: dup + IL_0074: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0079: ldc.i4.1 + IL_007a: add + IL_007b: conv.u2 + IL_007c: stloc.0 + IL_007d: ldloc.0 + IL_007e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008a: nop + IL_008b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0090: dup + IL_0091: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0096: ldc.i4.1 + IL_0097: add + IL_0098: conv.u2 + IL_0099: stloc.0 + IL_009a: ldloc.0 + IL_009b: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00a0: ldloc.0 + IL_00a1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a6: nop + IL_00a7: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ac: dup + IL_00ad: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00b2: ldc.i4.1 + IL_00b3: add + IL_00b4: conv.u2 + IL_00b5: stloc.0 + IL_00b6: ldloc.0 + IL_00b7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c3: nop + IL_00c4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c9: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00ce: dup + IL_00cf: ldind.u2 + IL_00d0: ldc.i4.1 + IL_00d1: add + IL_00d2: conv.u2 + IL_00d3: stloc.0 + IL_00d4: ldloc.0 + IL_00d5: stind.i2 + IL_00d6: ldloc.0 + IL_00d7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00dc: nop + IL_00dd: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e2: dup + IL_00e3: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00e8: ldc.i4.1 + IL_00e9: add + IL_00ea: conv.u2 + IL_00eb: stloc.0 + IL_00ec: ldloc.0 + IL_00ed: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00f2: nop + IL_00f3: ldloc.0 + IL_00f4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f9: nop + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0105: ldc.i4.1 + IL_0106: add + IL_0107: conv.u2 + IL_0108: stloc.0 + IL_0109: ldloc.0 + IL_010a: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_010f: ldloc.0 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: nop + IL_0116: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011b: dup + IL_011c: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0121: ldc.i4.1 + IL_0122: add + IL_0123: conv.u2 + IL_0124: stloc.0 + IL_0125: ldloc.0 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: nop + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0138: dup + IL_0139: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_013e: ldc.i4.1 + IL_013f: add + IL_0140: conv.u2 + IL_0141: stloc.0 + IL_0142: ldloc.0 + IL_0143: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0148: ldloc.0 + IL_0149: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014e: nop + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_015a: ldc.i4.1 + IL_015b: add + IL_015c: conv.u2 + IL_015d: stloc.0 + IL_015e: ldloc.0 + IL_015f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016b: nop + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0171: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0176: dup + IL_0177: ldind.u2 + IL_0178: ldc.i4.1 + IL_0179: add + IL_017a: conv.u2 + IL_017b: stloc.0 + IL_017c: ldloc.0 + IL_017d: stind.i2 + IL_017e: ldloc.0 + IL_017f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0184: nop + IL_0185: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018a: dup + IL_018b: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0190: ldc.i4.1 + IL_0191: add + IL_0192: conv.u2 + IL_0193: stloc.0 + IL_0194: ldloc.0 + IL_0195: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_019a: nop + IL_019b: ldloc.0 + IL_019c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a1: nop + IL_01a2: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_01a7: dup + IL_01a8: ldind.u2 + IL_01a9: ldc.i4.1 + IL_01aa: add + IL_01ab: conv.u2 + IL_01ac: stloc.0 + IL_01ad: ldloc.0 + IL_01ae: stind.i2 + IL_01af: ldloc.0 + IL_01b0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01b5: nop + IL_01b6: ret + } // end of method CompoundAssignmentTest::UshortPreIncTest - IL_0009: ldloc.0 - IL_000a: ret - } // end of method CompoundAssignmentTest::IsUpperCaseA + .method public hidebysig static void UshortPostDecTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 439 (0x1b7) + .maxstack 3 + .locals init (uint16 V_0) + IL_0000: nop + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: sub + IL_0009: conv.u2 + IL_000a: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_001a: dup + IL_001b: ldc.i4.1 + IL_001c: sub + IL_001d: conv.u2 + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0031: stloc.0 + IL_0032: ldloc.0 + IL_0033: ldc.i4.1 + IL_0034: sub + IL_0035: conv.u2 + IL_0036: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0049: stloc.0 + IL_004a: ldloc.0 + IL_004b: ldc.i4.1 + IL_004c: sub + IL_004d: conv.u2 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0062: dup + IL_0063: ldind.u2 + IL_0064: stloc.0 + IL_0065: ldloc.0 + IL_0066: ldc.i4.1 + IL_0067: sub + IL_0068: conv.u2 + IL_0069: stind.i2 + IL_006a: ldloc.0 + IL_006b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0070: nop + IL_0071: ldarga.s s + IL_0073: dup + IL_0074: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0079: stloc.0 + IL_007a: ldloc.0 + IL_007b: ldc.i4.1 + IL_007c: sub + IL_007d: conv.u2 + IL_007e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008a: nop + IL_008b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0090: dup + IL_0091: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0096: stloc.0 + IL_0097: ldloc.0 + IL_0098: ldc.i4.1 + IL_0099: sub + IL_009a: conv.u2 + IL_009b: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00a0: ldloc.0 + IL_00a1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a6: nop + IL_00a7: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ac: dup + IL_00ad: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00b2: stloc.0 + IL_00b3: ldloc.0 + IL_00b4: ldc.i4.1 + IL_00b5: sub + IL_00b6: conv.u2 + IL_00b7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c3: nop + IL_00c4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c9: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00ce: dup + IL_00cf: ldind.u2 + IL_00d0: stloc.0 + IL_00d1: ldloc.0 + IL_00d2: ldc.i4.1 + IL_00d3: sub + IL_00d4: conv.u2 + IL_00d5: stind.i2 + IL_00d6: ldloc.0 + IL_00d7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00dc: nop + IL_00dd: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e2: dup + IL_00e3: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00e8: stloc.0 + IL_00e9: ldloc.0 + IL_00ea: ldc.i4.1 + IL_00eb: sub + IL_00ec: conv.u2 + IL_00ed: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00f2: nop + IL_00f3: ldloc.0 + IL_00f4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f9: nop + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0105: stloc.0 + IL_0106: ldloc.0 + IL_0107: ldc.i4.1 + IL_0108: sub + IL_0109: conv.u2 + IL_010a: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_010f: ldloc.0 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: nop + IL_0116: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011b: dup + IL_011c: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0121: stloc.0 + IL_0122: ldloc.0 + IL_0123: ldc.i4.1 + IL_0124: sub + IL_0125: conv.u2 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: nop + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0138: dup + IL_0139: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_013e: stloc.0 + IL_013f: ldloc.0 + IL_0140: ldc.i4.1 + IL_0141: sub + IL_0142: conv.u2 + IL_0143: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0148: ldloc.0 + IL_0149: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014e: nop + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_015a: stloc.0 + IL_015b: ldloc.0 + IL_015c: ldc.i4.1 + IL_015d: sub + IL_015e: conv.u2 + IL_015f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016b: nop + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0171: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0176: dup + IL_0177: ldind.u2 + IL_0178: stloc.0 + IL_0179: ldloc.0 + IL_017a: ldc.i4.1 + IL_017b: sub + IL_017c: conv.u2 + IL_017d: stind.i2 + IL_017e: ldloc.0 + IL_017f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0184: nop + IL_0185: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018a: dup + IL_018b: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0190: stloc.0 + IL_0191: ldloc.0 + IL_0192: ldc.i4.1 + IL_0193: sub + IL_0194: conv.u2 + IL_0195: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_019a: nop + IL_019b: ldloc.0 + IL_019c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a1: nop + IL_01a2: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_01a7: dup + IL_01a8: ldind.u2 + IL_01a9: stloc.0 + IL_01aa: ldloc.0 + IL_01ab: ldc.i4.1 + IL_01ac: sub + IL_01ad: conv.u2 + IL_01ae: stind.i2 + IL_01af: ldloc.0 + IL_01b0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01b5: nop + IL_01b6: ret + } // end of method CompoundAssignmentTest::UshortPostDecTest - .method public hidebysig instance void - Int32_Local_Add(int32 i) cil managed + .method public hidebysig static void UshortPreDecTest(uint16 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 48 (0x30) - .maxstack 8 + // Code size 439 (0x1b7) + .maxstack 3 + .locals init (uint16 V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.1 - IL_0003: add - IL_0004: starg.s i - IL_0006: ldarg.1 - IL_0007: dup - IL_0008: ldc.i4.1 - IL_0009: add - IL_000a: starg.s i - IL_000c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0011: nop - IL_0012: ldarg.1 - IL_0013: ldc.i4.1 - IL_0014: add - IL_0015: dup - IL_0016: starg.s i - IL_0018: call void [mscorlib]System.Console::WriteLine(int32) - IL_001d: nop - IL_001e: ldarg.1 - IL_001f: ldc.i4.5 - IL_0020: add - IL_0021: starg.s i - IL_0023: ldarg.1 - IL_0024: ldc.i4.5 - IL_0025: add - IL_0026: dup - IL_0027: starg.s i - IL_0029: call void [mscorlib]System.Console::WriteLine(int32) - IL_002e: nop - IL_002f: ret - } // end of method CompoundAssignmentTest::Int32_Local_Add + IL_0001: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0006: ldc.i4.1 + IL_0007: sub + IL_0008: conv.u2 + IL_0009: dup + IL_000a: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + IL_001a: ldc.i4.1 + IL_001b: sub + IL_001c: conv.u2 + IL_001d: dup + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0031: ldc.i4.1 + IL_0032: sub + IL_0033: conv.u2 + IL_0034: stloc.0 + IL_0035: ldloc.0 + IL_0036: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0049: ldc.i4.1 + IL_004a: sub + IL_004b: conv.u2 + IL_004c: stloc.0 + IL_004d: ldloc.0 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0062: dup + IL_0063: ldind.u2 + IL_0064: ldc.i4.1 + IL_0065: sub + IL_0066: conv.u2 + IL_0067: stloc.0 + IL_0068: ldloc.0 + IL_0069: stind.i2 + IL_006a: ldloc.0 + IL_006b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0070: nop + IL_0071: ldarga.s s + IL_0073: dup + IL_0074: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0079: ldc.i4.1 + IL_007a: sub + IL_007b: conv.u2 + IL_007c: stloc.0 + IL_007d: ldloc.0 + IL_007e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008a: nop + IL_008b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0090: dup + IL_0091: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0096: ldc.i4.1 + IL_0097: sub + IL_0098: conv.u2 + IL_0099: stloc.0 + IL_009a: ldloc.0 + IL_009b: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_00a0: ldloc.0 + IL_00a1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a6: nop + IL_00a7: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ac: dup + IL_00ad: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_00b2: ldc.i4.1 + IL_00b3: sub + IL_00b4: conv.u2 + IL_00b5: stloc.0 + IL_00b6: ldloc.0 + IL_00b7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c3: nop + IL_00c4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c9: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_00ce: dup + IL_00cf: ldind.u2 + IL_00d0: ldc.i4.1 + IL_00d1: sub + IL_00d2: conv.u2 + IL_00d3: stloc.0 + IL_00d4: ldloc.0 + IL_00d5: stind.i2 + IL_00d6: ldloc.0 + IL_00d7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00dc: nop + IL_00dd: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e2: dup + IL_00e3: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_00e8: ldc.i4.1 + IL_00e9: sub + IL_00ea: conv.u2 + IL_00eb: stloc.0 + IL_00ec: ldloc.0 + IL_00ed: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_00f2: nop + IL_00f3: ldloc.0 + IL_00f4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f9: nop + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0105: ldc.i4.1 + IL_0106: sub + IL_0107: conv.u2 + IL_0108: stloc.0 + IL_0109: ldloc.0 + IL_010a: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_010f: ldloc.0 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: nop + IL_0116: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011b: dup + IL_011c: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_0121: ldc.i4.1 + IL_0122: sub + IL_0123: conv.u2 + IL_0124: stloc.0 + IL_0125: ldloc.0 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: nop + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0138: dup + IL_0139: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_013e: ldc.i4.1 + IL_013f: sub + IL_0140: conv.u2 + IL_0141: stloc.0 + IL_0142: ldloc.0 + IL_0143: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UshortField + IL_0148: ldloc.0 + IL_0149: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014e: nop + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UshortProp() + IL_015a: ldc.i4.1 + IL_015b: sub + IL_015c: conv.u2 + IL_015d: stloc.0 + IL_015e: ldloc.0 + IL_015f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UshortProp(uint16) + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016b: nop + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0171: ldflda uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UshortField + IL_0176: dup + IL_0177: ldind.u2 + IL_0178: ldc.i4.1 + IL_0179: sub + IL_017a: conv.u2 + IL_017b: stloc.0 + IL_017c: ldloc.0 + IL_017d: stind.i2 + IL_017e: ldloc.0 + IL_017f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0184: nop + IL_0185: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018a: dup + IL_018b: call instance uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UshortProp() + IL_0190: ldc.i4.1 + IL_0191: sub + IL_0192: conv.u2 + IL_0193: stloc.0 + IL_0194: ldloc.0 + IL_0195: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UshortProp(uint16) + IL_019a: nop + IL_019b: ldloc.0 + IL_019c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a1: nop + IL_01a2: call uint16& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUshort() + IL_01a7: dup + IL_01a8: ldind.u2 + IL_01a9: ldc.i4.1 + IL_01aa: sub + IL_01ab: conv.u2 + IL_01ac: stloc.0 + IL_01ad: ldloc.0 + IL_01ae: stind.i2 + IL_01af: ldloc.0 + IL_01b0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01b5: nop + IL_01b6: ret + } // end of method CompoundAssignmentTest::UshortPreDecTest - .method public hidebysig instance void - Int32_Local_Sub(int32 i) cil managed + .method public hidebysig static void IntAddTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 48 (0x30) - .maxstack 8 + // Code size 273 (0x111) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.1 - IL_0003: sub - IL_0004: starg.s i - IL_0006: ldarg.1 - IL_0007: dup - IL_0008: ldc.i4.1 - IL_0009: sub - IL_000a: starg.s i - IL_000c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0011: nop - IL_0012: ldarg.1 - IL_0013: ldc.i4.1 - IL_0014: sub - IL_0015: dup - IL_0016: starg.s i - IL_0018: call void [mscorlib]System.Console::WriteLine(int32) - IL_001d: nop - IL_001e: ldarg.1 - IL_001f: ldc.i4.5 - IL_0020: sub - IL_0021: starg.s i - IL_0023: ldarg.1 - IL_0024: ldc.i4.5 - IL_0025: sub - IL_0026: dup - IL_0027: starg.s i - IL_0029: call void [mscorlib]System.Console::WriteLine(int32) - IL_002e: nop - IL_002f: ret - } // end of method CompoundAssignmentTest::Int32_Local_Sub + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: ldc.i4.5 + IL_0007: add + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0012: ldc.i4.5 + IL_0013: add + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0021: ldc.i4.5 + IL_0022: add + IL_0023: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002f: ldc.i4.5 + IL_0030: add + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003e: dup + IL_003f: ldind.i4 + IL_0040: ldc.i4.5 + IL_0041: add + IL_0042: stind.i4 + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004b: ldc.i4.5 + IL_004c: add + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0052: nop + IL_0053: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0058: dup + IL_0059: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005e: ldc.i4.5 + IL_005f: add + IL_0060: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0065: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006a: dup + IL_006b: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0070: ldc.i4.5 + IL_0071: add + IL_0072: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0077: nop + IL_0078: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007d: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0082: dup + IL_0083: ldind.i4 + IL_0084: ldc.i4.5 + IL_0085: add + IL_0086: stind.i4 + IL_0087: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008c: dup + IL_008d: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0092: ldc.i4.5 + IL_0093: add + IL_0094: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0099: nop + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a5: ldc.i4.5 + IL_00a6: add + IL_00a7: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b7: ldc.i4.5 + IL_00b8: add + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00be: nop + IL_00bf: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c4: dup + IL_00c5: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ca: ldc.i4.5 + IL_00cb: add + IL_00cc: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00dc: ldc.i4.5 + IL_00dd: add + IL_00de: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e3: nop + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e9: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00ee: dup + IL_00ef: ldind.i4 + IL_00f0: ldc.i4.5 + IL_00f1: add + IL_00f2: stind.i4 + IL_00f3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f8: dup + IL_00f9: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00fe: ldc.i4.5 + IL_00ff: add + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0105: nop + IL_0106: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_010b: dup + IL_010c: ldind.i4 + IL_010d: ldc.i4.5 + IL_010e: add + IL_010f: stind.i4 + IL_0110: ret + } // end of method CompoundAssignmentTest::IntAddTest - .method public hidebysig instance void - Int32_Local_Mul(int32 i) cil managed + .method public hidebysig static void IntSubtractTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 19 (0x13) - .maxstack 8 + // Code size 273 (0x111) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.5 - IL_0003: mul - IL_0004: starg.s i - IL_0006: ldarg.1 - IL_0007: ldc.i4.5 - IL_0008: mul - IL_0009: dup - IL_000a: starg.s i - IL_000c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0011: nop - IL_0012: ret - } // end of method CompoundAssignmentTest::Int32_Local_Mul + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: ldc.i4.5 + IL_0007: sub + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0012: ldc.i4.5 + IL_0013: sub + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0021: ldc.i4.5 + IL_0022: sub + IL_0023: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002f: ldc.i4.5 + IL_0030: sub + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003e: dup + IL_003f: ldind.i4 + IL_0040: ldc.i4.5 + IL_0041: sub + IL_0042: stind.i4 + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004b: ldc.i4.5 + IL_004c: sub + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0052: nop + IL_0053: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0058: dup + IL_0059: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005e: ldc.i4.5 + IL_005f: sub + IL_0060: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0065: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006a: dup + IL_006b: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0070: ldc.i4.5 + IL_0071: sub + IL_0072: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0077: nop + IL_0078: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007d: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0082: dup + IL_0083: ldind.i4 + IL_0084: ldc.i4.5 + IL_0085: sub + IL_0086: stind.i4 + IL_0087: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008c: dup + IL_008d: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0092: ldc.i4.5 + IL_0093: sub + IL_0094: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0099: nop + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a5: ldc.i4.5 + IL_00a6: sub + IL_00a7: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b7: ldc.i4.5 + IL_00b8: sub + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00be: nop + IL_00bf: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c4: dup + IL_00c5: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ca: ldc.i4.5 + IL_00cb: sub + IL_00cc: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00dc: ldc.i4.5 + IL_00dd: sub + IL_00de: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e3: nop + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e9: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00ee: dup + IL_00ef: ldind.i4 + IL_00f0: ldc.i4.5 + IL_00f1: sub + IL_00f2: stind.i4 + IL_00f3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f8: dup + IL_00f9: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00fe: ldc.i4.5 + IL_00ff: sub + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0105: nop + IL_0106: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_010b: dup + IL_010c: ldind.i4 + IL_010d: ldc.i4.5 + IL_010e: sub + IL_010f: stind.i4 + IL_0110: ret + } // end of method CompoundAssignmentTest::IntSubtractTest - .method public hidebysig instance void - Int32_Local_Div(int32 i) cil managed + .method public hidebysig static void IntMultiplyTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 19 (0x13) - .maxstack 8 + // Code size 273 (0x111) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.5 - IL_0003: div - IL_0004: starg.s i - IL_0006: ldarg.1 - IL_0007: ldc.i4.5 - IL_0008: div - IL_0009: dup - IL_000a: starg.s i - IL_000c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0011: nop - IL_0012: ret - } // end of method CompoundAssignmentTest::Int32_Local_Div + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: ldc.i4.5 + IL_0007: mul + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0012: ldc.i4.5 + IL_0013: mul + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0021: ldc.i4.5 + IL_0022: mul + IL_0023: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002f: ldc.i4.5 + IL_0030: mul + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003e: dup + IL_003f: ldind.i4 + IL_0040: ldc.i4.5 + IL_0041: mul + IL_0042: stind.i4 + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004b: ldc.i4.5 + IL_004c: mul + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0052: nop + IL_0053: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0058: dup + IL_0059: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005e: ldc.i4.5 + IL_005f: mul + IL_0060: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0065: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006a: dup + IL_006b: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0070: ldc.i4.5 + IL_0071: mul + IL_0072: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0077: nop + IL_0078: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007d: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0082: dup + IL_0083: ldind.i4 + IL_0084: ldc.i4.5 + IL_0085: mul + IL_0086: stind.i4 + IL_0087: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008c: dup + IL_008d: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0092: ldc.i4.5 + IL_0093: mul + IL_0094: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0099: nop + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a5: ldc.i4.5 + IL_00a6: mul + IL_00a7: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b7: ldc.i4.5 + IL_00b8: mul + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00be: nop + IL_00bf: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c4: dup + IL_00c5: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ca: ldc.i4.5 + IL_00cb: mul + IL_00cc: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00dc: ldc.i4.5 + IL_00dd: mul + IL_00de: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e3: nop + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e9: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00ee: dup + IL_00ef: ldind.i4 + IL_00f0: ldc.i4.5 + IL_00f1: mul + IL_00f2: stind.i4 + IL_00f3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f8: dup + IL_00f9: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00fe: ldc.i4.5 + IL_00ff: mul + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0105: nop + IL_0106: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_010b: dup + IL_010c: ldind.i4 + IL_010d: ldc.i4.5 + IL_010e: mul + IL_010f: stind.i4 + IL_0110: ret + } // end of method CompoundAssignmentTest::IntMultiplyTest - .method public hidebysig instance void - Int32_Local_Rem(int32 i) cil managed + .method public hidebysig static void IntDivideTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 273 (0x111) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: ldc.i4.5 + IL_0007: div + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0012: ldc.i4.5 + IL_0013: div + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0021: ldc.i4.5 + IL_0022: div + IL_0023: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002f: ldc.i4.5 + IL_0030: div + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003e: dup + IL_003f: ldind.i4 + IL_0040: ldc.i4.5 + IL_0041: div + IL_0042: stind.i4 + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004b: ldc.i4.5 + IL_004c: div + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0052: nop + IL_0053: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0058: dup + IL_0059: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005e: ldc.i4.5 + IL_005f: div + IL_0060: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0065: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006a: dup + IL_006b: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0070: ldc.i4.5 + IL_0071: div + IL_0072: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0077: nop + IL_0078: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007d: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0082: dup + IL_0083: ldind.i4 + IL_0084: ldc.i4.5 + IL_0085: div + IL_0086: stind.i4 + IL_0087: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008c: dup + IL_008d: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0092: ldc.i4.5 + IL_0093: div + IL_0094: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0099: nop + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a5: ldc.i4.5 + IL_00a6: div + IL_00a7: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b7: ldc.i4.5 + IL_00b8: div + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00be: nop + IL_00bf: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c4: dup + IL_00c5: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ca: ldc.i4.5 + IL_00cb: div + IL_00cc: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00dc: ldc.i4.5 + IL_00dd: div + IL_00de: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e3: nop + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e9: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00ee: dup + IL_00ef: ldind.i4 + IL_00f0: ldc.i4.5 + IL_00f1: div + IL_00f2: stind.i4 + IL_00f3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f8: dup + IL_00f9: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00fe: ldc.i4.5 + IL_00ff: div + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0105: nop + IL_0106: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_010b: dup + IL_010c: ldind.i4 + IL_010d: ldc.i4.5 + IL_010e: div + IL_010f: stind.i4 + IL_0110: ret + } // end of method CompoundAssignmentTest::IntDivideTest + + .method public hidebysig static void IntModulusTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 273 (0x111) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: ldc.i4.5 + IL_0007: rem + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0012: ldc.i4.5 + IL_0013: rem + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0021: ldc.i4.5 + IL_0022: rem + IL_0023: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002f: ldc.i4.5 + IL_0030: rem + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003e: dup + IL_003f: ldind.i4 + IL_0040: ldc.i4.5 + IL_0041: rem + IL_0042: stind.i4 + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004b: ldc.i4.5 + IL_004c: rem + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0052: nop + IL_0053: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0058: dup + IL_0059: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005e: ldc.i4.5 + IL_005f: rem + IL_0060: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0065: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006a: dup + IL_006b: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0070: ldc.i4.5 + IL_0071: rem + IL_0072: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0077: nop + IL_0078: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007d: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0082: dup + IL_0083: ldind.i4 + IL_0084: ldc.i4.5 + IL_0085: rem + IL_0086: stind.i4 + IL_0087: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008c: dup + IL_008d: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0092: ldc.i4.5 + IL_0093: rem + IL_0094: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0099: nop + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a5: ldc.i4.5 + IL_00a6: rem + IL_00a7: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b7: ldc.i4.5 + IL_00b8: rem + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00be: nop + IL_00bf: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c4: dup + IL_00c5: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ca: ldc.i4.5 + IL_00cb: rem + IL_00cc: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00dc: ldc.i4.5 + IL_00dd: rem + IL_00de: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e3: nop + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e9: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00ee: dup + IL_00ef: ldind.i4 + IL_00f0: ldc.i4.5 + IL_00f1: rem + IL_00f2: stind.i4 + IL_00f3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f8: dup + IL_00f9: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00fe: ldc.i4.5 + IL_00ff: rem + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0105: nop + IL_0106: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_010b: dup + IL_010c: ldind.i4 + IL_010d: ldc.i4.5 + IL_010e: rem + IL_010f: stind.i4 + IL_0110: ret + } // end of method CompoundAssignmentTest::IntModulusTest + + .method public hidebysig static void IntLeftShiftTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 19 (0x13) - .maxstack 8 + // Code size 273 (0x111) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.5 - IL_0003: rem - IL_0004: starg.s i - IL_0006: ldarg.1 - IL_0007: ldc.i4.5 - IL_0008: rem - IL_0009: dup - IL_000a: starg.s i - IL_000c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0011: nop - IL_0012: ret - } // end of method CompoundAssignmentTest::Int32_Local_Rem + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: ldc.i4.5 + IL_0007: shl + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0012: ldc.i4.5 + IL_0013: shl + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0021: ldc.i4.5 + IL_0022: shl + IL_0023: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002f: ldc.i4.5 + IL_0030: shl + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003e: dup + IL_003f: ldind.i4 + IL_0040: ldc.i4.5 + IL_0041: shl + IL_0042: stind.i4 + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004b: ldc.i4.5 + IL_004c: shl + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0052: nop + IL_0053: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0058: dup + IL_0059: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005e: ldc.i4.5 + IL_005f: shl + IL_0060: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0065: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006a: dup + IL_006b: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0070: ldc.i4.5 + IL_0071: shl + IL_0072: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0077: nop + IL_0078: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007d: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0082: dup + IL_0083: ldind.i4 + IL_0084: ldc.i4.5 + IL_0085: shl + IL_0086: stind.i4 + IL_0087: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008c: dup + IL_008d: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0092: ldc.i4.5 + IL_0093: shl + IL_0094: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0099: nop + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a5: ldc.i4.5 + IL_00a6: shl + IL_00a7: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b7: ldc.i4.5 + IL_00b8: shl + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00be: nop + IL_00bf: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c4: dup + IL_00c5: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ca: ldc.i4.5 + IL_00cb: shl + IL_00cc: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00dc: ldc.i4.5 + IL_00dd: shl + IL_00de: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e3: nop + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e9: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00ee: dup + IL_00ef: ldind.i4 + IL_00f0: ldc.i4.5 + IL_00f1: shl + IL_00f2: stind.i4 + IL_00f3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f8: dup + IL_00f9: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00fe: ldc.i4.5 + IL_00ff: shl + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0105: nop + IL_0106: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_010b: dup + IL_010c: ldind.i4 + IL_010d: ldc.i4.5 + IL_010e: shl + IL_010f: stind.i4 + IL_0110: ret + } // end of method CompoundAssignmentTest::IntLeftShiftTest - .method public hidebysig instance void - Int32_Local_BitAnd(int32 i) cil managed + .method public hidebysig static void IntRightShiftTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 19 (0x13) - .maxstack 8 + // Code size 273 (0x111) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.5 - IL_0003: and - IL_0004: starg.s i - IL_0006: ldarg.1 - IL_0007: ldc.i4.5 - IL_0008: and - IL_0009: dup - IL_000a: starg.s i - IL_000c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0011: nop - IL_0012: ret - } // end of method CompoundAssignmentTest::Int32_Local_BitAnd + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: ldc.i4.5 + IL_0007: shr + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0012: ldc.i4.5 + IL_0013: shr + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0021: ldc.i4.5 + IL_0022: shr + IL_0023: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002f: ldc.i4.5 + IL_0030: shr + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003e: dup + IL_003f: ldind.i4 + IL_0040: ldc.i4.5 + IL_0041: shr + IL_0042: stind.i4 + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004b: ldc.i4.5 + IL_004c: shr + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0052: nop + IL_0053: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0058: dup + IL_0059: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005e: ldc.i4.5 + IL_005f: shr + IL_0060: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0065: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006a: dup + IL_006b: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0070: ldc.i4.5 + IL_0071: shr + IL_0072: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0077: nop + IL_0078: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007d: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0082: dup + IL_0083: ldind.i4 + IL_0084: ldc.i4.5 + IL_0085: shr + IL_0086: stind.i4 + IL_0087: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008c: dup + IL_008d: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0092: ldc.i4.5 + IL_0093: shr + IL_0094: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0099: nop + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a5: ldc.i4.5 + IL_00a6: shr + IL_00a7: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b7: ldc.i4.5 + IL_00b8: shr + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00be: nop + IL_00bf: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c4: dup + IL_00c5: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ca: ldc.i4.5 + IL_00cb: shr + IL_00cc: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00dc: ldc.i4.5 + IL_00dd: shr + IL_00de: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e3: nop + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e9: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00ee: dup + IL_00ef: ldind.i4 + IL_00f0: ldc.i4.5 + IL_00f1: shr + IL_00f2: stind.i4 + IL_00f3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f8: dup + IL_00f9: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00fe: ldc.i4.5 + IL_00ff: shr + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0105: nop + IL_0106: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_010b: dup + IL_010c: ldind.i4 + IL_010d: ldc.i4.5 + IL_010e: shr + IL_010f: stind.i4 + IL_0110: ret + } // end of method CompoundAssignmentTest::IntRightShiftTest - .method public hidebysig instance void - Int32_Local_BitOr(int32 i) cil managed + .method public hidebysig static void IntBitAndTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 19 (0x13) - .maxstack 8 + // Code size 273 (0x111) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.5 - IL_0003: or - IL_0004: starg.s i - IL_0006: ldarg.1 - IL_0007: ldc.i4.5 - IL_0008: or - IL_0009: dup - IL_000a: starg.s i - IL_000c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0011: nop - IL_0012: ret - } // end of method CompoundAssignmentTest::Int32_Local_BitOr + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: ldc.i4.5 + IL_0007: and + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0012: ldc.i4.5 + IL_0013: and + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0021: ldc.i4.5 + IL_0022: and + IL_0023: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002f: ldc.i4.5 + IL_0030: and + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003e: dup + IL_003f: ldind.i4 + IL_0040: ldc.i4.5 + IL_0041: and + IL_0042: stind.i4 + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004b: ldc.i4.5 + IL_004c: and + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0052: nop + IL_0053: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0058: dup + IL_0059: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005e: ldc.i4.5 + IL_005f: and + IL_0060: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0065: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006a: dup + IL_006b: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0070: ldc.i4.5 + IL_0071: and + IL_0072: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0077: nop + IL_0078: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007d: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0082: dup + IL_0083: ldind.i4 + IL_0084: ldc.i4.5 + IL_0085: and + IL_0086: stind.i4 + IL_0087: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008c: dup + IL_008d: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0092: ldc.i4.5 + IL_0093: and + IL_0094: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0099: nop + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a5: ldc.i4.5 + IL_00a6: and + IL_00a7: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b7: ldc.i4.5 + IL_00b8: and + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00be: nop + IL_00bf: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c4: dup + IL_00c5: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ca: ldc.i4.5 + IL_00cb: and + IL_00cc: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00dc: ldc.i4.5 + IL_00dd: and + IL_00de: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e3: nop + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e9: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00ee: dup + IL_00ef: ldind.i4 + IL_00f0: ldc.i4.5 + IL_00f1: and + IL_00f2: stind.i4 + IL_00f3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f8: dup + IL_00f9: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00fe: ldc.i4.5 + IL_00ff: and + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0105: nop + IL_0106: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_010b: dup + IL_010c: ldind.i4 + IL_010d: ldc.i4.5 + IL_010e: and + IL_010f: stind.i4 + IL_0110: ret + } // end of method CompoundAssignmentTest::IntBitAndTest - .method public hidebysig instance void - Int32_Local_BitXor(int32 i) cil managed + .method public hidebysig static void IntBitOrTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 19 (0x13) - .maxstack 8 + // Code size 273 (0x111) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.5 - IL_0003: xor - IL_0004: starg.s i - IL_0006: ldarg.1 - IL_0007: ldc.i4.5 - IL_0008: xor - IL_0009: dup - IL_000a: starg.s i - IL_000c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0011: nop - IL_0012: ret - } // end of method CompoundAssignmentTest::Int32_Local_BitXor + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: ldc.i4.5 + IL_0007: or + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0012: ldc.i4.5 + IL_0013: or + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0021: ldc.i4.5 + IL_0022: or + IL_0023: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002f: ldc.i4.5 + IL_0030: or + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003e: dup + IL_003f: ldind.i4 + IL_0040: ldc.i4.5 + IL_0041: or + IL_0042: stind.i4 + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004b: ldc.i4.5 + IL_004c: or + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0052: nop + IL_0053: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0058: dup + IL_0059: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005e: ldc.i4.5 + IL_005f: or + IL_0060: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0065: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006a: dup + IL_006b: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0070: ldc.i4.5 + IL_0071: or + IL_0072: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0077: nop + IL_0078: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007d: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0082: dup + IL_0083: ldind.i4 + IL_0084: ldc.i4.5 + IL_0085: or + IL_0086: stind.i4 + IL_0087: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008c: dup + IL_008d: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0092: ldc.i4.5 + IL_0093: or + IL_0094: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0099: nop + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a5: ldc.i4.5 + IL_00a6: or + IL_00a7: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b7: ldc.i4.5 + IL_00b8: or + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00be: nop + IL_00bf: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c4: dup + IL_00c5: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ca: ldc.i4.5 + IL_00cb: or + IL_00cc: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00dc: ldc.i4.5 + IL_00dd: or + IL_00de: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e3: nop + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e9: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00ee: dup + IL_00ef: ldind.i4 + IL_00f0: ldc.i4.5 + IL_00f1: or + IL_00f2: stind.i4 + IL_00f3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f8: dup + IL_00f9: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00fe: ldc.i4.5 + IL_00ff: or + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0105: nop + IL_0106: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_010b: dup + IL_010c: ldind.i4 + IL_010d: ldc.i4.5 + IL_010e: or + IL_010f: stind.i4 + IL_0110: ret + } // end of method CompoundAssignmentTest::IntBitOrTest - .method public hidebysig instance void - Int32_Local_ShiftLeft(int32 i) cil managed + .method public hidebysig static void IntBitXorTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 19 (0x13) - .maxstack 8 + // Code size 273 (0x111) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.5 - IL_0003: shl - IL_0004: starg.s i - IL_0006: ldarg.1 - IL_0007: ldc.i4.5 - IL_0008: shl - IL_0009: dup - IL_000a: starg.s i - IL_000c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0011: nop - IL_0012: ret - } // end of method CompoundAssignmentTest::Int32_Local_ShiftLeft + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: ldc.i4.5 + IL_0007: xor + IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000d: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0012: ldc.i4.5 + IL_0013: xor + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0021: ldc.i4.5 + IL_0022: xor + IL_0023: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_002f: ldc.i4.5 + IL_0030: xor + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_003e: dup + IL_003f: ldind.i4 + IL_0040: ldc.i4.5 + IL_0041: xor + IL_0042: stind.i4 + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_004b: ldc.i4.5 + IL_004c: xor + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0052: nop + IL_0053: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0058: dup + IL_0059: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_005e: ldc.i4.5 + IL_005f: xor + IL_0060: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0065: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006a: dup + IL_006b: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0070: ldc.i4.5 + IL_0071: xor + IL_0072: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0077: nop + IL_0078: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007d: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0082: dup + IL_0083: ldind.i4 + IL_0084: ldc.i4.5 + IL_0085: xor + IL_0086: stind.i4 + IL_0087: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008c: dup + IL_008d: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0092: ldc.i4.5 + IL_0093: xor + IL_0094: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0099: nop + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00a5: ldc.i4.5 + IL_00a6: xor + IL_00a7: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00b7: ldc.i4.5 + IL_00b8: xor + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00be: nop + IL_00bf: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c4: dup + IL_00c5: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00ca: ldc.i4.5 + IL_00cb: xor + IL_00cc: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00dc: ldc.i4.5 + IL_00dd: xor + IL_00de: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00e3: nop + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e9: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00ee: dup + IL_00ef: ldind.i4 + IL_00f0: ldc.i4.5 + IL_00f1: xor + IL_00f2: stind.i4 + IL_00f3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f8: dup + IL_00f9: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00fe: ldc.i4.5 + IL_00ff: xor + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_0105: nop + IL_0106: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_010b: dup + IL_010c: ldind.i4 + IL_010d: ldc.i4.5 + IL_010e: xor + IL_010f: stind.i4 + IL_0110: ret + } // end of method CompoundAssignmentTest::IntBitXorTest - .method public hidebysig instance void - Int32_Local_ShiftRight(int32 i) cil managed + .method public hidebysig static void IntPostIncTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 19 (0x13) - .maxstack 8 + // Code size 422 (0x1a6) + .maxstack 3 + .locals init (int32 V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.5 - IL_0003: shr - IL_0004: starg.s i - IL_0006: ldarg.1 - IL_0007: ldc.i4.5 - IL_0008: shr - IL_0009: dup - IL_000a: starg.s i - IL_000c: call void [mscorlib]System.Console::WriteLine(int32) - IL_0011: nop - IL_0012: ret - } // end of method CompoundAssignmentTest::Int32_Local_ShiftRight + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: nop + IL_0014: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0019: dup + IL_001a: ldc.i4.1 + IL_001b: add + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0021: nop + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0027: nop + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_002f: stloc.0 + IL_0030: ldloc.0 + IL_0031: ldc.i4.1 + IL_0032: add + IL_0033: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0038: ldloc.0 + IL_0039: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003e: nop + IL_003f: ldarg.1 + IL_0040: dup + IL_0041: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0046: stloc.0 + IL_0047: ldloc.0 + IL_0048: ldc.i4.1 + IL_0049: add + IL_004a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_004f: nop + IL_0050: ldloc.0 + IL_0051: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0056: nop + IL_0057: ldarga.s s + IL_0059: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_005e: dup + IL_005f: ldind.i4 + IL_0060: stloc.0 + IL_0061: ldloc.0 + IL_0062: ldc.i4.1 + IL_0063: add + IL_0064: stind.i4 + IL_0065: ldloc.0 + IL_0066: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006b: nop + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0074: stloc.0 + IL_0075: ldloc.0 + IL_0076: ldc.i4.1 + IL_0077: add + IL_0078: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_007d: nop + IL_007e: ldloc.0 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: nop + IL_0085: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_008a: dup + IL_008b: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0090: stloc.0 + IL_0091: ldloc.0 + IL_0092: ldc.i4.1 + IL_0093: add + IL_0094: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0099: ldloc.0 + IL_009a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009f: nop + IL_00a0: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a5: dup + IL_00a6: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00ab: stloc.0 + IL_00ac: ldloc.0 + IL_00ad: ldc.i4.1 + IL_00ae: add + IL_00af: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00b4: nop + IL_00b5: ldloc.0 + IL_00b6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00bb: nop + IL_00bc: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c1: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00c6: dup + IL_00c7: ldind.i4 + IL_00c8: stloc.0 + IL_00c9: ldloc.0 + IL_00ca: ldc.i4.1 + IL_00cb: add + IL_00cc: stind.i4 + IL_00cd: ldloc.0 + IL_00ce: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d3: nop + IL_00d4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d9: dup + IL_00da: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00df: stloc.0 + IL_00e0: ldloc.0 + IL_00e1: ldc.i4.1 + IL_00e2: add + IL_00e3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00e8: nop + IL_00e9: ldloc.0 + IL_00ea: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ef: nop + IL_00f0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00f5: dup + IL_00f6: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00fb: stloc.0 + IL_00fc: ldloc.0 + IL_00fd: ldc.i4.1 + IL_00fe: add + IL_00ff: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0104: ldloc.0 + IL_0105: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010a: nop + IL_010b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0110: dup + IL_0111: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0116: stloc.0 + IL_0117: ldloc.0 + IL_0118: ldc.i4.1 + IL_0119: add + IL_011a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_011f: nop + IL_0120: ldloc.0 + IL_0121: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0126: nop + IL_0127: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_012c: dup + IL_012d: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0132: stloc.0 + IL_0133: ldloc.0 + IL_0134: ldc.i4.1 + IL_0135: add + IL_0136: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_013b: ldloc.0 + IL_013c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0141: nop + IL_0142: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0147: dup + IL_0148: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_014d: stloc.0 + IL_014e: ldloc.0 + IL_014f: ldc.i4.1 + IL_0150: add + IL_0151: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0156: nop + IL_0157: ldloc.0 + IL_0158: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015d: nop + IL_015e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0163: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0168: dup + IL_0169: ldind.i4 + IL_016a: stloc.0 + IL_016b: ldloc.0 + IL_016c: ldc.i4.1 + IL_016d: add + IL_016e: stind.i4 + IL_016f: ldloc.0 + IL_0170: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0175: nop + IL_0176: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_017b: dup + IL_017c: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0181: stloc.0 + IL_0182: ldloc.0 + IL_0183: ldc.i4.1 + IL_0184: add + IL_0185: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_018a: nop + IL_018b: ldloc.0 + IL_018c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0191: nop + IL_0192: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_0197: dup + IL_0198: ldind.i4 + IL_0199: stloc.0 + IL_019a: ldloc.0 + IL_019b: ldc.i4.1 + IL_019c: add + IL_019d: stind.i4 + IL_019e: ldloc.0 + IL_019f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a4: nop + IL_01a5: ret + } // end of method CompoundAssignmentTest::IntPostIncTest - .method public hidebysig instance void - IntegerWithInline(int32 i) cil managed + .method public hidebysig static void IntPreIncTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 21 (0x15) - .maxstack 8 + // Code size 422 (0x1a6) + .maxstack 3 + .locals init (int32 V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.5 - IL_0003: add - IL_0004: dup - IL_0005: starg.s i - IL_0007: call void [mscorlib]System.Console::WriteLine(int32) - IL_000c: nop - IL_000d: ldarg.1 - IL_000e: call void [mscorlib]System.Console::WriteLine(int32) + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: ldc.i4.1 + IL_0007: add + IL_0008: dup + IL_0009: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) IL_0013: nop - IL_0014: ret - } // end of method CompoundAssignmentTest::IntegerWithInline + IL_0014: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0021: nop + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0027: nop + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_002f: ldc.i4.1 + IL_0030: add + IL_0031: stloc.0 + IL_0032: ldloc.0 + IL_0033: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0038: ldloc.0 + IL_0039: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003e: nop + IL_003f: ldarg.1 + IL_0040: dup + IL_0041: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0046: ldc.i4.1 + IL_0047: add + IL_0048: stloc.0 + IL_0049: ldloc.0 + IL_004a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_004f: nop + IL_0050: ldloc.0 + IL_0051: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0056: nop + IL_0057: ldarga.s s + IL_0059: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_005e: dup + IL_005f: ldind.i4 + IL_0060: ldc.i4.1 + IL_0061: add + IL_0062: stloc.0 + IL_0063: ldloc.0 + IL_0064: stind.i4 + IL_0065: ldloc.0 + IL_0066: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006b: nop + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0074: ldc.i4.1 + IL_0075: add + IL_0076: stloc.0 + IL_0077: ldloc.0 + IL_0078: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_007d: nop + IL_007e: ldloc.0 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: nop + IL_0085: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_008a: dup + IL_008b: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0090: ldc.i4.1 + IL_0091: add + IL_0092: stloc.0 + IL_0093: ldloc.0 + IL_0094: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0099: ldloc.0 + IL_009a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009f: nop + IL_00a0: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a5: dup + IL_00a6: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00ab: ldc.i4.1 + IL_00ac: add + IL_00ad: stloc.0 + IL_00ae: ldloc.0 + IL_00af: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00b4: nop + IL_00b5: ldloc.0 + IL_00b6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00bb: nop + IL_00bc: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c1: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00c6: dup + IL_00c7: ldind.i4 + IL_00c8: ldc.i4.1 + IL_00c9: add + IL_00ca: stloc.0 + IL_00cb: ldloc.0 + IL_00cc: stind.i4 + IL_00cd: ldloc.0 + IL_00ce: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d3: nop + IL_00d4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d9: dup + IL_00da: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00df: ldc.i4.1 + IL_00e0: add + IL_00e1: stloc.0 + IL_00e2: ldloc.0 + IL_00e3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00e8: nop + IL_00e9: ldloc.0 + IL_00ea: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ef: nop + IL_00f0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00f5: dup + IL_00f6: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00fb: ldc.i4.1 + IL_00fc: add + IL_00fd: stloc.0 + IL_00fe: ldloc.0 + IL_00ff: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0104: ldloc.0 + IL_0105: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010a: nop + IL_010b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0110: dup + IL_0111: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0116: ldc.i4.1 + IL_0117: add + IL_0118: stloc.0 + IL_0119: ldloc.0 + IL_011a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_011f: nop + IL_0120: ldloc.0 + IL_0121: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0126: nop + IL_0127: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_012c: dup + IL_012d: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0132: ldc.i4.1 + IL_0133: add + IL_0134: stloc.0 + IL_0135: ldloc.0 + IL_0136: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_013b: ldloc.0 + IL_013c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0141: nop + IL_0142: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0147: dup + IL_0148: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_014d: ldc.i4.1 + IL_014e: add + IL_014f: stloc.0 + IL_0150: ldloc.0 + IL_0151: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0156: nop + IL_0157: ldloc.0 + IL_0158: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015d: nop + IL_015e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0163: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0168: dup + IL_0169: ldind.i4 + IL_016a: ldc.i4.1 + IL_016b: add + IL_016c: stloc.0 + IL_016d: ldloc.0 + IL_016e: stind.i4 + IL_016f: ldloc.0 + IL_0170: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0175: nop + IL_0176: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_017b: dup + IL_017c: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0181: ldc.i4.1 + IL_0182: add + IL_0183: stloc.0 + IL_0184: ldloc.0 + IL_0185: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_018a: nop + IL_018b: ldloc.0 + IL_018c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0191: nop + IL_0192: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_0197: dup + IL_0198: ldind.i4 + IL_0199: ldc.i4.1 + IL_019a: add + IL_019b: stloc.0 + IL_019c: ldloc.0 + IL_019d: stind.i4 + IL_019e: ldloc.0 + IL_019f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a4: nop + IL_01a5: ret + } // end of method CompoundAssignmentTest::IntPreIncTest - .method public hidebysig instance void - IntegerField(int32 i) cil managed + .method public hidebysig static void IntPostDecTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 72 (0x48) + // Code size 422 (0x1a6) .maxstack 3 .locals init (int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 - IL_0008: ldarg.1 - IL_0009: add - IL_000a: dup - IL_000b: stloc.0 - IL_000c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 - IL_0011: ldloc.0 - IL_0012: call void [mscorlib]System.Console::WriteLine(int32) - IL_0017: nop - IL_0018: ldarg.0 - IL_0019: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 - IL_001e: call void [mscorlib]System.Console::WriteLine(int32) - IL_0023: nop - IL_0024: ldarg.0 - IL_0025: ldarg.0 - IL_0026: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 - IL_002b: ldarg.1 - IL_002c: sub - IL_002d: dup - IL_002e: stloc.0 - IL_002f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 - IL_0034: ldloc.0 - IL_0035: call void [mscorlib]System.Console::WriteLine(int32) - IL_003a: nop - IL_003b: ldarg.0 - IL_003c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::test1 - IL_0041: call void [mscorlib]System.Console::WriteLine(int32) - IL_0046: nop - IL_0047: ret - } // end of method CompoundAssignmentTest::IntegerField + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: sub + IL_0009: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: nop + IL_0014: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0019: dup + IL_001a: ldc.i4.1 + IL_001b: sub + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0021: nop + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0027: nop + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_002f: stloc.0 + IL_0030: ldloc.0 + IL_0031: ldc.i4.1 + IL_0032: sub + IL_0033: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0038: ldloc.0 + IL_0039: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003e: nop + IL_003f: ldarg.1 + IL_0040: dup + IL_0041: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0046: stloc.0 + IL_0047: ldloc.0 + IL_0048: ldc.i4.1 + IL_0049: sub + IL_004a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_004f: nop + IL_0050: ldloc.0 + IL_0051: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0056: nop + IL_0057: ldarga.s s + IL_0059: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_005e: dup + IL_005f: ldind.i4 + IL_0060: stloc.0 + IL_0061: ldloc.0 + IL_0062: ldc.i4.1 + IL_0063: sub + IL_0064: stind.i4 + IL_0065: ldloc.0 + IL_0066: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006b: nop + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0074: stloc.0 + IL_0075: ldloc.0 + IL_0076: ldc.i4.1 + IL_0077: sub + IL_0078: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_007d: nop + IL_007e: ldloc.0 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: nop + IL_0085: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_008a: dup + IL_008b: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0090: stloc.0 + IL_0091: ldloc.0 + IL_0092: ldc.i4.1 + IL_0093: sub + IL_0094: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0099: ldloc.0 + IL_009a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009f: nop + IL_00a0: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a5: dup + IL_00a6: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00ab: stloc.0 + IL_00ac: ldloc.0 + IL_00ad: ldc.i4.1 + IL_00ae: sub + IL_00af: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00b4: nop + IL_00b5: ldloc.0 + IL_00b6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00bb: nop + IL_00bc: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c1: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00c6: dup + IL_00c7: ldind.i4 + IL_00c8: stloc.0 + IL_00c9: ldloc.0 + IL_00ca: ldc.i4.1 + IL_00cb: sub + IL_00cc: stind.i4 + IL_00cd: ldloc.0 + IL_00ce: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d3: nop + IL_00d4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d9: dup + IL_00da: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00df: stloc.0 + IL_00e0: ldloc.0 + IL_00e1: ldc.i4.1 + IL_00e2: sub + IL_00e3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00e8: nop + IL_00e9: ldloc.0 + IL_00ea: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ef: nop + IL_00f0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00f5: dup + IL_00f6: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00fb: stloc.0 + IL_00fc: ldloc.0 + IL_00fd: ldc.i4.1 + IL_00fe: sub + IL_00ff: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0104: ldloc.0 + IL_0105: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010a: nop + IL_010b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0110: dup + IL_0111: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0116: stloc.0 + IL_0117: ldloc.0 + IL_0118: ldc.i4.1 + IL_0119: sub + IL_011a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_011f: nop + IL_0120: ldloc.0 + IL_0121: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0126: nop + IL_0127: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_012c: dup + IL_012d: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0132: stloc.0 + IL_0133: ldloc.0 + IL_0134: ldc.i4.1 + IL_0135: sub + IL_0136: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_013b: ldloc.0 + IL_013c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0141: nop + IL_0142: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0147: dup + IL_0148: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_014d: stloc.0 + IL_014e: ldloc.0 + IL_014f: ldc.i4.1 + IL_0150: sub + IL_0151: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0156: nop + IL_0157: ldloc.0 + IL_0158: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015d: nop + IL_015e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0163: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0168: dup + IL_0169: ldind.i4 + IL_016a: stloc.0 + IL_016b: ldloc.0 + IL_016c: ldc.i4.1 + IL_016d: sub + IL_016e: stind.i4 + IL_016f: ldloc.0 + IL_0170: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0175: nop + IL_0176: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_017b: dup + IL_017c: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0181: stloc.0 + IL_0182: ldloc.0 + IL_0183: ldc.i4.1 + IL_0184: sub + IL_0185: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_018a: nop + IL_018b: ldloc.0 + IL_018c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0191: nop + IL_0192: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_0197: dup + IL_0198: ldind.i4 + IL_0199: stloc.0 + IL_019a: ldloc.0 + IL_019b: ldc.i4.1 + IL_019c: sub + IL_019d: stind.i4 + IL_019e: ldloc.0 + IL_019f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a4: nop + IL_01a5: ret + } // end of method CompoundAssignmentTest::IntPostDecTest - .method public hidebysig instance void - Array(int32 i) cil managed + .method public hidebysig static void IntPreDecTest(int32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 58 (0x3a) - .maxstack 4 + // Code size 422 (0x1a6) + .maxstack 3 .locals init (int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::array1 - IL_0007: ldarg.1 - IL_0008: ldelema [mscorlib]System.Int32 - IL_000d: dup - IL_000e: ldind.i4 - IL_000f: ldarg.1 - IL_0010: add - IL_0011: dup - IL_0012: stloc.0 - IL_0013: stind.i4 - IL_0014: ldloc.0 - IL_0015: call void [mscorlib]System.Console::WriteLine(int32) - IL_001a: nop - IL_001b: ldarg.0 - IL_001c: ldfld int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::array1 - IL_0021: ldarg.1 - IL_0022: ldc.i4.2 - IL_0023: mul - IL_0024: ldelema [mscorlib]System.Int32 + IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_0006: ldc.i4.1 + IL_0007: sub + IL_0008: dup + IL_0009: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::intField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: nop + IL_0014: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + IL_0019: ldc.i4.1 + IL_001a: sub + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + IL_0021: nop + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0027: nop + IL_0028: ldarg.1 IL_0029: dup - IL_002a: ldind.i4 - IL_002b: ldarg.1 - IL_002c: ldc.i4.2 - IL_002d: mul - IL_002e: add - IL_002f: dup - IL_0030: stloc.0 - IL_0031: stind.i4 + IL_002a: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_002f: ldc.i4.1 + IL_0030: sub + IL_0031: stloc.0 IL_0032: ldloc.0 - IL_0033: call void [mscorlib]System.Console::WriteLine(int32) - IL_0038: nop - IL_0039: ret - } // end of method CompoundAssignmentTest::Array + IL_0033: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0038: ldloc.0 + IL_0039: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003e: nop + IL_003f: ldarg.1 + IL_0040: dup + IL_0041: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0046: ldc.i4.1 + IL_0047: sub + IL_0048: stloc.0 + IL_0049: ldloc.0 + IL_004a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_004f: nop + IL_0050: ldloc.0 + IL_0051: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0056: nop + IL_0057: ldarga.s s + IL_0059: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_005e: dup + IL_005f: ldind.i4 + IL_0060: ldc.i4.1 + IL_0061: sub + IL_0062: stloc.0 + IL_0063: ldloc.0 + IL_0064: stind.i4 + IL_0065: ldloc.0 + IL_0066: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006b: nop + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0074: ldc.i4.1 + IL_0075: sub + IL_0076: stloc.0 + IL_0077: ldloc.0 + IL_0078: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_007d: nop + IL_007e: ldloc.0 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: nop + IL_0085: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_008a: dup + IL_008b: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0090: ldc.i4.1 + IL_0091: sub + IL_0092: stloc.0 + IL_0093: ldloc.0 + IL_0094: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0099: ldloc.0 + IL_009a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009f: nop + IL_00a0: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a5: dup + IL_00a6: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_00ab: ldc.i4.1 + IL_00ac: sub + IL_00ad: stloc.0 + IL_00ae: ldloc.0 + IL_00af: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_00b4: nop + IL_00b5: ldloc.0 + IL_00b6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00bb: nop + IL_00bc: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c1: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_00c6: dup + IL_00c7: ldind.i4 + IL_00c8: ldc.i4.1 + IL_00c9: sub + IL_00ca: stloc.0 + IL_00cb: ldloc.0 + IL_00cc: stind.i4 + IL_00cd: ldloc.0 + IL_00ce: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d3: nop + IL_00d4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d9: dup + IL_00da: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_00df: ldc.i4.1 + IL_00e0: sub + IL_00e1: stloc.0 + IL_00e2: ldloc.0 + IL_00e3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_00e8: nop + IL_00e9: ldloc.0 + IL_00ea: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ef: nop + IL_00f0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00f5: dup + IL_00f6: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_00fb: ldc.i4.1 + IL_00fc: sub + IL_00fd: stloc.0 + IL_00fe: ldloc.0 + IL_00ff: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0104: ldloc.0 + IL_0105: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010a: nop + IL_010b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0110: dup + IL_0111: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_0116: ldc.i4.1 + IL_0117: sub + IL_0118: stloc.0 + IL_0119: ldloc.0 + IL_011a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_011f: nop + IL_0120: ldloc.0 + IL_0121: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0126: nop + IL_0127: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_012c: dup + IL_012d: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_0132: ldc.i4.1 + IL_0133: sub + IL_0134: stloc.0 + IL_0135: ldloc.0 + IL_0136: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::IntField + IL_013b: ldloc.0 + IL_013c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0141: nop + IL_0142: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0147: dup + IL_0148: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_IntProp() + IL_014d: ldc.i4.1 + IL_014e: sub + IL_014f: stloc.0 + IL_0150: ldloc.0 + IL_0151: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_IntProp(int32) + IL_0156: nop + IL_0157: ldloc.0 + IL_0158: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015d: nop + IL_015e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0163: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::IntField + IL_0168: dup + IL_0169: ldind.i4 + IL_016a: ldc.i4.1 + IL_016b: sub + IL_016c: stloc.0 + IL_016d: ldloc.0 + IL_016e: stind.i4 + IL_016f: ldloc.0 + IL_0170: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0175: nop + IL_0176: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_017b: dup + IL_017c: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_IntProp() + IL_0181: ldc.i4.1 + IL_0182: sub + IL_0183: stloc.0 + IL_0184: ldloc.0 + IL_0185: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_IntProp(int32) + IL_018a: nop + IL_018b: ldloc.0 + IL_018c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0191: nop + IL_0192: call int32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefInt() + IL_0197: dup + IL_0198: ldind.i4 + IL_0199: ldc.i4.1 + IL_019a: sub + IL_019b: stloc.0 + IL_019c: ldloc.0 + IL_019d: stind.i4 + IL_019e: ldloc.0 + IL_019f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a4: nop + IL_01a5: ret + } // end of method CompoundAssignmentTest::IntPreDecTest - .method public hidebysig instance int32 - ArrayUsageWithMethods() cil managed + .method public hidebysig static void UintAddTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 31 (0x1f) + // Code size 273 (0x111) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetArray() - IL_0007: ldarg.0 - IL_0008: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetIndex() - IL_000d: ldelema [mscorlib]System.Int32 - IL_0012: dup - IL_0013: ldind.i4 - IL_0014: stloc.0 - IL_0015: ldloc.0 - IL_0016: ldc.i4.1 - IL_0017: add - IL_0018: stind.i4 - IL_0019: ldloc.0 - IL_001a: stloc.1 - IL_001b: br.s IL_001d - - IL_001d: ldloc.1 - IL_001e: ret - } // end of method CompoundAssignmentTest::ArrayUsageWithMethods + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: ldc.i4.5 + IL_0007: add + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0012: ldc.i4.5 + IL_0013: add + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0021: ldc.i4.5 + IL_0022: add + IL_0023: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002f: ldc.i4.5 + IL_0030: add + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003e: dup + IL_003f: ldind.u4 + IL_0040: ldc.i4.5 + IL_0041: add + IL_0042: stind.i4 + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004b: ldc.i4.5 + IL_004c: add + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0052: nop + IL_0053: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0058: dup + IL_0059: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005e: ldc.i4.5 + IL_005f: add + IL_0060: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0065: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006a: dup + IL_006b: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0070: ldc.i4.5 + IL_0071: add + IL_0072: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0077: nop + IL_0078: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007d: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0082: dup + IL_0083: ldind.u4 + IL_0084: ldc.i4.5 + IL_0085: add + IL_0086: stind.i4 + IL_0087: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008c: dup + IL_008d: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0092: ldc.i4.5 + IL_0093: add + IL_0094: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0099: nop + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a5: ldc.i4.5 + IL_00a6: add + IL_00a7: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b7: ldc.i4.5 + IL_00b8: add + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00be: nop + IL_00bf: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c4: dup + IL_00c5: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ca: ldc.i4.5 + IL_00cb: add + IL_00cc: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00dc: ldc.i4.5 + IL_00dd: add + IL_00de: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e3: nop + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e9: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00ee: dup + IL_00ef: ldind.u4 + IL_00f0: ldc.i4.5 + IL_00f1: add + IL_00f2: stind.i4 + IL_00f3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f8: dup + IL_00f9: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00fe: ldc.i4.5 + IL_00ff: add + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0105: nop + IL_0106: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_010b: dup + IL_010c: ldind.u4 + IL_010d: ldc.i4.5 + IL_010e: add + IL_010f: stind.i4 + IL_0110: ret + } // end of method CompoundAssignmentTest::UintAddTest - .method public hidebysig instance void - NestedField() cil managed + .method public hidebysig static void UintSubtractTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 85 (0x55) + // Code size 273 (0x111) .maxstack 3 - .locals init (bool V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 - IL_0007: ldfld bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::HasIndex - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: brfalse.s IL_0054 + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: ldc.i4.5 + IL_0007: sub + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0012: ldc.i4.5 + IL_0013: sub + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0021: ldc.i4.5 + IL_0022: sub + IL_0023: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002f: ldc.i4.5 + IL_0030: sub + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003e: dup + IL_003f: ldind.u4 + IL_0040: ldc.i4.5 + IL_0041: sub + IL_0042: stind.i4 + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004b: ldc.i4.5 + IL_004c: sub + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0052: nop + IL_0053: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0058: dup + IL_0059: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005e: ldc.i4.5 + IL_005f: sub + IL_0060: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0065: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006a: dup + IL_006b: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0070: ldc.i4.5 + IL_0071: sub + IL_0072: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0077: nop + IL_0078: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007d: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0082: dup + IL_0083: ldind.u4 + IL_0084: ldc.i4.5 + IL_0085: sub + IL_0086: stind.i4 + IL_0087: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008c: dup + IL_008d: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0092: ldc.i4.5 + IL_0093: sub + IL_0094: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0099: nop + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a5: ldc.i4.5 + IL_00a6: sub + IL_00a7: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b7: ldc.i4.5 + IL_00b8: sub + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00be: nop + IL_00bf: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c4: dup + IL_00c5: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ca: ldc.i4.5 + IL_00cb: sub + IL_00cc: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00dc: ldc.i4.5 + IL_00dd: sub + IL_00de: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e3: nop + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e9: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00ee: dup + IL_00ef: ldind.u4 + IL_00f0: ldc.i4.5 + IL_00f1: sub + IL_00f2: stind.i4 + IL_00f3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f8: dup + IL_00f9: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00fe: ldc.i4.5 + IL_00ff: sub + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0105: nop + IL_0106: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_010b: dup + IL_010c: ldind.u4 + IL_010d: ldc.i4.5 + IL_010e: sub + IL_010f: stind.i4 + IL_0110: ret + } // end of method CompoundAssignmentTest::UintSubtractTest - IL_0010: nop - IL_0011: ldarg.0 - IL_0012: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 - IL_0017: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field - IL_001c: dup - IL_001d: ldind.i4 - IL_001e: ldc.i4.2 - IL_001f: mul - IL_0020: dup - IL_0021: stloc.1 - IL_0022: stind.i4 - IL_0023: ldloc.1 - IL_0024: call void [mscorlib]System.Console::WriteLine(int32) - IL_0029: nop - IL_002a: ldarg.0 - IL_002b: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 - IL_0030: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field - IL_0035: dup - IL_0036: ldind.i4 - IL_0037: ldc.i4.1 - IL_0038: add - IL_0039: stind.i4 - IL_003a: ldarg.0 - IL_003b: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::field1 - IL_0040: ldflda int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/StructContainer::Field + .method public hidebysig static void UintMultiplyTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 273 (0x111) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: ldc.i4.5 + IL_0007: mul + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0012: ldc.i4.5 + IL_0013: mul + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0021: ldc.i4.5 + IL_0022: mul + IL_0023: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002f: ldc.i4.5 + IL_0030: mul + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003e: dup + IL_003f: ldind.u4 + IL_0040: ldc.i4.5 + IL_0041: mul + IL_0042: stind.i4 + IL_0043: ldarga.s s IL_0045: dup - IL_0046: ldind.i4 - IL_0047: stloc.1 - IL_0048: ldloc.1 - IL_0049: ldc.i4.1 - IL_004a: add - IL_004b: stind.i4 - IL_004c: ldloc.1 - IL_004d: call void [mscorlib]System.Console::WriteLine(int32) + IL_0046: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004b: ldc.i4.5 + IL_004c: mul + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) IL_0052: nop - IL_0053: nop - IL_0054: ret - } // end of method CompoundAssignmentTest::NestedField + IL_0053: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0058: dup + IL_0059: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005e: ldc.i4.5 + IL_005f: mul + IL_0060: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0065: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006a: dup + IL_006b: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0070: ldc.i4.5 + IL_0071: mul + IL_0072: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0077: nop + IL_0078: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007d: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0082: dup + IL_0083: ldind.u4 + IL_0084: ldc.i4.5 + IL_0085: mul + IL_0086: stind.i4 + IL_0087: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008c: dup + IL_008d: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0092: ldc.i4.5 + IL_0093: mul + IL_0094: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0099: nop + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a5: ldc.i4.5 + IL_00a6: mul + IL_00a7: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b7: ldc.i4.5 + IL_00b8: mul + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00be: nop + IL_00bf: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c4: dup + IL_00c5: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ca: ldc.i4.5 + IL_00cb: mul + IL_00cc: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00dc: ldc.i4.5 + IL_00dd: mul + IL_00de: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e3: nop + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e9: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00ee: dup + IL_00ef: ldind.u4 + IL_00f0: ldc.i4.5 + IL_00f1: mul + IL_00f2: stind.i4 + IL_00f3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f8: dup + IL_00f9: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00fe: ldc.i4.5 + IL_00ff: mul + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0105: nop + IL_0106: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_010b: dup + IL_010c: ldind.u4 + IL_010d: ldc.i4.5 + IL_010e: mul + IL_010f: stind.i4 + IL_0110: ret + } // end of method CompoundAssignmentTest::UintMultiplyTest - .method public hidebysig instance void - Enum() cil managed + .method public hidebysig static void UintDivideTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 59 (0x3b) - .maxstack 8 + // Code size 273 (0x111) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_0008: ldc.i4.2 - IL_0009: or - IL_000a: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_000f: ldarg.0 - IL_0010: ldarg.0 - IL_0011: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_0016: ldc.i4.s -5 - IL_0018: and - IL_0019: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_001e: ldarg.0 - IL_001f: ldarg.0 - IL_0020: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_0025: ldc.i4.2 - IL_0026: add - IL_0027: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_002c: ldarg.0 - IL_002d: ldarg.0 - IL_002e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_0033: ldc.i4.3 - IL_0034: sub - IL_0035: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MyEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::enumField - IL_003a: ret - } // end of method CompoundAssignmentTest::Enum + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: ldc.i4.5 + IL_0007: div.un + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0012: ldc.i4.5 + IL_0013: div.un + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0021: ldc.i4.5 + IL_0022: div.un + IL_0023: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002f: ldc.i4.5 + IL_0030: div.un + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003e: dup + IL_003f: ldind.u4 + IL_0040: ldc.i4.5 + IL_0041: div.un + IL_0042: stind.i4 + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004b: ldc.i4.5 + IL_004c: div.un + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0052: nop + IL_0053: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0058: dup + IL_0059: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005e: ldc.i4.5 + IL_005f: div.un + IL_0060: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0065: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006a: dup + IL_006b: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0070: ldc.i4.5 + IL_0071: div.un + IL_0072: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0077: nop + IL_0078: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007d: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0082: dup + IL_0083: ldind.u4 + IL_0084: ldc.i4.5 + IL_0085: div.un + IL_0086: stind.i4 + IL_0087: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008c: dup + IL_008d: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0092: ldc.i4.5 + IL_0093: div.un + IL_0094: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0099: nop + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a5: ldc.i4.5 + IL_00a6: div.un + IL_00a7: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b7: ldc.i4.5 + IL_00b8: div.un + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00be: nop + IL_00bf: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c4: dup + IL_00c5: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ca: ldc.i4.5 + IL_00cb: div.un + IL_00cc: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00dc: ldc.i4.5 + IL_00dd: div.un + IL_00de: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e3: nop + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e9: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00ee: dup + IL_00ef: ldind.u4 + IL_00f0: ldc.i4.5 + IL_00f1: div.un + IL_00f2: stind.i4 + IL_00f3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f8: dup + IL_00f9: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00fe: ldc.i4.5 + IL_00ff: div.un + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0105: nop + IL_0106: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_010b: dup + IL_010c: ldind.u4 + IL_010d: ldc.i4.5 + IL_010e: div.un + IL_010f: stind.i4 + IL_0110: ret + } // end of method CompoundAssignmentTest::UintDivideTest - .method public hidebysig instance void - ShortEnumTest() cil managed + .method public hidebysig static void UintModulusTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 60 (0x3c) - .maxstack 8 + // Code size 273 (0x111) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_0008: ldc.i4.2 - IL_0009: or - IL_000a: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_000f: ldarg.0 - IL_0010: ldarg.0 - IL_0011: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_0016: ldc.i4.4 - IL_0017: and - IL_0018: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_001d: ldarg.0 - IL_001e: ldarg.0 - IL_001f: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_0024: ldc.i4.2 - IL_0025: add - IL_0026: conv.i2 - IL_0027: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_002c: ldarg.0 - IL_002d: ldarg.0 - IL_002e: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_0033: ldc.i4.3 - IL_0034: sub - IL_0035: conv.i2 - IL_0036: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::shortEnumField - IL_003b: ret - } // end of method CompoundAssignmentTest::ShortEnumTest + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: ldc.i4.5 + IL_0007: rem.un + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0012: ldc.i4.5 + IL_0013: rem.un + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0021: ldc.i4.5 + IL_0022: rem.un + IL_0023: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002f: ldc.i4.5 + IL_0030: rem.un + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003e: dup + IL_003f: ldind.u4 + IL_0040: ldc.i4.5 + IL_0041: rem.un + IL_0042: stind.i4 + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004b: ldc.i4.5 + IL_004c: rem.un + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0052: nop + IL_0053: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0058: dup + IL_0059: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005e: ldc.i4.5 + IL_005f: rem.un + IL_0060: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0065: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006a: dup + IL_006b: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0070: ldc.i4.5 + IL_0071: rem.un + IL_0072: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0077: nop + IL_0078: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007d: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0082: dup + IL_0083: ldind.u4 + IL_0084: ldc.i4.5 + IL_0085: rem.un + IL_0086: stind.i4 + IL_0087: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008c: dup + IL_008d: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0092: ldc.i4.5 + IL_0093: rem.un + IL_0094: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0099: nop + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a5: ldc.i4.5 + IL_00a6: rem.un + IL_00a7: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b7: ldc.i4.5 + IL_00b8: rem.un + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00be: nop + IL_00bf: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c4: dup + IL_00c5: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ca: ldc.i4.5 + IL_00cb: rem.un + IL_00cc: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00dc: ldc.i4.5 + IL_00dd: rem.un + IL_00de: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e3: nop + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e9: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00ee: dup + IL_00ef: ldind.u4 + IL_00f0: ldc.i4.5 + IL_00f1: rem.un + IL_00f2: stind.i4 + IL_00f3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f8: dup + IL_00f9: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00fe: ldc.i4.5 + IL_00ff: rem.un + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0105: nop + IL_0106: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_010b: dup + IL_010c: ldind.u4 + IL_010d: ldc.i4.5 + IL_010e: rem.un + IL_010f: stind.i4 + IL_0110: ret + } // end of method CompoundAssignmentTest::UintModulusTest - .method public hidebysig instance int32 - PreIncrementInAddition(int32 i, - int32 j) cil managed + .method public hidebysig static void UintLeftShiftTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) + // Code size 273 (0x111) .maxstack 3 - .locals init (int32 V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldc.i4.1 - IL_0004: add - IL_0005: dup - IL_0006: starg.s j - IL_0008: add - IL_0009: stloc.0 - IL_000a: br.s IL_000c + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: ldc.i4.5 + IL_0007: shl + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0012: ldc.i4.5 + IL_0013: shl + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0021: ldc.i4.5 + IL_0022: shl + IL_0023: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002f: ldc.i4.5 + IL_0030: shl + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003e: dup + IL_003f: ldind.u4 + IL_0040: ldc.i4.5 + IL_0041: shl + IL_0042: stind.i4 + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004b: ldc.i4.5 + IL_004c: shl + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0052: nop + IL_0053: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0058: dup + IL_0059: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005e: ldc.i4.5 + IL_005f: shl + IL_0060: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0065: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006a: dup + IL_006b: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0070: ldc.i4.5 + IL_0071: shl + IL_0072: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0077: nop + IL_0078: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007d: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0082: dup + IL_0083: ldind.u4 + IL_0084: ldc.i4.5 + IL_0085: shl + IL_0086: stind.i4 + IL_0087: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008c: dup + IL_008d: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0092: ldc.i4.5 + IL_0093: shl + IL_0094: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0099: nop + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a5: ldc.i4.5 + IL_00a6: shl + IL_00a7: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b7: ldc.i4.5 + IL_00b8: shl + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00be: nop + IL_00bf: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c4: dup + IL_00c5: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ca: ldc.i4.5 + IL_00cb: shl + IL_00cc: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00dc: ldc.i4.5 + IL_00dd: shl + IL_00de: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e3: nop + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e9: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00ee: dup + IL_00ef: ldind.u4 + IL_00f0: ldc.i4.5 + IL_00f1: shl + IL_00f2: stind.i4 + IL_00f3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f8: dup + IL_00f9: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00fe: ldc.i4.5 + IL_00ff: shl + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0105: nop + IL_0106: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_010b: dup + IL_010c: ldind.u4 + IL_010d: ldc.i4.5 + IL_010e: shl + IL_010f: stind.i4 + IL_0110: ret + } // end of method CompoundAssignmentTest::UintLeftShiftTest - IL_000c: ldloc.0 - IL_000d: ret - } // end of method CompoundAssignmentTest::PreIncrementInAddition + .method public hidebysig static void UintRightShiftTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 273 (0x111) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: ldc.i4.5 + IL_0007: shr.un + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0012: ldc.i4.5 + IL_0013: shr.un + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0021: ldc.i4.5 + IL_0022: shr.un + IL_0023: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002f: ldc.i4.5 + IL_0030: shr.un + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003e: dup + IL_003f: ldind.u4 + IL_0040: ldc.i4.5 + IL_0041: shr.un + IL_0042: stind.i4 + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004b: ldc.i4.5 + IL_004c: shr.un + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0052: nop + IL_0053: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0058: dup + IL_0059: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005e: ldc.i4.5 + IL_005f: shr.un + IL_0060: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0065: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006a: dup + IL_006b: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0070: ldc.i4.5 + IL_0071: shr.un + IL_0072: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0077: nop + IL_0078: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007d: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0082: dup + IL_0083: ldind.u4 + IL_0084: ldc.i4.5 + IL_0085: shr.un + IL_0086: stind.i4 + IL_0087: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008c: dup + IL_008d: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0092: ldc.i4.5 + IL_0093: shr.un + IL_0094: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0099: nop + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a5: ldc.i4.5 + IL_00a6: shr.un + IL_00a7: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b7: ldc.i4.5 + IL_00b8: shr.un + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00be: nop + IL_00bf: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c4: dup + IL_00c5: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ca: ldc.i4.5 + IL_00cb: shr.un + IL_00cc: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00dc: ldc.i4.5 + IL_00dd: shr.un + IL_00de: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e3: nop + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e9: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00ee: dup + IL_00ef: ldind.u4 + IL_00f0: ldc.i4.5 + IL_00f1: shr.un + IL_00f2: stind.i4 + IL_00f3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f8: dup + IL_00f9: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00fe: ldc.i4.5 + IL_00ff: shr.un + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0105: nop + IL_0106: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_010b: dup + IL_010c: ldind.u4 + IL_010d: ldc.i4.5 + IL_010e: shr.un + IL_010f: stind.i4 + IL_0110: ret + } // end of method CompoundAssignmentTest::UintRightShiftTest - .method public hidebysig instance int32 - PreIncrementArrayElement(int32[] 'array', - int32 pos) cil managed + .method public hidebysig static void UintBitAndTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 21 (0x15) + // Code size 273 (0x111) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldelema [mscorlib]System.Int32 - IL_0008: dup - IL_0009: ldind.i4 - IL_000a: ldc.i4.1 - IL_000b: sub - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: stind.i4 - IL_000f: ldloc.0 - IL_0010: stloc.1 - IL_0011: br.s IL_0013 + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: ldc.i4.5 + IL_0007: and + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0012: ldc.i4.5 + IL_0013: and + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0021: ldc.i4.5 + IL_0022: and + IL_0023: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002f: ldc.i4.5 + IL_0030: and + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003e: dup + IL_003f: ldind.u4 + IL_0040: ldc.i4.5 + IL_0041: and + IL_0042: stind.i4 + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004b: ldc.i4.5 + IL_004c: and + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0052: nop + IL_0053: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0058: dup + IL_0059: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005e: ldc.i4.5 + IL_005f: and + IL_0060: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0065: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006a: dup + IL_006b: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0070: ldc.i4.5 + IL_0071: and + IL_0072: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0077: nop + IL_0078: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007d: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0082: dup + IL_0083: ldind.u4 + IL_0084: ldc.i4.5 + IL_0085: and + IL_0086: stind.i4 + IL_0087: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008c: dup + IL_008d: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0092: ldc.i4.5 + IL_0093: and + IL_0094: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0099: nop + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a5: ldc.i4.5 + IL_00a6: and + IL_00a7: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b7: ldc.i4.5 + IL_00b8: and + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00be: nop + IL_00bf: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c4: dup + IL_00c5: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ca: ldc.i4.5 + IL_00cb: and + IL_00cc: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00dc: ldc.i4.5 + IL_00dd: and + IL_00de: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e3: nop + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e9: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00ee: dup + IL_00ef: ldind.u4 + IL_00f0: ldc.i4.5 + IL_00f1: and + IL_00f2: stind.i4 + IL_00f3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f8: dup + IL_00f9: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00fe: ldc.i4.5 + IL_00ff: and + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0105: nop + IL_0106: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_010b: dup + IL_010c: ldind.u4 + IL_010d: ldc.i4.5 + IL_010e: and + IL_010f: stind.i4 + IL_0110: ret + } // end of method CompoundAssignmentTest::UintBitAndTest - IL_0013: ldloc.1 - IL_0014: ret - } // end of method CompoundAssignmentTest::PreIncrementArrayElement + .method public hidebysig static void UintBitOrTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 273 (0x111) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: ldc.i4.5 + IL_0007: or + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0012: ldc.i4.5 + IL_0013: or + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0021: ldc.i4.5 + IL_0022: or + IL_0023: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002f: ldc.i4.5 + IL_0030: or + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003e: dup + IL_003f: ldind.u4 + IL_0040: ldc.i4.5 + IL_0041: or + IL_0042: stind.i4 + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004b: ldc.i4.5 + IL_004c: or + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0052: nop + IL_0053: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0058: dup + IL_0059: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005e: ldc.i4.5 + IL_005f: or + IL_0060: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0065: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006a: dup + IL_006b: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0070: ldc.i4.5 + IL_0071: or + IL_0072: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0077: nop + IL_0078: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007d: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0082: dup + IL_0083: ldind.u4 + IL_0084: ldc.i4.5 + IL_0085: or + IL_0086: stind.i4 + IL_0087: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008c: dup + IL_008d: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0092: ldc.i4.5 + IL_0093: or + IL_0094: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0099: nop + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a5: ldc.i4.5 + IL_00a6: or + IL_00a7: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b7: ldc.i4.5 + IL_00b8: or + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00be: nop + IL_00bf: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c4: dup + IL_00c5: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ca: ldc.i4.5 + IL_00cb: or + IL_00cc: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00dc: ldc.i4.5 + IL_00dd: or + IL_00de: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e3: nop + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e9: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00ee: dup + IL_00ef: ldind.u4 + IL_00f0: ldc.i4.5 + IL_00f1: or + IL_00f2: stind.i4 + IL_00f3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f8: dup + IL_00f9: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00fe: ldc.i4.5 + IL_00ff: or + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0105: nop + IL_0106: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_010b: dup + IL_010c: ldind.u4 + IL_010d: ldc.i4.5 + IL_010e: or + IL_010f: stind.i4 + IL_0110: ret + } // end of method CompoundAssignmentTest::UintBitOrTest - .method public hidebysig instance int32 - PostIncrementArrayElement(int32[] 'array', - int32 pos) cil managed + .method public hidebysig static void UintBitXorTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 21 (0x15) + // Code size 273 (0x111) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldelema [mscorlib]System.Int32 - IL_0008: dup - IL_0009: ldind.i4 - IL_000a: stloc.0 - IL_000b: ldloc.0 - IL_000c: ldc.i4.1 - IL_000d: add - IL_000e: stind.i4 - IL_000f: ldloc.0 - IL_0010: stloc.1 - IL_0011: br.s IL_0013 + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: ldc.i4.5 + IL_0007: xor + IL_0008: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000d: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0012: ldc.i4.5 + IL_0013: xor + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0021: ldc.i4.5 + IL_0022: xor + IL_0023: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_002f: ldc.i4.5 + IL_0030: xor + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_003e: dup + IL_003f: ldind.u4 + IL_0040: ldc.i4.5 + IL_0041: xor + IL_0042: stind.i4 + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_004b: ldc.i4.5 + IL_004c: xor + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0052: nop + IL_0053: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0058: dup + IL_0059: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_005e: ldc.i4.5 + IL_005f: xor + IL_0060: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0065: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006a: dup + IL_006b: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0070: ldc.i4.5 + IL_0071: xor + IL_0072: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0077: nop + IL_0078: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007d: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0082: dup + IL_0083: ldind.u4 + IL_0084: ldc.i4.5 + IL_0085: xor + IL_0086: stind.i4 + IL_0087: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008c: dup + IL_008d: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0092: ldc.i4.5 + IL_0093: xor + IL_0094: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0099: nop + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00a5: ldc.i4.5 + IL_00a6: xor + IL_00a7: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00b7: ldc.i4.5 + IL_00b8: xor + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00be: nop + IL_00bf: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c4: dup + IL_00c5: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00ca: ldc.i4.5 + IL_00cb: xor + IL_00cc: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00dc: ldc.i4.5 + IL_00dd: xor + IL_00de: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00e3: nop + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e9: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00ee: dup + IL_00ef: ldind.u4 + IL_00f0: ldc.i4.5 + IL_00f1: xor + IL_00f2: stind.i4 + IL_00f3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f8: dup + IL_00f9: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00fe: ldc.i4.5 + IL_00ff: xor + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_0105: nop + IL_0106: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_010b: dup + IL_010c: ldind.u4 + IL_010d: ldc.i4.5 + IL_010e: xor + IL_010f: stind.i4 + IL_0110: ret + } // end of method CompoundAssignmentTest::UintBitXorTest - IL_0013: ldloc.1 - IL_0014: ret - } // end of method CompoundAssignmentTest::PostIncrementArrayElement + .method public hidebysig static void UintPostIncTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 422 (0x1a6) + .maxstack 3 + .locals init (uint32 V_0) + IL_0000: nop + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: add + IL_0009: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: nop + IL_0014: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0019: dup + IL_001a: ldc.i4.1 + IL_001b: add + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0021: nop + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0027: nop + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_002f: stloc.0 + IL_0030: ldloc.0 + IL_0031: ldc.i4.1 + IL_0032: add + IL_0033: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0038: ldloc.0 + IL_0039: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003e: nop + IL_003f: ldarg.1 + IL_0040: dup + IL_0041: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0046: stloc.0 + IL_0047: ldloc.0 + IL_0048: ldc.i4.1 + IL_0049: add + IL_004a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_004f: nop + IL_0050: ldloc.0 + IL_0051: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0056: nop + IL_0057: ldarga.s s + IL_0059: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_005e: dup + IL_005f: ldind.u4 + IL_0060: stloc.0 + IL_0061: ldloc.0 + IL_0062: ldc.i4.1 + IL_0063: add + IL_0064: stind.i4 + IL_0065: ldloc.0 + IL_0066: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006b: nop + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0074: stloc.0 + IL_0075: ldloc.0 + IL_0076: ldc.i4.1 + IL_0077: add + IL_0078: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_007d: nop + IL_007e: ldloc.0 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: nop + IL_0085: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_008a: dup + IL_008b: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0090: stloc.0 + IL_0091: ldloc.0 + IL_0092: ldc.i4.1 + IL_0093: add + IL_0094: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0099: ldloc.0 + IL_009a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009f: nop + IL_00a0: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a5: dup + IL_00a6: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00ab: stloc.0 + IL_00ac: ldloc.0 + IL_00ad: ldc.i4.1 + IL_00ae: add + IL_00af: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00b4: nop + IL_00b5: ldloc.0 + IL_00b6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00bb: nop + IL_00bc: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c1: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00c6: dup + IL_00c7: ldind.u4 + IL_00c8: stloc.0 + IL_00c9: ldloc.0 + IL_00ca: ldc.i4.1 + IL_00cb: add + IL_00cc: stind.i4 + IL_00cd: ldloc.0 + IL_00ce: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d3: nop + IL_00d4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d9: dup + IL_00da: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00df: stloc.0 + IL_00e0: ldloc.0 + IL_00e1: ldc.i4.1 + IL_00e2: add + IL_00e3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00e8: nop + IL_00e9: ldloc.0 + IL_00ea: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ef: nop + IL_00f0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00f5: dup + IL_00f6: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00fb: stloc.0 + IL_00fc: ldloc.0 + IL_00fd: ldc.i4.1 + IL_00fe: add + IL_00ff: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0104: ldloc.0 + IL_0105: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010a: nop + IL_010b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0110: dup + IL_0111: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0116: stloc.0 + IL_0117: ldloc.0 + IL_0118: ldc.i4.1 + IL_0119: add + IL_011a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_011f: nop + IL_0120: ldloc.0 + IL_0121: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0126: nop + IL_0127: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_012c: dup + IL_012d: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0132: stloc.0 + IL_0133: ldloc.0 + IL_0134: ldc.i4.1 + IL_0135: add + IL_0136: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_013b: ldloc.0 + IL_013c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0141: nop + IL_0142: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0147: dup + IL_0148: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_014d: stloc.0 + IL_014e: ldloc.0 + IL_014f: ldc.i4.1 + IL_0150: add + IL_0151: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0156: nop + IL_0157: ldloc.0 + IL_0158: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015d: nop + IL_015e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0163: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0168: dup + IL_0169: ldind.u4 + IL_016a: stloc.0 + IL_016b: ldloc.0 + IL_016c: ldc.i4.1 + IL_016d: add + IL_016e: stind.i4 + IL_016f: ldloc.0 + IL_0170: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0175: nop + IL_0176: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_017b: dup + IL_017c: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0181: stloc.0 + IL_0182: ldloc.0 + IL_0183: ldc.i4.1 + IL_0184: add + IL_0185: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_018a: nop + IL_018b: ldloc.0 + IL_018c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0191: nop + IL_0192: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_0197: dup + IL_0198: ldind.u4 + IL_0199: stloc.0 + IL_019a: ldloc.0 + IL_019b: ldc.i4.1 + IL_019c: add + IL_019d: stind.i4 + IL_019e: ldloc.0 + IL_019f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a4: nop + IL_01a5: ret + } // end of method CompoundAssignmentTest::UintPostIncTest - .method public hidebysig instance void - IncrementArrayElement(int32[] 'array', - int32 pos) cil managed + .method public hidebysig static void UintPreIncTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 + // Code size 422 (0x1a6) + .maxstack 3 + .locals init (uint32 V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldelema [mscorlib]System.Int32 + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: ldc.i4.1 + IL_0007: add IL_0008: dup - IL_0009: ldind.i4 - IL_000a: ldc.i4.1 - IL_000b: add - IL_000c: stind.i4 - IL_000d: ret - } // end of method CompoundAssignmentTest::IncrementArrayElement + IL_0009: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: nop + IL_0014: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0021: nop + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0027: nop + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_002f: ldc.i4.1 + IL_0030: add + IL_0031: stloc.0 + IL_0032: ldloc.0 + IL_0033: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0038: ldloc.0 + IL_0039: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003e: nop + IL_003f: ldarg.1 + IL_0040: dup + IL_0041: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0046: ldc.i4.1 + IL_0047: add + IL_0048: stloc.0 + IL_0049: ldloc.0 + IL_004a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_004f: nop + IL_0050: ldloc.0 + IL_0051: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0056: nop + IL_0057: ldarga.s s + IL_0059: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_005e: dup + IL_005f: ldind.u4 + IL_0060: ldc.i4.1 + IL_0061: add + IL_0062: stloc.0 + IL_0063: ldloc.0 + IL_0064: stind.i4 + IL_0065: ldloc.0 + IL_0066: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006b: nop + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0074: ldc.i4.1 + IL_0075: add + IL_0076: stloc.0 + IL_0077: ldloc.0 + IL_0078: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_007d: nop + IL_007e: ldloc.0 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: nop + IL_0085: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_008a: dup + IL_008b: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0090: ldc.i4.1 + IL_0091: add + IL_0092: stloc.0 + IL_0093: ldloc.0 + IL_0094: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0099: ldloc.0 + IL_009a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009f: nop + IL_00a0: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a5: dup + IL_00a6: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00ab: ldc.i4.1 + IL_00ac: add + IL_00ad: stloc.0 + IL_00ae: ldloc.0 + IL_00af: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00b4: nop + IL_00b5: ldloc.0 + IL_00b6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00bb: nop + IL_00bc: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c1: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00c6: dup + IL_00c7: ldind.u4 + IL_00c8: ldc.i4.1 + IL_00c9: add + IL_00ca: stloc.0 + IL_00cb: ldloc.0 + IL_00cc: stind.i4 + IL_00cd: ldloc.0 + IL_00ce: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d3: nop + IL_00d4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d9: dup + IL_00da: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00df: ldc.i4.1 + IL_00e0: add + IL_00e1: stloc.0 + IL_00e2: ldloc.0 + IL_00e3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00e8: nop + IL_00e9: ldloc.0 + IL_00ea: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ef: nop + IL_00f0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00f5: dup + IL_00f6: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00fb: ldc.i4.1 + IL_00fc: add + IL_00fd: stloc.0 + IL_00fe: ldloc.0 + IL_00ff: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0104: ldloc.0 + IL_0105: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010a: nop + IL_010b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0110: dup + IL_0111: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0116: ldc.i4.1 + IL_0117: add + IL_0118: stloc.0 + IL_0119: ldloc.0 + IL_011a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_011f: nop + IL_0120: ldloc.0 + IL_0121: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0126: nop + IL_0127: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_012c: dup + IL_012d: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0132: ldc.i4.1 + IL_0133: add + IL_0134: stloc.0 + IL_0135: ldloc.0 + IL_0136: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_013b: ldloc.0 + IL_013c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0141: nop + IL_0142: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0147: dup + IL_0148: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_014d: ldc.i4.1 + IL_014e: add + IL_014f: stloc.0 + IL_0150: ldloc.0 + IL_0151: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0156: nop + IL_0157: ldloc.0 + IL_0158: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015d: nop + IL_015e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0163: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0168: dup + IL_0169: ldind.u4 + IL_016a: ldc.i4.1 + IL_016b: add + IL_016c: stloc.0 + IL_016d: ldloc.0 + IL_016e: stind.i4 + IL_016f: ldloc.0 + IL_0170: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0175: nop + IL_0176: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_017b: dup + IL_017c: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0181: ldc.i4.1 + IL_0182: add + IL_0183: stloc.0 + IL_0184: ldloc.0 + IL_0185: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_018a: nop + IL_018b: ldloc.0 + IL_018c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0191: nop + IL_0192: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_0197: dup + IL_0198: ldind.u4 + IL_0199: ldc.i4.1 + IL_019a: add + IL_019b: stloc.0 + IL_019c: ldloc.0 + IL_019d: stind.i4 + IL_019e: ldloc.0 + IL_019f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a4: nop + IL_01a5: ret + } // end of method CompoundAssignmentTest::UintPreIncTest - .method public hidebysig instance void - DoubleArrayElement(int32[] 'array', - int32 pos) cil managed + .method public hidebysig static void UintPostDecTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 + // Code size 422 (0x1a6) + .maxstack 3 + .locals init (uint32 V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldelema [mscorlib]System.Int32 - IL_0008: dup - IL_0009: ldind.i4 - IL_000a: ldc.i4.2 - IL_000b: mul - IL_000c: stind.i4 - IL_000d: ret - } // end of method CompoundAssignmentTest::DoubleArrayElement + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: sub + IL_0009: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: nop + IL_0014: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0019: dup + IL_001a: ldc.i4.1 + IL_001b: sub + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0021: nop + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0027: nop + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_002f: stloc.0 + IL_0030: ldloc.0 + IL_0031: ldc.i4.1 + IL_0032: sub + IL_0033: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0038: ldloc.0 + IL_0039: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003e: nop + IL_003f: ldarg.1 + IL_0040: dup + IL_0041: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0046: stloc.0 + IL_0047: ldloc.0 + IL_0048: ldc.i4.1 + IL_0049: sub + IL_004a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_004f: nop + IL_0050: ldloc.0 + IL_0051: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0056: nop + IL_0057: ldarga.s s + IL_0059: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_005e: dup + IL_005f: ldind.u4 + IL_0060: stloc.0 + IL_0061: ldloc.0 + IL_0062: ldc.i4.1 + IL_0063: sub + IL_0064: stind.i4 + IL_0065: ldloc.0 + IL_0066: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006b: nop + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0074: stloc.0 + IL_0075: ldloc.0 + IL_0076: ldc.i4.1 + IL_0077: sub + IL_0078: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_007d: nop + IL_007e: ldloc.0 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: nop + IL_0085: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_008a: dup + IL_008b: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0090: stloc.0 + IL_0091: ldloc.0 + IL_0092: ldc.i4.1 + IL_0093: sub + IL_0094: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0099: ldloc.0 + IL_009a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009f: nop + IL_00a0: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a5: dup + IL_00a6: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00ab: stloc.0 + IL_00ac: ldloc.0 + IL_00ad: ldc.i4.1 + IL_00ae: sub + IL_00af: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00b4: nop + IL_00b5: ldloc.0 + IL_00b6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00bb: nop + IL_00bc: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c1: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00c6: dup + IL_00c7: ldind.u4 + IL_00c8: stloc.0 + IL_00c9: ldloc.0 + IL_00ca: ldc.i4.1 + IL_00cb: sub + IL_00cc: stind.i4 + IL_00cd: ldloc.0 + IL_00ce: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d3: nop + IL_00d4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d9: dup + IL_00da: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00df: stloc.0 + IL_00e0: ldloc.0 + IL_00e1: ldc.i4.1 + IL_00e2: sub + IL_00e3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00e8: nop + IL_00e9: ldloc.0 + IL_00ea: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ef: nop + IL_00f0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00f5: dup + IL_00f6: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00fb: stloc.0 + IL_00fc: ldloc.0 + IL_00fd: ldc.i4.1 + IL_00fe: sub + IL_00ff: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0104: ldloc.0 + IL_0105: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010a: nop + IL_010b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0110: dup + IL_0111: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0116: stloc.0 + IL_0117: ldloc.0 + IL_0118: ldc.i4.1 + IL_0119: sub + IL_011a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_011f: nop + IL_0120: ldloc.0 + IL_0121: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0126: nop + IL_0127: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_012c: dup + IL_012d: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0132: stloc.0 + IL_0133: ldloc.0 + IL_0134: ldc.i4.1 + IL_0135: sub + IL_0136: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_013b: ldloc.0 + IL_013c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0141: nop + IL_0142: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0147: dup + IL_0148: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_014d: stloc.0 + IL_014e: ldloc.0 + IL_014f: ldc.i4.1 + IL_0150: sub + IL_0151: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0156: nop + IL_0157: ldloc.0 + IL_0158: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015d: nop + IL_015e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0163: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0168: dup + IL_0169: ldind.u4 + IL_016a: stloc.0 + IL_016b: ldloc.0 + IL_016c: ldc.i4.1 + IL_016d: sub + IL_016e: stind.i4 + IL_016f: ldloc.0 + IL_0170: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0175: nop + IL_0176: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_017b: dup + IL_017c: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0181: stloc.0 + IL_0182: ldloc.0 + IL_0183: ldc.i4.1 + IL_0184: sub + IL_0185: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_018a: nop + IL_018b: ldloc.0 + IL_018c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0191: nop + IL_0192: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_0197: dup + IL_0198: ldind.u4 + IL_0199: stloc.0 + IL_019a: ldloc.0 + IL_019b: ldc.i4.1 + IL_019c: sub + IL_019d: stind.i4 + IL_019e: ldloc.0 + IL_019f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a4: nop + IL_01a5: ret + } // end of method CompoundAssignmentTest::UintPostDecTest - .method public hidebysig instance int32 - DoubleArrayElementAndReturn(int32[] 'array', - int32 pos) cil managed + .method public hidebysig static void UintPreDecTest(uint32 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 21 (0x15) + // Code size 422 (0x1a6) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) + .locals init (uint32 V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldelema [mscorlib]System.Int32 + IL_0001: ldsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_0006: ldc.i4.1 + IL_0007: sub IL_0008: dup - IL_0009: ldind.i4 - IL_000a: ldc.i4.2 - IL_000b: mul - IL_000c: dup - IL_000d: stloc.0 - IL_000e: stind.i4 - IL_000f: ldloc.0 - IL_0010: stloc.1 - IL_0011: br.s IL_0013 - - IL_0013: ldloc.1 - IL_0014: ret - } // end of method CompoundAssignmentTest::DoubleArrayElementAndReturn + IL_0009: stsfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::uintField + IL_000e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0013: nop + IL_0014: call uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + IL_0019: ldc.i4.1 + IL_001a: sub + IL_001b: dup + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + IL_0021: nop + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0027: nop + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_002f: ldc.i4.1 + IL_0030: sub + IL_0031: stloc.0 + IL_0032: ldloc.0 + IL_0033: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0038: ldloc.0 + IL_0039: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_003e: nop + IL_003f: ldarg.1 + IL_0040: dup + IL_0041: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0046: ldc.i4.1 + IL_0047: sub + IL_0048: stloc.0 + IL_0049: ldloc.0 + IL_004a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_004f: nop + IL_0050: ldloc.0 + IL_0051: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0056: nop + IL_0057: ldarga.s s + IL_0059: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_005e: dup + IL_005f: ldind.u4 + IL_0060: ldc.i4.1 + IL_0061: sub + IL_0062: stloc.0 + IL_0063: ldloc.0 + IL_0064: stind.i4 + IL_0065: ldloc.0 + IL_0066: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_006b: nop + IL_006c: ldarga.s s + IL_006e: dup + IL_006f: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0074: ldc.i4.1 + IL_0075: sub + IL_0076: stloc.0 + IL_0077: ldloc.0 + IL_0078: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_007d: nop + IL_007e: ldloc.0 + IL_007f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0084: nop + IL_0085: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_008a: dup + IL_008b: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0090: ldc.i4.1 + IL_0091: sub + IL_0092: stloc.0 + IL_0093: ldloc.0 + IL_0094: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0099: ldloc.0 + IL_009a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009f: nop + IL_00a0: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a5: dup + IL_00a6: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_00ab: ldc.i4.1 + IL_00ac: sub + IL_00ad: stloc.0 + IL_00ae: ldloc.0 + IL_00af: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_00b4: nop + IL_00b5: ldloc.0 + IL_00b6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00bb: nop + IL_00bc: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c1: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_00c6: dup + IL_00c7: ldind.u4 + IL_00c8: ldc.i4.1 + IL_00c9: sub + IL_00ca: stloc.0 + IL_00cb: ldloc.0 + IL_00cc: stind.i4 + IL_00cd: ldloc.0 + IL_00ce: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d3: nop + IL_00d4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d9: dup + IL_00da: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_00df: ldc.i4.1 + IL_00e0: sub + IL_00e1: stloc.0 + IL_00e2: ldloc.0 + IL_00e3: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_00e8: nop + IL_00e9: ldloc.0 + IL_00ea: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ef: nop + IL_00f0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00f5: dup + IL_00f6: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_00fb: ldc.i4.1 + IL_00fc: sub + IL_00fd: stloc.0 + IL_00fe: ldloc.0 + IL_00ff: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0104: ldloc.0 + IL_0105: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010a: nop + IL_010b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0110: dup + IL_0111: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_0116: ldc.i4.1 + IL_0117: sub + IL_0118: stloc.0 + IL_0119: ldloc.0 + IL_011a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_011f: nop + IL_0120: ldloc.0 + IL_0121: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0126: nop + IL_0127: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_012c: dup + IL_012d: ldfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_0132: ldc.i4.1 + IL_0133: sub + IL_0134: stloc.0 + IL_0135: ldloc.0 + IL_0136: stfld uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UintField + IL_013b: ldloc.0 + IL_013c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0141: nop + IL_0142: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0147: dup + IL_0148: callvirt instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UintProp() + IL_014d: ldc.i4.1 + IL_014e: sub + IL_014f: stloc.0 + IL_0150: ldloc.0 + IL_0151: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UintProp(uint32) + IL_0156: nop + IL_0157: ldloc.0 + IL_0158: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015d: nop + IL_015e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0163: ldflda uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UintField + IL_0168: dup + IL_0169: ldind.u4 + IL_016a: ldc.i4.1 + IL_016b: sub + IL_016c: stloc.0 + IL_016d: ldloc.0 + IL_016e: stind.i4 + IL_016f: ldloc.0 + IL_0170: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0175: nop + IL_0176: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_017b: dup + IL_017c: call instance uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UintProp() + IL_0181: ldc.i4.1 + IL_0182: sub + IL_0183: stloc.0 + IL_0184: ldloc.0 + IL_0185: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UintProp(uint32) + IL_018a: nop + IL_018b: ldloc.0 + IL_018c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0191: nop + IL_0192: call uint32& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUint() + IL_0197: dup + IL_0198: ldind.u4 + IL_0199: ldc.i4.1 + IL_019a: sub + IL_019b: stloc.0 + IL_019c: ldloc.0 + IL_019d: stind.i4 + IL_019e: ldloc.0 + IL_019f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a4: nop + IL_01a5: ret + } // end of method CompoundAssignmentTest::UintPreDecTest - .method public hidebysig instance int32 - PreIncrementArrayElementShort(int16[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongAddTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 22 (0x16) + // Code size 290 (0x122) .maxstack 3 - .locals init (int16 V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldelema [mscorlib]System.Int16 - IL_0008: dup - IL_0009: ldind.i2 - IL_000a: ldc.i4.1 - IL_000b: sub - IL_000c: conv.i2 - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: stind.i2 - IL_0010: ldloc.0 - IL_0011: stloc.1 - IL_0012: br.s IL_0014 - - IL_0014: ldloc.1 - IL_0015: ret - } // end of method CompoundAssignmentTest::PreIncrementArrayElementShort + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: add + IL_0009: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000e: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: add + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: add + IL_0026: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: add + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0042: dup + IL_0043: ldind.i8 + IL_0044: ldc.i4.5 + IL_0045: conv.i8 + IL_0046: add + IL_0047: stind.i8 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: add + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0064: ldc.i4.5 + IL_0065: conv.i8 + IL_0066: add + IL_0067: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0077: ldc.i4.5 + IL_0078: conv.i8 + IL_0079: add + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_008a: dup + IL_008b: ldind.i8 + IL_008c: ldc.i4.5 + IL_008d: conv.i8 + IL_008e: add + IL_008f: stind.i8 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_009b: ldc.i4.5 + IL_009c: conv.i8 + IL_009d: add + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: add + IL_00b2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: add + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d6: ldc.i4.5 + IL_00d7: conv.i8 + IL_00d8: add + IL_00d9: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e9: ldc.i4.5 + IL_00ea: conv.i8 + IL_00eb: add + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00fc: dup + IL_00fd: ldind.i8 + IL_00fe: ldc.i4.5 + IL_00ff: conv.i8 + IL_0100: add + IL_0101: stind.i8 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_010d: ldc.i4.5 + IL_010e: conv.i8 + IL_010f: add + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0115: nop + IL_0116: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_011b: dup + IL_011c: ldind.i8 + IL_011d: ldc.i4.5 + IL_011e: conv.i8 + IL_011f: add + IL_0120: stind.i8 + IL_0121: ret + } // end of method CompoundAssignmentTest::LongAddTest - .method public hidebysig instance int32 - PostIncrementArrayElementShort(int16[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongSubtractTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 22 (0x16) + // Code size 290 (0x122) .maxstack 3 - .locals init (int16 V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldelema [mscorlib]System.Int16 - IL_0008: dup - IL_0009: ldind.i2 - IL_000a: stloc.0 - IL_000b: ldloc.0 - IL_000c: ldc.i4.1 - IL_000d: add - IL_000e: conv.i2 - IL_000f: stind.i2 - IL_0010: ldloc.0 - IL_0011: stloc.1 - IL_0012: br.s IL_0014 - - IL_0014: ldloc.1 - IL_0015: ret - } // end of method CompoundAssignmentTest::PostIncrementArrayElementShort + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: sub + IL_0009: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000e: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: sub + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: sub + IL_0026: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: sub + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0042: dup + IL_0043: ldind.i8 + IL_0044: ldc.i4.5 + IL_0045: conv.i8 + IL_0046: sub + IL_0047: stind.i8 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: sub + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0064: ldc.i4.5 + IL_0065: conv.i8 + IL_0066: sub + IL_0067: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0077: ldc.i4.5 + IL_0078: conv.i8 + IL_0079: sub + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_008a: dup + IL_008b: ldind.i8 + IL_008c: ldc.i4.5 + IL_008d: conv.i8 + IL_008e: sub + IL_008f: stind.i8 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_009b: ldc.i4.5 + IL_009c: conv.i8 + IL_009d: sub + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: sub + IL_00b2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: sub + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d6: ldc.i4.5 + IL_00d7: conv.i8 + IL_00d8: sub + IL_00d9: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e9: ldc.i4.5 + IL_00ea: conv.i8 + IL_00eb: sub + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00fc: dup + IL_00fd: ldind.i8 + IL_00fe: ldc.i4.5 + IL_00ff: conv.i8 + IL_0100: sub + IL_0101: stind.i8 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_010d: ldc.i4.5 + IL_010e: conv.i8 + IL_010f: sub + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0115: nop + IL_0116: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_011b: dup + IL_011c: ldind.i8 + IL_011d: ldc.i4.5 + IL_011e: conv.i8 + IL_011f: sub + IL_0120: stind.i8 + IL_0121: ret + } // end of method CompoundAssignmentTest::LongSubtractTest - .method public hidebysig instance void - IncrementArrayElementShort(int16[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongMultiplyTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 15 (0xf) - .maxstack 8 + // Code size 290 (0x122) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldelema [mscorlib]System.Int16 - IL_0008: dup - IL_0009: ldind.i2 - IL_000a: ldc.i4.1 - IL_000b: add - IL_000c: conv.i2 - IL_000d: stind.i2 - IL_000e: ret - } // end of method CompoundAssignmentTest::IncrementArrayElementShort + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: mul + IL_0009: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000e: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: mul + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: mul + IL_0026: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: mul + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0042: dup + IL_0043: ldind.i8 + IL_0044: ldc.i4.5 + IL_0045: conv.i8 + IL_0046: mul + IL_0047: stind.i8 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: mul + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0064: ldc.i4.5 + IL_0065: conv.i8 + IL_0066: mul + IL_0067: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0077: ldc.i4.5 + IL_0078: conv.i8 + IL_0079: mul + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_008a: dup + IL_008b: ldind.i8 + IL_008c: ldc.i4.5 + IL_008d: conv.i8 + IL_008e: mul + IL_008f: stind.i8 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_009b: ldc.i4.5 + IL_009c: conv.i8 + IL_009d: mul + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: mul + IL_00b2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: mul + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d6: ldc.i4.5 + IL_00d7: conv.i8 + IL_00d8: mul + IL_00d9: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e9: ldc.i4.5 + IL_00ea: conv.i8 + IL_00eb: mul + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00fc: dup + IL_00fd: ldind.i8 + IL_00fe: ldc.i4.5 + IL_00ff: conv.i8 + IL_0100: mul + IL_0101: stind.i8 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_010d: ldc.i4.5 + IL_010e: conv.i8 + IL_010f: mul + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0115: nop + IL_0116: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_011b: dup + IL_011c: ldind.i8 + IL_011d: ldc.i4.5 + IL_011e: conv.i8 + IL_011f: mul + IL_0120: stind.i8 + IL_0121: ret + } // end of method CompoundAssignmentTest::LongMultiplyTest - .method public hidebysig instance void - DoubleArrayElementShort(int16[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongDivideTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 15 (0xf) - .maxstack 8 + // Code size 290 (0x122) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldelema [mscorlib]System.Int16 - IL_0008: dup - IL_0009: ldind.i2 - IL_000a: ldc.i4.2 - IL_000b: mul - IL_000c: conv.i2 - IL_000d: stind.i2 - IL_000e: ret - } // end of method CompoundAssignmentTest::DoubleArrayElementShort + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: div + IL_0009: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000e: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: div + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: div + IL_0026: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: div + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0042: dup + IL_0043: ldind.i8 + IL_0044: ldc.i4.5 + IL_0045: conv.i8 + IL_0046: div + IL_0047: stind.i8 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: div + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0064: ldc.i4.5 + IL_0065: conv.i8 + IL_0066: div + IL_0067: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0077: ldc.i4.5 + IL_0078: conv.i8 + IL_0079: div + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_008a: dup + IL_008b: ldind.i8 + IL_008c: ldc.i4.5 + IL_008d: conv.i8 + IL_008e: div + IL_008f: stind.i8 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_009b: ldc.i4.5 + IL_009c: conv.i8 + IL_009d: div + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: div + IL_00b2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: div + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d6: ldc.i4.5 + IL_00d7: conv.i8 + IL_00d8: div + IL_00d9: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e9: ldc.i4.5 + IL_00ea: conv.i8 + IL_00eb: div + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00fc: dup + IL_00fd: ldind.i8 + IL_00fe: ldc.i4.5 + IL_00ff: conv.i8 + IL_0100: div + IL_0101: stind.i8 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_010d: ldc.i4.5 + IL_010e: conv.i8 + IL_010f: div + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0115: nop + IL_0116: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_011b: dup + IL_011c: ldind.i8 + IL_011d: ldc.i4.5 + IL_011e: conv.i8 + IL_011f: div + IL_0120: stind.i8 + IL_0121: ret + } // end of method CompoundAssignmentTest::LongDivideTest - .method public hidebysig instance int16 - DoubleArrayElementShortAndReturn(int16[] 'array', - int32 pos) cil managed + .method public hidebysig static void LongModulusTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 22 (0x16) + // Code size 290 (0x122) .maxstack 3 - .locals init (int16 V_0, - int16 V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldelema [mscorlib]System.Int16 - IL_0008: dup - IL_0009: ldind.i2 - IL_000a: ldc.i4.2 - IL_000b: mul - IL_000c: conv.i2 - IL_000d: dup - IL_000e: stloc.0 - IL_000f: stind.i2 - IL_0010: ldloc.0 - IL_0011: stloc.1 - IL_0012: br.s IL_0014 + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: rem + IL_0009: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000e: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: rem + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: rem + IL_0026: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: rem + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0042: dup + IL_0043: ldind.i8 + IL_0044: ldc.i4.5 + IL_0045: conv.i8 + IL_0046: rem + IL_0047: stind.i8 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: rem + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0064: ldc.i4.5 + IL_0065: conv.i8 + IL_0066: rem + IL_0067: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0077: ldc.i4.5 + IL_0078: conv.i8 + IL_0079: rem + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_008a: dup + IL_008b: ldind.i8 + IL_008c: ldc.i4.5 + IL_008d: conv.i8 + IL_008e: rem + IL_008f: stind.i8 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_009b: ldc.i4.5 + IL_009c: conv.i8 + IL_009d: rem + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: rem + IL_00b2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: rem + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d6: ldc.i4.5 + IL_00d7: conv.i8 + IL_00d8: rem + IL_00d9: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e9: ldc.i4.5 + IL_00ea: conv.i8 + IL_00eb: rem + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00fc: dup + IL_00fd: ldind.i8 + IL_00fe: ldc.i4.5 + IL_00ff: conv.i8 + IL_0100: rem + IL_0101: stind.i8 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_010d: ldc.i4.5 + IL_010e: conv.i8 + IL_010f: rem + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0115: nop + IL_0116: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_011b: dup + IL_011c: ldind.i8 + IL_011d: ldc.i4.5 + IL_011e: conv.i8 + IL_011f: rem + IL_0120: stind.i8 + IL_0121: ret + } // end of method CompoundAssignmentTest::LongModulusTest - IL_0014: ldloc.1 - IL_0015: ret - } // end of method CompoundAssignmentTest::DoubleArrayElementShortAndReturn + .method public hidebysig static void LongLeftShiftTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 273 (0x111) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: ldc.i4.5 + IL_0007: shl + IL_0008: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000d: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0012: ldc.i4.5 + IL_0013: shl + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0021: ldc.i4.5 + IL_0022: shl + IL_0023: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_002f: ldc.i4.5 + IL_0030: shl + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_003e: dup + IL_003f: ldind.i8 + IL_0040: ldc.i4.5 + IL_0041: shl + IL_0042: stind.i8 + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_004b: ldc.i4.5 + IL_004c: shl + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0052: nop + IL_0053: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0058: dup + IL_0059: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_005e: ldc.i4.5 + IL_005f: shl + IL_0060: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0065: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006a: dup + IL_006b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0070: ldc.i4.5 + IL_0071: shl + IL_0072: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0077: nop + IL_0078: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007d: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0082: dup + IL_0083: ldind.i8 + IL_0084: ldc.i4.5 + IL_0085: shl + IL_0086: stind.i8 + IL_0087: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008c: dup + IL_008d: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0092: ldc.i4.5 + IL_0093: shl + IL_0094: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0099: nop + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00a5: ldc.i4.5 + IL_00a6: shl + IL_00a7: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00b7: ldc.i4.5 + IL_00b8: shl + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00be: nop + IL_00bf: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c4: dup + IL_00c5: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00ca: ldc.i4.5 + IL_00cb: shl + IL_00cc: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00dc: ldc.i4.5 + IL_00dd: shl + IL_00de: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00e3: nop + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e9: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00ee: dup + IL_00ef: ldind.i8 + IL_00f0: ldc.i4.5 + IL_00f1: shl + IL_00f2: stind.i8 + IL_00f3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f8: dup + IL_00f9: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00fe: ldc.i4.5 + IL_00ff: shl + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0105: nop + IL_0106: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_010b: dup + IL_010c: ldind.i8 + IL_010d: ldc.i4.5 + IL_010e: shl + IL_010f: stind.i8 + IL_0110: ret + } // end of method CompoundAssignmentTest::LongLeftShiftTest - .method public hidebysig instance int32 - PreIncrementInstanceField() cil managed + .method public hidebysig static void LongRightShiftTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 28 (0x1c) + // Code size 273 (0x111) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_000d: ldc.i4.1 - IL_000e: add - IL_000f: stloc.0 - IL_0010: ldloc.0 - IL_0011: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0016: ldloc.0 - IL_0017: stloc.1 - IL_0018: br.s IL_001a + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: ldc.i4.5 + IL_0007: shr + IL_0008: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000d: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0012: ldc.i4.5 + IL_0013: shr + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0021: ldc.i4.5 + IL_0022: shr + IL_0023: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_002f: ldc.i4.5 + IL_0030: shr + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_003e: dup + IL_003f: ldind.i8 + IL_0040: ldc.i4.5 + IL_0041: shr + IL_0042: stind.i8 + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_004b: ldc.i4.5 + IL_004c: shr + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0052: nop + IL_0053: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0058: dup + IL_0059: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_005e: ldc.i4.5 + IL_005f: shr + IL_0060: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0065: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006a: dup + IL_006b: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0070: ldc.i4.5 + IL_0071: shr + IL_0072: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0077: nop + IL_0078: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007d: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0082: dup + IL_0083: ldind.i8 + IL_0084: ldc.i4.5 + IL_0085: shr + IL_0086: stind.i8 + IL_0087: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008c: dup + IL_008d: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0092: ldc.i4.5 + IL_0093: shr + IL_0094: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0099: nop + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00a5: ldc.i4.5 + IL_00a6: shr + IL_00a7: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00b7: ldc.i4.5 + IL_00b8: shr + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00be: nop + IL_00bf: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c4: dup + IL_00c5: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00ca: ldc.i4.5 + IL_00cb: shr + IL_00cc: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00dc: ldc.i4.5 + IL_00dd: shr + IL_00de: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00e3: nop + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e9: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00ee: dup + IL_00ef: ldind.i8 + IL_00f0: ldc.i4.5 + IL_00f1: shr + IL_00f2: stind.i8 + IL_00f3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f8: dup + IL_00f9: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00fe: ldc.i4.5 + IL_00ff: shr + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0105: nop + IL_0106: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_010b: dup + IL_010c: ldind.i8 + IL_010d: ldc.i4.5 + IL_010e: shr + IL_010f: stind.i8 + IL_0110: ret + } // end of method CompoundAssignmentTest::LongRightShiftTest - IL_001a: ldloc.1 - IL_001b: ret - } // end of method CompoundAssignmentTest::PreIncrementInstanceField + .method public hidebysig static void LongBitAndTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: and + IL_0009: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000e: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: and + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: and + IL_0026: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: and + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0042: dup + IL_0043: ldind.i8 + IL_0044: ldc.i4.5 + IL_0045: conv.i8 + IL_0046: and + IL_0047: stind.i8 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: and + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0064: ldc.i4.5 + IL_0065: conv.i8 + IL_0066: and + IL_0067: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0077: ldc.i4.5 + IL_0078: conv.i8 + IL_0079: and + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_008a: dup + IL_008b: ldind.i8 + IL_008c: ldc.i4.5 + IL_008d: conv.i8 + IL_008e: and + IL_008f: stind.i8 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_009b: ldc.i4.5 + IL_009c: conv.i8 + IL_009d: and + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: and + IL_00b2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: and + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d6: ldc.i4.5 + IL_00d7: conv.i8 + IL_00d8: and + IL_00d9: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e9: ldc.i4.5 + IL_00ea: conv.i8 + IL_00eb: and + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00fc: dup + IL_00fd: ldind.i8 + IL_00fe: ldc.i4.5 + IL_00ff: conv.i8 + IL_0100: and + IL_0101: stind.i8 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_010d: ldc.i4.5 + IL_010e: conv.i8 + IL_010f: and + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0115: nop + IL_0116: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_011b: dup + IL_011c: ldind.i8 + IL_011d: ldc.i4.5 + IL_011e: conv.i8 + IL_011f: and + IL_0120: stind.i8 + IL_0121: ret + } // end of method CompoundAssignmentTest::LongBitAndTest - .method public hidebysig instance int32 - PostIncrementInstanceField() cil managed + .method public hidebysig static void LongBitOrTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 28 (0x1c) + // Code size 290 (0x122) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: ldc.i4.1 - IL_0010: add - IL_0011: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0016: ldloc.0 - IL_0017: stloc.1 - IL_0018: br.s IL_001a + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: or + IL_0009: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000e: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: or + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: or + IL_0026: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: or + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0042: dup + IL_0043: ldind.i8 + IL_0044: ldc.i4.5 + IL_0045: conv.i8 + IL_0046: or + IL_0047: stind.i8 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: or + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0064: ldc.i4.5 + IL_0065: conv.i8 + IL_0066: or + IL_0067: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0077: ldc.i4.5 + IL_0078: conv.i8 + IL_0079: or + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_008a: dup + IL_008b: ldind.i8 + IL_008c: ldc.i4.5 + IL_008d: conv.i8 + IL_008e: or + IL_008f: stind.i8 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_009b: ldc.i4.5 + IL_009c: conv.i8 + IL_009d: or + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: or + IL_00b2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: or + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d6: ldc.i4.5 + IL_00d7: conv.i8 + IL_00d8: or + IL_00d9: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e9: ldc.i4.5 + IL_00ea: conv.i8 + IL_00eb: or + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00fc: dup + IL_00fd: ldind.i8 + IL_00fe: ldc.i4.5 + IL_00ff: conv.i8 + IL_0100: or + IL_0101: stind.i8 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_010d: ldc.i4.5 + IL_010e: conv.i8 + IL_010f: or + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0115: nop + IL_0116: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_011b: dup + IL_011c: ldind.i8 + IL_011d: ldc.i4.5 + IL_011e: conv.i8 + IL_011f: or + IL_0120: stind.i8 + IL_0121: ret + } // end of method CompoundAssignmentTest::LongBitOrTest - IL_001a: ldloc.1 - IL_001b: ret - } // end of method CompoundAssignmentTest::PostIncrementInstanceField + .method public hidebysig static void LongBitXorTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: xor + IL_0009: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000e: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: xor + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: xor + IL_0026: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: xor + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0042: dup + IL_0043: ldind.i8 + IL_0044: ldc.i4.5 + IL_0045: conv.i8 + IL_0046: xor + IL_0047: stind.i8 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: xor + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0064: ldc.i4.5 + IL_0065: conv.i8 + IL_0066: xor + IL_0067: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0077: ldc.i4.5 + IL_0078: conv.i8 + IL_0079: xor + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_008a: dup + IL_008b: ldind.i8 + IL_008c: ldc.i4.5 + IL_008d: conv.i8 + IL_008e: xor + IL_008f: stind.i8 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_009b: ldc.i4.5 + IL_009c: conv.i8 + IL_009d: xor + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: xor + IL_00b2: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: xor + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00d6: ldc.i4.5 + IL_00d7: conv.i8 + IL_00d8: xor + IL_00d9: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00e9: ldc.i4.5 + IL_00ea: conv.i8 + IL_00eb: xor + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00fc: dup + IL_00fd: ldind.i8 + IL_00fe: ldc.i4.5 + IL_00ff: conv.i8 + IL_0100: xor + IL_0101: stind.i8 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_010d: ldc.i4.5 + IL_010e: conv.i8 + IL_010f: xor + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0115: nop + IL_0116: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_011b: dup + IL_011c: ldind.i8 + IL_011d: ldc.i4.5 + IL_011e: conv.i8 + IL_011f: xor + IL_0120: stind.i8 + IL_0121: ret + } // end of method CompoundAssignmentTest::LongBitXorTest - .method public hidebysig instance void - IncrementInstanceField() cil managed + .method public hidebysig static void LongPostIncTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 21 (0x15) - .maxstack 8 + // Code size 439 (0x1b7) + .maxstack 3 + .locals init (int64 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_000d: ldc.i4.1 - IL_000e: add - IL_000f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0014: ret - } // end of method CompoundAssignmentTest::IncrementInstanceField + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: conv.i8 + IL_0009: add + IL_000a: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_001a: dup + IL_001b: ldc.i4.1 + IL_001c: conv.i8 + IL_001d: add + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0031: stloc.0 + IL_0032: ldloc.0 + IL_0033: ldc.i4.1 + IL_0034: conv.i8 + IL_0035: add + IL_0036: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0049: stloc.0 + IL_004a: ldloc.0 + IL_004b: ldc.i4.1 + IL_004c: conv.i8 + IL_004d: add + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0062: dup + IL_0063: ldind.i8 + IL_0064: stloc.0 + IL_0065: ldloc.0 + IL_0066: ldc.i4.1 + IL_0067: conv.i8 + IL_0068: add + IL_0069: stind.i8 + IL_006a: ldloc.0 + IL_006b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0070: nop + IL_0071: ldarga.s s + IL_0073: dup + IL_0074: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0079: stloc.0 + IL_007a: ldloc.0 + IL_007b: ldc.i4.1 + IL_007c: conv.i8 + IL_007d: add + IL_007e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008a: nop + IL_008b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0090: dup + IL_0091: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0096: stloc.0 + IL_0097: ldloc.0 + IL_0098: ldc.i4.1 + IL_0099: conv.i8 + IL_009a: add + IL_009b: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00a0: ldloc.0 + IL_00a1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a6: nop + IL_00a7: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ac: dup + IL_00ad: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00b2: stloc.0 + IL_00b3: ldloc.0 + IL_00b4: ldc.i4.1 + IL_00b5: conv.i8 + IL_00b6: add + IL_00b7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c3: nop + IL_00c4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c9: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00ce: dup + IL_00cf: ldind.i8 + IL_00d0: stloc.0 + IL_00d1: ldloc.0 + IL_00d2: ldc.i4.1 + IL_00d3: conv.i8 + IL_00d4: add + IL_00d5: stind.i8 + IL_00d6: ldloc.0 + IL_00d7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00dc: nop + IL_00dd: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e2: dup + IL_00e3: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00e8: stloc.0 + IL_00e9: ldloc.0 + IL_00ea: ldc.i4.1 + IL_00eb: conv.i8 + IL_00ec: add + IL_00ed: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00f2: nop + IL_00f3: ldloc.0 + IL_00f4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f9: nop + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0105: stloc.0 + IL_0106: ldloc.0 + IL_0107: ldc.i4.1 + IL_0108: conv.i8 + IL_0109: add + IL_010a: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_010f: ldloc.0 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: nop + IL_0116: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011b: dup + IL_011c: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0121: stloc.0 + IL_0122: ldloc.0 + IL_0123: ldc.i4.1 + IL_0124: conv.i8 + IL_0125: add + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: nop + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0138: dup + IL_0139: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_013e: stloc.0 + IL_013f: ldloc.0 + IL_0140: ldc.i4.1 + IL_0141: conv.i8 + IL_0142: add + IL_0143: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0148: ldloc.0 + IL_0149: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014e: nop + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_015a: stloc.0 + IL_015b: ldloc.0 + IL_015c: ldc.i4.1 + IL_015d: conv.i8 + IL_015e: add + IL_015f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016b: nop + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0171: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0176: dup + IL_0177: ldind.i8 + IL_0178: stloc.0 + IL_0179: ldloc.0 + IL_017a: ldc.i4.1 + IL_017b: conv.i8 + IL_017c: add + IL_017d: stind.i8 + IL_017e: ldloc.0 + IL_017f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0184: nop + IL_0185: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018a: dup + IL_018b: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0190: stloc.0 + IL_0191: ldloc.0 + IL_0192: ldc.i4.1 + IL_0193: conv.i8 + IL_0194: add + IL_0195: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_019a: nop + IL_019b: ldloc.0 + IL_019c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a1: nop + IL_01a2: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_01a7: dup + IL_01a8: ldind.i8 + IL_01a9: stloc.0 + IL_01aa: ldloc.0 + IL_01ab: ldc.i4.1 + IL_01ac: conv.i8 + IL_01ad: add + IL_01ae: stind.i8 + IL_01af: ldloc.0 + IL_01b0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01b5: nop + IL_01b6: ret + } // end of method CompoundAssignmentTest::LongPostIncTest - .method public hidebysig instance void - DoubleInstanceField() cil managed + .method public hidebysig static void LongPreIncTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 21 (0x15) - .maxstack 8 + // Code size 439 (0x1b7) + .maxstack 3 + .locals init (int64 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_000d: ldc.i4.2 - IL_000e: mul - IL_000f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0014: ret - } // end of method CompoundAssignmentTest::DoubleInstanceField + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: ldc.i4.1 + IL_0007: conv.i8 + IL_0008: add + IL_0009: dup + IL_000a: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_001a: ldc.i4.1 + IL_001b: conv.i8 + IL_001c: add + IL_001d: dup + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0031: ldc.i4.1 + IL_0032: conv.i8 + IL_0033: add + IL_0034: stloc.0 + IL_0035: ldloc.0 + IL_0036: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0049: ldc.i4.1 + IL_004a: conv.i8 + IL_004b: add + IL_004c: stloc.0 + IL_004d: ldloc.0 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0062: dup + IL_0063: ldind.i8 + IL_0064: ldc.i4.1 + IL_0065: conv.i8 + IL_0066: add + IL_0067: stloc.0 + IL_0068: ldloc.0 + IL_0069: stind.i8 + IL_006a: ldloc.0 + IL_006b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0070: nop + IL_0071: ldarga.s s + IL_0073: dup + IL_0074: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0079: ldc.i4.1 + IL_007a: conv.i8 + IL_007b: add + IL_007c: stloc.0 + IL_007d: ldloc.0 + IL_007e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008a: nop + IL_008b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0090: dup + IL_0091: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0096: ldc.i4.1 + IL_0097: conv.i8 + IL_0098: add + IL_0099: stloc.0 + IL_009a: ldloc.0 + IL_009b: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00a0: ldloc.0 + IL_00a1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a6: nop + IL_00a7: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ac: dup + IL_00ad: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00b2: ldc.i4.1 + IL_00b3: conv.i8 + IL_00b4: add + IL_00b5: stloc.0 + IL_00b6: ldloc.0 + IL_00b7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c3: nop + IL_00c4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c9: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00ce: dup + IL_00cf: ldind.i8 + IL_00d0: ldc.i4.1 + IL_00d1: conv.i8 + IL_00d2: add + IL_00d3: stloc.0 + IL_00d4: ldloc.0 + IL_00d5: stind.i8 + IL_00d6: ldloc.0 + IL_00d7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00dc: nop + IL_00dd: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e2: dup + IL_00e3: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00e8: ldc.i4.1 + IL_00e9: conv.i8 + IL_00ea: add + IL_00eb: stloc.0 + IL_00ec: ldloc.0 + IL_00ed: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00f2: nop + IL_00f3: ldloc.0 + IL_00f4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f9: nop + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0105: ldc.i4.1 + IL_0106: conv.i8 + IL_0107: add + IL_0108: stloc.0 + IL_0109: ldloc.0 + IL_010a: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_010f: ldloc.0 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: nop + IL_0116: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011b: dup + IL_011c: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0121: ldc.i4.1 + IL_0122: conv.i8 + IL_0123: add + IL_0124: stloc.0 + IL_0125: ldloc.0 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: nop + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0138: dup + IL_0139: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_013e: ldc.i4.1 + IL_013f: conv.i8 + IL_0140: add + IL_0141: stloc.0 + IL_0142: ldloc.0 + IL_0143: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0148: ldloc.0 + IL_0149: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014e: nop + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_015a: ldc.i4.1 + IL_015b: conv.i8 + IL_015c: add + IL_015d: stloc.0 + IL_015e: ldloc.0 + IL_015f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016b: nop + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0171: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0176: dup + IL_0177: ldind.i8 + IL_0178: ldc.i4.1 + IL_0179: conv.i8 + IL_017a: add + IL_017b: stloc.0 + IL_017c: ldloc.0 + IL_017d: stind.i8 + IL_017e: ldloc.0 + IL_017f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0184: nop + IL_0185: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018a: dup + IL_018b: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0190: ldc.i4.1 + IL_0191: conv.i8 + IL_0192: add + IL_0193: stloc.0 + IL_0194: ldloc.0 + IL_0195: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_019a: nop + IL_019b: ldloc.0 + IL_019c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a1: nop + IL_01a2: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_01a7: dup + IL_01a8: ldind.i8 + IL_01a9: ldc.i4.1 + IL_01aa: conv.i8 + IL_01ab: add + IL_01ac: stloc.0 + IL_01ad: ldloc.0 + IL_01ae: stind.i8 + IL_01af: ldloc.0 + IL_01b0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01b5: nop + IL_01b6: ret + } // end of method CompoundAssignmentTest::LongPreIncTest - .method public hidebysig instance int32 - DoubleInstanceFieldAndReturn() cil managed + .method public hidebysig static void LongPostDecTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 28 (0x1c) + // Code size 439 (0x1b7) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) + .locals init (int64 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_000d: ldc.i4.2 - IL_000e: mul - IL_000f: dup - IL_0010: stloc.0 - IL_0011: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0016: ldloc.0 - IL_0017: stloc.1 - IL_0018: br.s IL_001a - - IL_001a: ldloc.1 - IL_001b: ret - } // end of method CompoundAssignmentTest::DoubleInstanceFieldAndReturn + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: conv.i8 + IL_0009: sub + IL_000a: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_001a: dup + IL_001b: ldc.i4.1 + IL_001c: conv.i8 + IL_001d: sub + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0031: stloc.0 + IL_0032: ldloc.0 + IL_0033: ldc.i4.1 + IL_0034: conv.i8 + IL_0035: sub + IL_0036: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0049: stloc.0 + IL_004a: ldloc.0 + IL_004b: ldc.i4.1 + IL_004c: conv.i8 + IL_004d: sub + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0062: dup + IL_0063: ldind.i8 + IL_0064: stloc.0 + IL_0065: ldloc.0 + IL_0066: ldc.i4.1 + IL_0067: conv.i8 + IL_0068: sub + IL_0069: stind.i8 + IL_006a: ldloc.0 + IL_006b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0070: nop + IL_0071: ldarga.s s + IL_0073: dup + IL_0074: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0079: stloc.0 + IL_007a: ldloc.0 + IL_007b: ldc.i4.1 + IL_007c: conv.i8 + IL_007d: sub + IL_007e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008a: nop + IL_008b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0090: dup + IL_0091: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0096: stloc.0 + IL_0097: ldloc.0 + IL_0098: ldc.i4.1 + IL_0099: conv.i8 + IL_009a: sub + IL_009b: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00a0: ldloc.0 + IL_00a1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a6: nop + IL_00a7: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ac: dup + IL_00ad: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00b2: stloc.0 + IL_00b3: ldloc.0 + IL_00b4: ldc.i4.1 + IL_00b5: conv.i8 + IL_00b6: sub + IL_00b7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c3: nop + IL_00c4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c9: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00ce: dup + IL_00cf: ldind.i8 + IL_00d0: stloc.0 + IL_00d1: ldloc.0 + IL_00d2: ldc.i4.1 + IL_00d3: conv.i8 + IL_00d4: sub + IL_00d5: stind.i8 + IL_00d6: ldloc.0 + IL_00d7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00dc: nop + IL_00dd: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e2: dup + IL_00e3: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00e8: stloc.0 + IL_00e9: ldloc.0 + IL_00ea: ldc.i4.1 + IL_00eb: conv.i8 + IL_00ec: sub + IL_00ed: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00f2: nop + IL_00f3: ldloc.0 + IL_00f4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f9: nop + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0105: stloc.0 + IL_0106: ldloc.0 + IL_0107: ldc.i4.1 + IL_0108: conv.i8 + IL_0109: sub + IL_010a: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_010f: ldloc.0 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: nop + IL_0116: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011b: dup + IL_011c: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0121: stloc.0 + IL_0122: ldloc.0 + IL_0123: ldc.i4.1 + IL_0124: conv.i8 + IL_0125: sub + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: nop + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0138: dup + IL_0139: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_013e: stloc.0 + IL_013f: ldloc.0 + IL_0140: ldc.i4.1 + IL_0141: conv.i8 + IL_0142: sub + IL_0143: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0148: ldloc.0 + IL_0149: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014e: nop + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_015a: stloc.0 + IL_015b: ldloc.0 + IL_015c: ldc.i4.1 + IL_015d: conv.i8 + IL_015e: sub + IL_015f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016b: nop + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0171: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0176: dup + IL_0177: ldind.i8 + IL_0178: stloc.0 + IL_0179: ldloc.0 + IL_017a: ldc.i4.1 + IL_017b: conv.i8 + IL_017c: sub + IL_017d: stind.i8 + IL_017e: ldloc.0 + IL_017f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0184: nop + IL_0185: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018a: dup + IL_018b: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0190: stloc.0 + IL_0191: ldloc.0 + IL_0192: ldc.i4.1 + IL_0193: conv.i8 + IL_0194: sub + IL_0195: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_019a: nop + IL_019b: ldloc.0 + IL_019c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a1: nop + IL_01a2: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_01a7: dup + IL_01a8: ldind.i8 + IL_01a9: stloc.0 + IL_01aa: ldloc.0 + IL_01ab: ldc.i4.1 + IL_01ac: conv.i8 + IL_01ad: sub + IL_01ae: stind.i8 + IL_01af: ldloc.0 + IL_01b0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01b5: nop + IL_01b6: ret + } // end of method CompoundAssignmentTest::LongPostDecTest - .method public hidebysig instance int32 - PreIncrementInstanceField2(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass m) cil managed + .method public hidebysig static void LongPreDecTest(int64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 23 (0x17) + // Code size 439 (0x1b7) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) + .locals init (int64 V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: dup - IL_0003: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0008: ldc.i4.1 - IL_0009: add - IL_000a: stloc.0 - IL_000b: ldloc.0 - IL_000c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0011: ldloc.0 - IL_0012: stloc.1 - IL_0013: br.s IL_0015 - - IL_0015: ldloc.1 - IL_0016: ret - } // end of method CompoundAssignmentTest::PreIncrementInstanceField2 + IL_0001: ldsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_0006: ldc.i4.1 + IL_0007: conv.i8 + IL_0008: sub + IL_0009: dup + IL_000a: stsfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::longField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + IL_001a: ldc.i4.1 + IL_001b: conv.i8 + IL_001c: sub + IL_001d: dup + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0031: ldc.i4.1 + IL_0032: conv.i8 + IL_0033: sub + IL_0034: stloc.0 + IL_0035: ldloc.0 + IL_0036: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0049: ldc.i4.1 + IL_004a: conv.i8 + IL_004b: sub + IL_004c: stloc.0 + IL_004d: ldloc.0 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0062: dup + IL_0063: ldind.i8 + IL_0064: ldc.i4.1 + IL_0065: conv.i8 + IL_0066: sub + IL_0067: stloc.0 + IL_0068: ldloc.0 + IL_0069: stind.i8 + IL_006a: ldloc.0 + IL_006b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0070: nop + IL_0071: ldarga.s s + IL_0073: dup + IL_0074: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0079: ldc.i4.1 + IL_007a: conv.i8 + IL_007b: sub + IL_007c: stloc.0 + IL_007d: ldloc.0 + IL_007e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008a: nop + IL_008b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0090: dup + IL_0091: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0096: ldc.i4.1 + IL_0097: conv.i8 + IL_0098: sub + IL_0099: stloc.0 + IL_009a: ldloc.0 + IL_009b: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_00a0: ldloc.0 + IL_00a1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a6: nop + IL_00a7: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ac: dup + IL_00ad: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_00b2: ldc.i4.1 + IL_00b3: conv.i8 + IL_00b4: sub + IL_00b5: stloc.0 + IL_00b6: ldloc.0 + IL_00b7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c3: nop + IL_00c4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c9: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_00ce: dup + IL_00cf: ldind.i8 + IL_00d0: ldc.i4.1 + IL_00d1: conv.i8 + IL_00d2: sub + IL_00d3: stloc.0 + IL_00d4: ldloc.0 + IL_00d5: stind.i8 + IL_00d6: ldloc.0 + IL_00d7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00dc: nop + IL_00dd: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e2: dup + IL_00e3: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_00e8: ldc.i4.1 + IL_00e9: conv.i8 + IL_00ea: sub + IL_00eb: stloc.0 + IL_00ec: ldloc.0 + IL_00ed: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_00f2: nop + IL_00f3: ldloc.0 + IL_00f4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f9: nop + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0105: ldc.i4.1 + IL_0106: conv.i8 + IL_0107: sub + IL_0108: stloc.0 + IL_0109: ldloc.0 + IL_010a: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_010f: ldloc.0 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: nop + IL_0116: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011b: dup + IL_011c: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_0121: ldc.i4.1 + IL_0122: conv.i8 + IL_0123: sub + IL_0124: stloc.0 + IL_0125: ldloc.0 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: nop + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0138: dup + IL_0139: ldfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_013e: ldc.i4.1 + IL_013f: conv.i8 + IL_0140: sub + IL_0141: stloc.0 + IL_0142: ldloc.0 + IL_0143: stfld int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::LongField + IL_0148: ldloc.0 + IL_0149: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014e: nop + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_LongProp() + IL_015a: ldc.i4.1 + IL_015b: conv.i8 + IL_015c: sub + IL_015d: stloc.0 + IL_015e: ldloc.0 + IL_015f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_LongProp(int64) + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016b: nop + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0171: ldflda int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::LongField + IL_0176: dup + IL_0177: ldind.i8 + IL_0178: ldc.i4.1 + IL_0179: conv.i8 + IL_017a: sub + IL_017b: stloc.0 + IL_017c: ldloc.0 + IL_017d: stind.i8 + IL_017e: ldloc.0 + IL_017f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0184: nop + IL_0185: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018a: dup + IL_018b: call instance int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_LongProp() + IL_0190: ldc.i4.1 + IL_0191: conv.i8 + IL_0192: sub + IL_0193: stloc.0 + IL_0194: ldloc.0 + IL_0195: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_LongProp(int64) + IL_019a: nop + IL_019b: ldloc.0 + IL_019c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a1: nop + IL_01a2: call int64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefLong() + IL_01a7: dup + IL_01a8: ldind.i8 + IL_01a9: ldc.i4.1 + IL_01aa: conv.i8 + IL_01ab: sub + IL_01ac: stloc.0 + IL_01ad: ldloc.0 + IL_01ae: stind.i8 + IL_01af: ldloc.0 + IL_01b0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01b5: nop + IL_01b6: ret + } // end of method CompoundAssignmentTest::LongPreDecTest - .method public hidebysig instance int32 - PostIncrementInstanceField2(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass m) cil managed + .method public hidebysig static void UlongAddTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 23 (0x17) + // Code size 290 (0x122) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: dup - IL_0003: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: ldc.i4.1 - IL_000b: add - IL_000c: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0011: ldloc.0 - IL_0012: stloc.1 - IL_0013: br.s IL_0015 - - IL_0015: ldloc.1 - IL_0016: ret - } // end of method CompoundAssignmentTest::PostIncrementInstanceField2 + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: add + IL_0009: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000e: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: add + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: add + IL_0026: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: add + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0042: dup + IL_0043: ldind.i8 + IL_0044: ldc.i4.5 + IL_0045: conv.i8 + IL_0046: add + IL_0047: stind.i8 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: add + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0064: ldc.i4.5 + IL_0065: conv.i8 + IL_0066: add + IL_0067: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0077: ldc.i4.5 + IL_0078: conv.i8 + IL_0079: add + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_008a: dup + IL_008b: ldind.i8 + IL_008c: ldc.i4.5 + IL_008d: conv.i8 + IL_008e: add + IL_008f: stind.i8 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_009b: ldc.i4.5 + IL_009c: conv.i8 + IL_009d: add + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: add + IL_00b2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: add + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d6: ldc.i4.5 + IL_00d7: conv.i8 + IL_00d8: add + IL_00d9: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e9: ldc.i4.5 + IL_00ea: conv.i8 + IL_00eb: add + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00fc: dup + IL_00fd: ldind.i8 + IL_00fe: ldc.i4.5 + IL_00ff: conv.i8 + IL_0100: add + IL_0101: stind.i8 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_010d: ldc.i4.5 + IL_010e: conv.i8 + IL_010f: add + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0115: nop + IL_0116: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_011b: dup + IL_011c: ldind.i8 + IL_011d: ldc.i4.5 + IL_011e: conv.i8 + IL_011f: add + IL_0120: stind.i8 + IL_0121: ret + } // end of method CompoundAssignmentTest::UlongAddTest - .method public hidebysig instance void - IncrementInstanceField2(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass m) cil managed + .method public hidebysig static void UlongSubtractTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 16 (0x10) - .maxstack 8 + // Code size 290 (0x122) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: dup - IL_0003: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_0008: ldc.i4.1 - IL_0009: add - IL_000a: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::Field - IL_000f: ret - } // end of method CompoundAssignmentTest::IncrementInstanceField2 + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: sub + IL_0009: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000e: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: sub + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: sub + IL_0026: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: sub + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0042: dup + IL_0043: ldind.i8 + IL_0044: ldc.i4.5 + IL_0045: conv.i8 + IL_0046: sub + IL_0047: stind.i8 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: sub + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0064: ldc.i4.5 + IL_0065: conv.i8 + IL_0066: sub + IL_0067: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0077: ldc.i4.5 + IL_0078: conv.i8 + IL_0079: sub + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_008a: dup + IL_008b: ldind.i8 + IL_008c: ldc.i4.5 + IL_008d: conv.i8 + IL_008e: sub + IL_008f: stind.i8 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_009b: ldc.i4.5 + IL_009c: conv.i8 + IL_009d: sub + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: sub + IL_00b2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: sub + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d6: ldc.i4.5 + IL_00d7: conv.i8 + IL_00d8: sub + IL_00d9: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e9: ldc.i4.5 + IL_00ea: conv.i8 + IL_00eb: sub + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00fc: dup + IL_00fd: ldind.i8 + IL_00fe: ldc.i4.5 + IL_00ff: conv.i8 + IL_0100: sub + IL_0101: stind.i8 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_010d: ldc.i4.5 + IL_010e: conv.i8 + IL_010f: sub + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0115: nop + IL_0116: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_011b: dup + IL_011c: ldind.i8 + IL_011d: ldc.i4.5 + IL_011e: conv.i8 + IL_011f: sub + IL_0120: stind.i8 + IL_0121: ret + } // end of method CompoundAssignmentTest::UlongSubtractTest - .method public hidebysig instance int32 - PreIncrementInstanceFieldShort() cil managed + .method public hidebysig static void UlongMultiplyTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 29 (0x1d) + // Code size 290 (0x122) .maxstack 3 - .locals init (int16 V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField - IL_000d: ldc.i4.1 - IL_000e: add - IL_000f: conv.i2 - IL_0010: stloc.0 - IL_0011: ldloc.0 - IL_0012: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField - IL_0017: ldloc.0 - IL_0018: stloc.1 - IL_0019: br.s IL_001b + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: mul + IL_0009: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000e: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: mul + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: mul + IL_0026: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: mul + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0042: dup + IL_0043: ldind.i8 + IL_0044: ldc.i4.5 + IL_0045: conv.i8 + IL_0046: mul + IL_0047: stind.i8 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: mul + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0064: ldc.i4.5 + IL_0065: conv.i8 + IL_0066: mul + IL_0067: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0077: ldc.i4.5 + IL_0078: conv.i8 + IL_0079: mul + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_008a: dup + IL_008b: ldind.i8 + IL_008c: ldc.i4.5 + IL_008d: conv.i8 + IL_008e: mul + IL_008f: stind.i8 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_009b: ldc.i4.5 + IL_009c: conv.i8 + IL_009d: mul + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: mul + IL_00b2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: mul + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d6: ldc.i4.5 + IL_00d7: conv.i8 + IL_00d8: mul + IL_00d9: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e9: ldc.i4.5 + IL_00ea: conv.i8 + IL_00eb: mul + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00fc: dup + IL_00fd: ldind.i8 + IL_00fe: ldc.i4.5 + IL_00ff: conv.i8 + IL_0100: mul + IL_0101: stind.i8 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_010d: ldc.i4.5 + IL_010e: conv.i8 + IL_010f: mul + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0115: nop + IL_0116: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_011b: dup + IL_011c: ldind.i8 + IL_011d: ldc.i4.5 + IL_011e: conv.i8 + IL_011f: mul + IL_0120: stind.i8 + IL_0121: ret + } // end of method CompoundAssignmentTest::UlongMultiplyTest - IL_001b: ldloc.1 - IL_001c: ret - } // end of method CompoundAssignmentTest::PreIncrementInstanceFieldShort + .method public hidebysig static void UlongDivideTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: div.un + IL_0009: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000e: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: div.un + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: div.un + IL_0026: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: div.un + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0042: dup + IL_0043: ldind.i8 + IL_0044: ldc.i4.5 + IL_0045: conv.i8 + IL_0046: div.un + IL_0047: stind.i8 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: div.un + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0064: ldc.i4.5 + IL_0065: conv.i8 + IL_0066: div.un + IL_0067: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0077: ldc.i4.5 + IL_0078: conv.i8 + IL_0079: div.un + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_008a: dup + IL_008b: ldind.i8 + IL_008c: ldc.i4.5 + IL_008d: conv.i8 + IL_008e: div.un + IL_008f: stind.i8 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_009b: ldc.i4.5 + IL_009c: conv.i8 + IL_009d: div.un + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: div.un + IL_00b2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: div.un + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d6: ldc.i4.5 + IL_00d7: conv.i8 + IL_00d8: div.un + IL_00d9: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e9: ldc.i4.5 + IL_00ea: conv.i8 + IL_00eb: div.un + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00fc: dup + IL_00fd: ldind.i8 + IL_00fe: ldc.i4.5 + IL_00ff: conv.i8 + IL_0100: div.un + IL_0101: stind.i8 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_010d: ldc.i4.5 + IL_010e: conv.i8 + IL_010f: div.un + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0115: nop + IL_0116: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_011b: dup + IL_011c: ldind.i8 + IL_011d: ldc.i4.5 + IL_011e: conv.i8 + IL_011f: div.un + IL_0120: stind.i8 + IL_0121: ret + } // end of method CompoundAssignmentTest::UlongDivideTest - .method public hidebysig instance int32 - PostIncrementInstanceFieldShort() cil managed + .method public hidebysig static void UlongModulusTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 29 (0x1d) + // Code size 290 (0x122) .maxstack 3 - .locals init (int16 V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: ldc.i4.1 - IL_0010: add - IL_0011: conv.i2 - IL_0012: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField - IL_0017: ldloc.0 - IL_0018: stloc.1 - IL_0019: br.s IL_001b + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: rem.un + IL_0009: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000e: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: rem.un + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: rem.un + IL_0026: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: rem.un + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0042: dup + IL_0043: ldind.i8 + IL_0044: ldc.i4.5 + IL_0045: conv.i8 + IL_0046: rem.un + IL_0047: stind.i8 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: rem.un + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0064: ldc.i4.5 + IL_0065: conv.i8 + IL_0066: rem.un + IL_0067: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0077: ldc.i4.5 + IL_0078: conv.i8 + IL_0079: rem.un + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_008a: dup + IL_008b: ldind.i8 + IL_008c: ldc.i4.5 + IL_008d: conv.i8 + IL_008e: rem.un + IL_008f: stind.i8 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_009b: ldc.i4.5 + IL_009c: conv.i8 + IL_009d: rem.un + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: rem.un + IL_00b2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: rem.un + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d6: ldc.i4.5 + IL_00d7: conv.i8 + IL_00d8: rem.un + IL_00d9: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e9: ldc.i4.5 + IL_00ea: conv.i8 + IL_00eb: rem.un + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00fc: dup + IL_00fd: ldind.i8 + IL_00fe: ldc.i4.5 + IL_00ff: conv.i8 + IL_0100: rem.un + IL_0101: stind.i8 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_010d: ldc.i4.5 + IL_010e: conv.i8 + IL_010f: rem.un + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0115: nop + IL_0116: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_011b: dup + IL_011c: ldind.i8 + IL_011d: ldc.i4.5 + IL_011e: conv.i8 + IL_011f: rem.un + IL_0120: stind.i8 + IL_0121: ret + } // end of method CompoundAssignmentTest::UlongModulusTest - IL_001b: ldloc.1 - IL_001c: ret - } // end of method CompoundAssignmentTest::PostIncrementInstanceFieldShort + .method public hidebysig static void UlongLeftShiftTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 273 (0x111) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: ldc.i4.5 + IL_0007: shl + IL_0008: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000d: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0012: ldc.i4.5 + IL_0013: shl + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0021: ldc.i4.5 + IL_0022: shl + IL_0023: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_002f: ldc.i4.5 + IL_0030: shl + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_003e: dup + IL_003f: ldind.i8 + IL_0040: ldc.i4.5 + IL_0041: shl + IL_0042: stind.i8 + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_004b: ldc.i4.5 + IL_004c: shl + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0052: nop + IL_0053: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0058: dup + IL_0059: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_005e: ldc.i4.5 + IL_005f: shl + IL_0060: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0065: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006a: dup + IL_006b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0070: ldc.i4.5 + IL_0071: shl + IL_0072: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0077: nop + IL_0078: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007d: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0082: dup + IL_0083: ldind.i8 + IL_0084: ldc.i4.5 + IL_0085: shl + IL_0086: stind.i8 + IL_0087: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008c: dup + IL_008d: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0092: ldc.i4.5 + IL_0093: shl + IL_0094: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0099: nop + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00a5: ldc.i4.5 + IL_00a6: shl + IL_00a7: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00b7: ldc.i4.5 + IL_00b8: shl + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00be: nop + IL_00bf: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c4: dup + IL_00c5: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00ca: ldc.i4.5 + IL_00cb: shl + IL_00cc: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00dc: ldc.i4.5 + IL_00dd: shl + IL_00de: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00e3: nop + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e9: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00ee: dup + IL_00ef: ldind.i8 + IL_00f0: ldc.i4.5 + IL_00f1: shl + IL_00f2: stind.i8 + IL_00f3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f8: dup + IL_00f9: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00fe: ldc.i4.5 + IL_00ff: shl + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0105: nop + IL_0106: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_010b: dup + IL_010c: ldind.i8 + IL_010d: ldc.i4.5 + IL_010e: shl + IL_010f: stind.i8 + IL_0110: ret + } // end of method CompoundAssignmentTest::UlongLeftShiftTest - .method public hidebysig instance void - IncrementInstanceFieldShort() cil managed + .method public hidebysig static void UlongRightShiftTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 22 (0x16) - .maxstack 8 + // Code size 273 (0x111) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: ldfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField - IL_000d: ldc.i4.1 - IL_000e: add - IL_000f: conv.i2 - IL_0010: stfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::ShortField - IL_0015: ret - } // end of method CompoundAssignmentTest::IncrementInstanceFieldShort + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: ldc.i4.5 + IL_0007: shr.un + IL_0008: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000d: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0012: ldc.i4.5 + IL_0013: shr.un + IL_0014: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: dup + IL_001c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0021: ldc.i4.5 + IL_0022: shr.un + IL_0023: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0028: ldarg.1 + IL_0029: dup + IL_002a: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_002f: ldc.i4.5 + IL_0030: shr.un + IL_0031: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0036: nop + IL_0037: ldarga.s s + IL_0039: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_003e: dup + IL_003f: ldind.i8 + IL_0040: ldc.i4.5 + IL_0041: shr.un + IL_0042: stind.i8 + IL_0043: ldarga.s s + IL_0045: dup + IL_0046: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_004b: ldc.i4.5 + IL_004c: shr.un + IL_004d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0052: nop + IL_0053: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0058: dup + IL_0059: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_005e: ldc.i4.5 + IL_005f: shr.un + IL_0060: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0065: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_006a: dup + IL_006b: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0070: ldc.i4.5 + IL_0071: shr.un + IL_0072: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0077: nop + IL_0078: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_007d: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0082: dup + IL_0083: ldind.i8 + IL_0084: ldc.i4.5 + IL_0085: shr.un + IL_0086: stind.i8 + IL_0087: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_008c: dup + IL_008d: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0092: ldc.i4.5 + IL_0093: shr.un + IL_0094: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0099: nop + IL_009a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_009f: dup + IL_00a0: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00a5: ldc.i4.5 + IL_00a6: shr.un + IL_00a7: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00ac: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00b1: dup + IL_00b2: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00b7: ldc.i4.5 + IL_00b8: shr.un + IL_00b9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00be: nop + IL_00bf: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00c4: dup + IL_00c5: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00ca: ldc.i4.5 + IL_00cb: shr.un + IL_00cc: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d1: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d6: dup + IL_00d7: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00dc: ldc.i4.5 + IL_00dd: shr.un + IL_00de: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00e3: nop + IL_00e4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00e9: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00ee: dup + IL_00ef: ldind.i8 + IL_00f0: ldc.i4.5 + IL_00f1: shr.un + IL_00f2: stind.i8 + IL_00f3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f8: dup + IL_00f9: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00fe: ldc.i4.5 + IL_00ff: shr.un + IL_0100: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0105: nop + IL_0106: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_010b: dup + IL_010c: ldind.i8 + IL_010d: ldc.i4.5 + IL_010e: shr.un + IL_010f: stind.i8 + IL_0110: ret + } // end of method CompoundAssignmentTest::UlongRightShiftTest - .method public hidebysig instance int32 - PreIncrementInstanceProperty() cil managed + .method public hidebysig static void UlongBitAndTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 29 (0x1d) + // Code size 290 (0x122) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() - IL_000d: ldc.i4.1 - IL_000e: add - IL_000f: stloc.0 - IL_0010: ldloc.0 - IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) - IL_0016: nop - IL_0017: ldloc.0 - IL_0018: stloc.1 - IL_0019: br.s IL_001b + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: and + IL_0009: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000e: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: and + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: and + IL_0026: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: and + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0042: dup + IL_0043: ldind.i8 + IL_0044: ldc.i4.5 + IL_0045: conv.i8 + IL_0046: and + IL_0047: stind.i8 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: and + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0064: ldc.i4.5 + IL_0065: conv.i8 + IL_0066: and + IL_0067: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0077: ldc.i4.5 + IL_0078: conv.i8 + IL_0079: and + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_008a: dup + IL_008b: ldind.i8 + IL_008c: ldc.i4.5 + IL_008d: conv.i8 + IL_008e: and + IL_008f: stind.i8 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_009b: ldc.i4.5 + IL_009c: conv.i8 + IL_009d: and + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: and + IL_00b2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: and + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d6: ldc.i4.5 + IL_00d7: conv.i8 + IL_00d8: and + IL_00d9: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e9: ldc.i4.5 + IL_00ea: conv.i8 + IL_00eb: and + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00fc: dup + IL_00fd: ldind.i8 + IL_00fe: ldc.i4.5 + IL_00ff: conv.i8 + IL_0100: and + IL_0101: stind.i8 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_010d: ldc.i4.5 + IL_010e: conv.i8 + IL_010f: and + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0115: nop + IL_0116: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_011b: dup + IL_011c: ldind.i8 + IL_011d: ldc.i4.5 + IL_011e: conv.i8 + IL_011f: and + IL_0120: stind.i8 + IL_0121: ret + } // end of method CompoundAssignmentTest::UlongBitAndTest - IL_001b: ldloc.1 - IL_001c: ret - } // end of method CompoundAssignmentTest::PreIncrementInstanceProperty + .method public hidebysig static void UlongBitOrTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 290 (0x122) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: or + IL_0009: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000e: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: or + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: or + IL_0026: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: or + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0042: dup + IL_0043: ldind.i8 + IL_0044: ldc.i4.5 + IL_0045: conv.i8 + IL_0046: or + IL_0047: stind.i8 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: or + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0064: ldc.i4.5 + IL_0065: conv.i8 + IL_0066: or + IL_0067: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0077: ldc.i4.5 + IL_0078: conv.i8 + IL_0079: or + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_008a: dup + IL_008b: ldind.i8 + IL_008c: ldc.i4.5 + IL_008d: conv.i8 + IL_008e: or + IL_008f: stind.i8 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_009b: ldc.i4.5 + IL_009c: conv.i8 + IL_009d: or + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: or + IL_00b2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: or + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d6: ldc.i4.5 + IL_00d7: conv.i8 + IL_00d8: or + IL_00d9: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e9: ldc.i4.5 + IL_00ea: conv.i8 + IL_00eb: or + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00fc: dup + IL_00fd: ldind.i8 + IL_00fe: ldc.i4.5 + IL_00ff: conv.i8 + IL_0100: or + IL_0101: stind.i8 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_010d: ldc.i4.5 + IL_010e: conv.i8 + IL_010f: or + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0115: nop + IL_0116: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_011b: dup + IL_011c: ldind.i8 + IL_011d: ldc.i4.5 + IL_011e: conv.i8 + IL_011f: or + IL_0120: stind.i8 + IL_0121: ret + } // end of method CompoundAssignmentTest::UlongBitOrTest - .method public hidebysig instance int32 - PostIncrementInstanceProperty() cil managed + .method public hidebysig static void UlongBitXorTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 29 (0x1d) + // Code size 290 (0x122) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: ldc.i4.1 - IL_0010: add - IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) - IL_0016: nop - IL_0017: ldloc.0 - IL_0018: stloc.1 - IL_0019: br.s IL_001b + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: ldc.i4.5 + IL_0007: conv.i8 + IL_0008: xor + IL_0009: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000e: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_0013: ldc.i4.5 + IL_0014: conv.i8 + IL_0015: xor + IL_0016: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: dup + IL_001e: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0023: ldc.i4.5 + IL_0024: conv.i8 + IL_0025: xor + IL_0026: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_002b: ldarg.1 + IL_002c: dup + IL_002d: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0032: ldc.i4.5 + IL_0033: conv.i8 + IL_0034: xor + IL_0035: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_003a: nop + IL_003b: ldarga.s s + IL_003d: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0042: dup + IL_0043: ldind.i8 + IL_0044: ldc.i4.5 + IL_0045: conv.i8 + IL_0046: xor + IL_0047: stind.i8 + IL_0048: ldarga.s s + IL_004a: dup + IL_004b: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0050: ldc.i4.5 + IL_0051: conv.i8 + IL_0052: xor + IL_0053: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0058: nop + IL_0059: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_005e: dup + IL_005f: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0064: ldc.i4.5 + IL_0065: conv.i8 + IL_0066: xor + IL_0067: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_006c: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0071: dup + IL_0072: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0077: ldc.i4.5 + IL_0078: conv.i8 + IL_0079: xor + IL_007a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_007f: nop + IL_0080: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0085: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_008a: dup + IL_008b: ldind.i8 + IL_008c: ldc.i4.5 + IL_008d: conv.i8 + IL_008e: xor + IL_008f: stind.i8 + IL_0090: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0095: dup + IL_0096: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_009b: ldc.i4.5 + IL_009c: conv.i8 + IL_009d: xor + IL_009e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00a3: nop + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00a9: dup + IL_00aa: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00af: ldc.i4.5 + IL_00b0: conv.i8 + IL_00b1: xor + IL_00b2: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00bc: dup + IL_00bd: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00c2: ldc.i4.5 + IL_00c3: conv.i8 + IL_00c4: xor + IL_00c5: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00ca: nop + IL_00cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00d0: dup + IL_00d1: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00d6: ldc.i4.5 + IL_00d7: conv.i8 + IL_00d8: xor + IL_00d9: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00de: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00e3: dup + IL_00e4: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00e9: ldc.i4.5 + IL_00ea: conv.i8 + IL_00eb: xor + IL_00ec: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00f1: nop + IL_00f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_00f7: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00fc: dup + IL_00fd: ldind.i8 + IL_00fe: ldc.i4.5 + IL_00ff: conv.i8 + IL_0100: xor + IL_0101: stind.i8 + IL_0102: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0107: dup + IL_0108: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_010d: ldc.i4.5 + IL_010e: conv.i8 + IL_010f: xor + IL_0110: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0115: nop + IL_0116: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_011b: dup + IL_011c: ldind.i8 + IL_011d: ldc.i4.5 + IL_011e: conv.i8 + IL_011f: xor + IL_0120: stind.i8 + IL_0121: ret + } // end of method CompoundAssignmentTest::UlongBitXorTest - IL_001b: ldloc.1 - IL_001c: ret - } // end of method CompoundAssignmentTest::PostIncrementInstanceProperty + .method public hidebysig static void UlongPostIncTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 439 (0x1b7) + .maxstack 3 + .locals init (uint64 V_0) + IL_0000: nop + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: conv.i8 + IL_0009: add + IL_000a: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_001a: dup + IL_001b: ldc.i4.1 + IL_001c: conv.i8 + IL_001d: add + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0031: stloc.0 + IL_0032: ldloc.0 + IL_0033: ldc.i4.1 + IL_0034: conv.i8 + IL_0035: add + IL_0036: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0049: stloc.0 + IL_004a: ldloc.0 + IL_004b: ldc.i4.1 + IL_004c: conv.i8 + IL_004d: add + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0062: dup + IL_0063: ldind.i8 + IL_0064: stloc.0 + IL_0065: ldloc.0 + IL_0066: ldc.i4.1 + IL_0067: conv.i8 + IL_0068: add + IL_0069: stind.i8 + IL_006a: ldloc.0 + IL_006b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0070: nop + IL_0071: ldarga.s s + IL_0073: dup + IL_0074: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0079: stloc.0 + IL_007a: ldloc.0 + IL_007b: ldc.i4.1 + IL_007c: conv.i8 + IL_007d: add + IL_007e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008a: nop + IL_008b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0090: dup + IL_0091: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0096: stloc.0 + IL_0097: ldloc.0 + IL_0098: ldc.i4.1 + IL_0099: conv.i8 + IL_009a: add + IL_009b: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00a0: ldloc.0 + IL_00a1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a6: nop + IL_00a7: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ac: dup + IL_00ad: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00b2: stloc.0 + IL_00b3: ldloc.0 + IL_00b4: ldc.i4.1 + IL_00b5: conv.i8 + IL_00b6: add + IL_00b7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c3: nop + IL_00c4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c9: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00ce: dup + IL_00cf: ldind.i8 + IL_00d0: stloc.0 + IL_00d1: ldloc.0 + IL_00d2: ldc.i4.1 + IL_00d3: conv.i8 + IL_00d4: add + IL_00d5: stind.i8 + IL_00d6: ldloc.0 + IL_00d7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00dc: nop + IL_00dd: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e2: dup + IL_00e3: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00e8: stloc.0 + IL_00e9: ldloc.0 + IL_00ea: ldc.i4.1 + IL_00eb: conv.i8 + IL_00ec: add + IL_00ed: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00f2: nop + IL_00f3: ldloc.0 + IL_00f4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f9: nop + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0105: stloc.0 + IL_0106: ldloc.0 + IL_0107: ldc.i4.1 + IL_0108: conv.i8 + IL_0109: add + IL_010a: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_010f: ldloc.0 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: nop + IL_0116: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011b: dup + IL_011c: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0121: stloc.0 + IL_0122: ldloc.0 + IL_0123: ldc.i4.1 + IL_0124: conv.i8 + IL_0125: add + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: nop + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0138: dup + IL_0139: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_013e: stloc.0 + IL_013f: ldloc.0 + IL_0140: ldc.i4.1 + IL_0141: conv.i8 + IL_0142: add + IL_0143: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0148: ldloc.0 + IL_0149: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014e: nop + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_015a: stloc.0 + IL_015b: ldloc.0 + IL_015c: ldc.i4.1 + IL_015d: conv.i8 + IL_015e: add + IL_015f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016b: nop + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0171: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0176: dup + IL_0177: ldind.i8 + IL_0178: stloc.0 + IL_0179: ldloc.0 + IL_017a: ldc.i4.1 + IL_017b: conv.i8 + IL_017c: add + IL_017d: stind.i8 + IL_017e: ldloc.0 + IL_017f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0184: nop + IL_0185: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018a: dup + IL_018b: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0190: stloc.0 + IL_0191: ldloc.0 + IL_0192: ldc.i4.1 + IL_0193: conv.i8 + IL_0194: add + IL_0195: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_019a: nop + IL_019b: ldloc.0 + IL_019c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a1: nop + IL_01a2: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_01a7: dup + IL_01a8: ldind.i8 + IL_01a9: stloc.0 + IL_01aa: ldloc.0 + IL_01ab: ldc.i4.1 + IL_01ac: conv.i8 + IL_01ad: add + IL_01ae: stind.i8 + IL_01af: ldloc.0 + IL_01b0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01b5: nop + IL_01b6: ret + } // end of method CompoundAssignmentTest::UlongPostIncTest - .method public hidebysig instance void - IncrementInstanceProperty() cil managed + .method public hidebysig static void UlongPreIncTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 24 (0x18) + // Code size 439 (0x1b7) .maxstack 3 - .locals init (int32 V_0) + .locals init (uint64 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: ldc.i4.1 - IL_0010: add - IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) - IL_0016: nop - IL_0017: ret - } // end of method CompoundAssignmentTest::IncrementInstanceProperty + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: ldc.i4.1 + IL_0007: conv.i8 + IL_0008: add + IL_0009: dup + IL_000a: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_001a: ldc.i4.1 + IL_001b: conv.i8 + IL_001c: add + IL_001d: dup + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0031: ldc.i4.1 + IL_0032: conv.i8 + IL_0033: add + IL_0034: stloc.0 + IL_0035: ldloc.0 + IL_0036: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0049: ldc.i4.1 + IL_004a: conv.i8 + IL_004b: add + IL_004c: stloc.0 + IL_004d: ldloc.0 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0062: dup + IL_0063: ldind.i8 + IL_0064: ldc.i4.1 + IL_0065: conv.i8 + IL_0066: add + IL_0067: stloc.0 + IL_0068: ldloc.0 + IL_0069: stind.i8 + IL_006a: ldloc.0 + IL_006b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0070: nop + IL_0071: ldarga.s s + IL_0073: dup + IL_0074: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0079: ldc.i4.1 + IL_007a: conv.i8 + IL_007b: add + IL_007c: stloc.0 + IL_007d: ldloc.0 + IL_007e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008a: nop + IL_008b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0090: dup + IL_0091: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0096: ldc.i4.1 + IL_0097: conv.i8 + IL_0098: add + IL_0099: stloc.0 + IL_009a: ldloc.0 + IL_009b: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00a0: ldloc.0 + IL_00a1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a6: nop + IL_00a7: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ac: dup + IL_00ad: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00b2: ldc.i4.1 + IL_00b3: conv.i8 + IL_00b4: add + IL_00b5: stloc.0 + IL_00b6: ldloc.0 + IL_00b7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c3: nop + IL_00c4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c9: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00ce: dup + IL_00cf: ldind.i8 + IL_00d0: ldc.i4.1 + IL_00d1: conv.i8 + IL_00d2: add + IL_00d3: stloc.0 + IL_00d4: ldloc.0 + IL_00d5: stind.i8 + IL_00d6: ldloc.0 + IL_00d7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00dc: nop + IL_00dd: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e2: dup + IL_00e3: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00e8: ldc.i4.1 + IL_00e9: conv.i8 + IL_00ea: add + IL_00eb: stloc.0 + IL_00ec: ldloc.0 + IL_00ed: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00f2: nop + IL_00f3: ldloc.0 + IL_00f4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f9: nop + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0105: ldc.i4.1 + IL_0106: conv.i8 + IL_0107: add + IL_0108: stloc.0 + IL_0109: ldloc.0 + IL_010a: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_010f: ldloc.0 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: nop + IL_0116: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011b: dup + IL_011c: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0121: ldc.i4.1 + IL_0122: conv.i8 + IL_0123: add + IL_0124: stloc.0 + IL_0125: ldloc.0 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: nop + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0138: dup + IL_0139: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_013e: ldc.i4.1 + IL_013f: conv.i8 + IL_0140: add + IL_0141: stloc.0 + IL_0142: ldloc.0 + IL_0143: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0148: ldloc.0 + IL_0149: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014e: nop + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_015a: ldc.i4.1 + IL_015b: conv.i8 + IL_015c: add + IL_015d: stloc.0 + IL_015e: ldloc.0 + IL_015f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016b: nop + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0171: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0176: dup + IL_0177: ldind.i8 + IL_0178: ldc.i4.1 + IL_0179: conv.i8 + IL_017a: add + IL_017b: stloc.0 + IL_017c: ldloc.0 + IL_017d: stind.i8 + IL_017e: ldloc.0 + IL_017f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0184: nop + IL_0185: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018a: dup + IL_018b: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0190: ldc.i4.1 + IL_0191: conv.i8 + IL_0192: add + IL_0193: stloc.0 + IL_0194: ldloc.0 + IL_0195: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_019a: nop + IL_019b: ldloc.0 + IL_019c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a1: nop + IL_01a2: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_01a7: dup + IL_01a8: ldind.i8 + IL_01a9: ldc.i4.1 + IL_01aa: conv.i8 + IL_01ab: add + IL_01ac: stloc.0 + IL_01ad: ldloc.0 + IL_01ae: stind.i8 + IL_01af: ldloc.0 + IL_01b0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01b5: nop + IL_01b6: ret + } // end of method CompoundAssignmentTest::UlongPreIncTest - .method public hidebysig instance void - DoubleInstanceProperty() cil managed + .method public hidebysig static void UlongPostDecTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 22 (0x16) - .maxstack 8 + // Code size 439 (0x1b7) + .maxstack 3 + .locals init (uint64 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() - IL_000d: ldc.i4.2 - IL_000e: mul - IL_000f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: dup + IL_0007: ldc.i4.1 + IL_0008: conv.i8 + IL_0009: sub + IL_000a: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) IL_0014: nop - IL_0015: ret - } // end of method CompoundAssignmentTest::DoubleInstanceProperty + IL_0015: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_001a: dup + IL_001b: ldc.i4.1 + IL_001c: conv.i8 + IL_001d: sub + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0031: stloc.0 + IL_0032: ldloc.0 + IL_0033: ldc.i4.1 + IL_0034: conv.i8 + IL_0035: sub + IL_0036: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0049: stloc.0 + IL_004a: ldloc.0 + IL_004b: ldc.i4.1 + IL_004c: conv.i8 + IL_004d: sub + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0062: dup + IL_0063: ldind.i8 + IL_0064: stloc.0 + IL_0065: ldloc.0 + IL_0066: ldc.i4.1 + IL_0067: conv.i8 + IL_0068: sub + IL_0069: stind.i8 + IL_006a: ldloc.0 + IL_006b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0070: nop + IL_0071: ldarga.s s + IL_0073: dup + IL_0074: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0079: stloc.0 + IL_007a: ldloc.0 + IL_007b: ldc.i4.1 + IL_007c: conv.i8 + IL_007d: sub + IL_007e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008a: nop + IL_008b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0090: dup + IL_0091: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0096: stloc.0 + IL_0097: ldloc.0 + IL_0098: ldc.i4.1 + IL_0099: conv.i8 + IL_009a: sub + IL_009b: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00a0: ldloc.0 + IL_00a1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a6: nop + IL_00a7: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ac: dup + IL_00ad: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00b2: stloc.0 + IL_00b3: ldloc.0 + IL_00b4: ldc.i4.1 + IL_00b5: conv.i8 + IL_00b6: sub + IL_00b7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c3: nop + IL_00c4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c9: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00ce: dup + IL_00cf: ldind.i8 + IL_00d0: stloc.0 + IL_00d1: ldloc.0 + IL_00d2: ldc.i4.1 + IL_00d3: conv.i8 + IL_00d4: sub + IL_00d5: stind.i8 + IL_00d6: ldloc.0 + IL_00d7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00dc: nop + IL_00dd: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e2: dup + IL_00e3: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00e8: stloc.0 + IL_00e9: ldloc.0 + IL_00ea: ldc.i4.1 + IL_00eb: conv.i8 + IL_00ec: sub + IL_00ed: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00f2: nop + IL_00f3: ldloc.0 + IL_00f4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f9: nop + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0105: stloc.0 + IL_0106: ldloc.0 + IL_0107: ldc.i4.1 + IL_0108: conv.i8 + IL_0109: sub + IL_010a: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_010f: ldloc.0 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: nop + IL_0116: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011b: dup + IL_011c: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0121: stloc.0 + IL_0122: ldloc.0 + IL_0123: ldc.i4.1 + IL_0124: conv.i8 + IL_0125: sub + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: nop + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0138: dup + IL_0139: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_013e: stloc.0 + IL_013f: ldloc.0 + IL_0140: ldc.i4.1 + IL_0141: conv.i8 + IL_0142: sub + IL_0143: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0148: ldloc.0 + IL_0149: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014e: nop + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_015a: stloc.0 + IL_015b: ldloc.0 + IL_015c: ldc.i4.1 + IL_015d: conv.i8 + IL_015e: sub + IL_015f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016b: nop + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0171: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0176: dup + IL_0177: ldind.i8 + IL_0178: stloc.0 + IL_0179: ldloc.0 + IL_017a: ldc.i4.1 + IL_017b: conv.i8 + IL_017c: sub + IL_017d: stind.i8 + IL_017e: ldloc.0 + IL_017f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0184: nop + IL_0185: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018a: dup + IL_018b: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0190: stloc.0 + IL_0191: ldloc.0 + IL_0192: ldc.i4.1 + IL_0193: conv.i8 + IL_0194: sub + IL_0195: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_019a: nop + IL_019b: ldloc.0 + IL_019c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a1: nop + IL_01a2: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_01a7: dup + IL_01a8: ldind.i8 + IL_01a9: stloc.0 + IL_01aa: ldloc.0 + IL_01ab: ldc.i4.1 + IL_01ac: conv.i8 + IL_01ad: sub + IL_01ae: stind.i8 + IL_01af: ldloc.0 + IL_01b0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01b5: nop + IL_01b6: ret + } // end of method CompoundAssignmentTest::UlongPostDecTest - .method public hidebysig instance int32 - DoubleInstancePropertyAndReturn() cil managed + .method public hidebysig static void UlongPreDecTest(uint64 p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 29 (0x1d) + // Code size 439 (0x1b7) .maxstack 3 - .locals init (int32 V_0, - int32 V_1) + .locals init (uint64 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: callvirt instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_Property() - IL_000d: ldc.i4.2 - IL_000e: mul - IL_000f: dup - IL_0010: stloc.0 - IL_0011: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_Property(int32) - IL_0016: nop - IL_0017: ldloc.0 - IL_0018: stloc.1 - IL_0019: br.s IL_001b - - IL_001b: ldloc.1 - IL_001c: ret - } // end of method CompoundAssignmentTest::DoubleInstancePropertyAndReturn + IL_0001: ldsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_0006: ldc.i4.1 + IL_0007: conv.i8 + IL_0008: sub + IL_0009: dup + IL_000a: stsfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ulongField + IL_000f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0014: nop + IL_0015: call uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + IL_001a: ldc.i4.1 + IL_001b: conv.i8 + IL_001c: sub + IL_001d: dup + IL_001e: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + IL_0023: nop + IL_0024: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: dup + IL_002c: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0031: ldc.i4.1 + IL_0032: conv.i8 + IL_0033: sub + IL_0034: stloc.0 + IL_0035: ldloc.0 + IL_0036: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_003b: ldloc.0 + IL_003c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0041: nop + IL_0042: ldarg.1 + IL_0043: dup + IL_0044: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0049: ldc.i4.1 + IL_004a: conv.i8 + IL_004b: sub + IL_004c: stloc.0 + IL_004d: ldloc.0 + IL_004e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_005a: nop + IL_005b: ldarga.s s + IL_005d: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0062: dup + IL_0063: ldind.i8 + IL_0064: ldc.i4.1 + IL_0065: conv.i8 + IL_0066: sub + IL_0067: stloc.0 + IL_0068: ldloc.0 + IL_0069: stind.i8 + IL_006a: ldloc.0 + IL_006b: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0070: nop + IL_0071: ldarga.s s + IL_0073: dup + IL_0074: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0079: ldc.i4.1 + IL_007a: conv.i8 + IL_007b: sub + IL_007c: stloc.0 + IL_007d: ldloc.0 + IL_007e: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_008a: nop + IL_008b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0090: dup + IL_0091: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0096: ldc.i4.1 + IL_0097: conv.i8 + IL_0098: sub + IL_0099: stloc.0 + IL_009a: ldloc.0 + IL_009b: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_00a0: ldloc.0 + IL_00a1: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00a6: nop + IL_00a7: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ac: dup + IL_00ad: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_00b2: ldc.i4.1 + IL_00b3: conv.i8 + IL_00b4: sub + IL_00b5: stloc.0 + IL_00b6: ldloc.0 + IL_00b7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00c3: nop + IL_00c4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c9: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_00ce: dup + IL_00cf: ldind.i8 + IL_00d0: ldc.i4.1 + IL_00d1: conv.i8 + IL_00d2: sub + IL_00d3: stloc.0 + IL_00d4: ldloc.0 + IL_00d5: stind.i8 + IL_00d6: ldloc.0 + IL_00d7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00dc: nop + IL_00dd: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e2: dup + IL_00e3: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_00e8: ldc.i4.1 + IL_00e9: conv.i8 + IL_00ea: sub + IL_00eb: stloc.0 + IL_00ec: ldloc.0 + IL_00ed: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_00f2: nop + IL_00f3: ldloc.0 + IL_00f4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00f9: nop + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ff: dup + IL_0100: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0105: ldc.i4.1 + IL_0106: conv.i8 + IL_0107: sub + IL_0108: stloc.0 + IL_0109: ldloc.0 + IL_010a: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_010f: ldloc.0 + IL_0110: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0115: nop + IL_0116: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_011b: dup + IL_011c: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_0121: ldc.i4.1 + IL_0122: conv.i8 + IL_0123: sub + IL_0124: stloc.0 + IL_0125: ldloc.0 + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0132: nop + IL_0133: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0138: dup + IL_0139: ldfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_013e: ldc.i4.1 + IL_013f: conv.i8 + IL_0140: sub + IL_0141: stloc.0 + IL_0142: ldloc.0 + IL_0143: stfld uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::UlongField + IL_0148: ldloc.0 + IL_0149: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014e: nop + IL_014f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0154: dup + IL_0155: callvirt instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_UlongProp() + IL_015a: ldc.i4.1 + IL_015b: conv.i8 + IL_015c: sub + IL_015d: stloc.0 + IL_015e: ldloc.0 + IL_015f: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_UlongProp(uint64) + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_016b: nop + IL_016c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0171: ldflda uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::UlongField + IL_0176: dup + IL_0177: ldind.i8 + IL_0178: ldc.i4.1 + IL_0179: conv.i8 + IL_017a: sub + IL_017b: stloc.0 + IL_017c: ldloc.0 + IL_017d: stind.i8 + IL_017e: ldloc.0 + IL_017f: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0184: nop + IL_0185: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018a: dup + IL_018b: call instance uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_UlongProp() + IL_0190: ldc.i4.1 + IL_0191: conv.i8 + IL_0192: sub + IL_0193: stloc.0 + IL_0194: ldloc.0 + IL_0195: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_UlongProp(uint64) + IL_019a: nop + IL_019b: ldloc.0 + IL_019c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a1: nop + IL_01a2: call uint64& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefUlong() + IL_01a7: dup + IL_01a8: ldind.i8 + IL_01a9: ldc.i4.1 + IL_01aa: conv.i8 + IL_01ab: sub + IL_01ac: stloc.0 + IL_01ad: ldloc.0 + IL_01ae: stind.i8 + IL_01af: ldloc.0 + IL_01b0: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01b5: nop + IL_01b6: ret + } // end of method CompoundAssignmentTest::UlongPreDecTest - .method public hidebysig instance int32 - PreIncrementInstancePropertyByte() cil managed + .method public hidebysig static void CustomClassAddTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 30 (0x1e) + // Code size 341 (0x155) .maxstack 3 - .locals init (uint8 V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() - IL_000d: ldc.i4.1 - IL_000e: add - IL_000f: conv.u1 - IL_0010: stloc.0 - IL_0011: ldloc.0 - IL_0012: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: stloc.1 - IL_001a: br.s IL_001c - - IL_001c: ldloc.1 - IL_001d: ret - } // end of method CompoundAssignmentTest::PreIncrementInstancePropertyByte + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: ldnull + IL_0007: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0016: ldnull + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: dup + IL_0024: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0029: ldnull + IL_002a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_003b: ldnull + IL_003c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0041: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0046: nop + IL_0047: ldarga.s s + IL_0049: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004e: dup + IL_004f: ldind.ref + IL_0050: ldnull + IL_0051: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0056: stind.ref + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005f: ldnull + IL_0060: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0065: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006a: nop + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0076: ldnull + IL_0077: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_007c: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008c: ldnull + IL_008d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0092: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0097: nop + IL_0098: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009d: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a2: dup + IL_00a3: ldind.ref + IL_00a4: ldnull + IL_00a5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00aa: stind.ref + IL_00ab: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b0: dup + IL_00b1: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b6: ldnull + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bc: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c1: nop + IL_00c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c7: dup + IL_00c8: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00cd: ldnull + IL_00ce: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d3: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00dd: dup + IL_00de: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e3: ldnull + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ee: nop + IL_00ef: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00f4: dup + IL_00f5: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00fa: ldnull + IL_00fb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0100: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_010a: dup + IL_010b: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0110: ldnull + IL_0111: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0116: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011b: nop + IL_011c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0121: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0126: dup + IL_0127: ldind.ref + IL_0128: ldnull + IL_0129: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_012e: stind.ref + IL_012f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0134: dup + IL_0135: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_013a: ldnull + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0140: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0145: nop + IL_0146: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_014b: dup + IL_014c: ldind.ref + IL_014d: ldnull + IL_014e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Addition(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0153: stind.ref + IL_0154: ret + } // end of method CompoundAssignmentTest::CustomClassAddTest - .method public hidebysig instance int32 - PostIncrementInstancePropertyByte() cil managed + .method public hidebysig static void CustomClassSubtractTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 30 (0x1e) + // Code size 341 (0x155) .maxstack 3 - .locals init (uint8 V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: ldc.i4.1 - IL_0010: add - IL_0011: conv.u1 - IL_0012: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: stloc.1 - IL_001a: br.s IL_001c - - IL_001c: ldloc.1 - IL_001d: ret - } // end of method CompoundAssignmentTest::PostIncrementInstancePropertyByte + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: ldnull + IL_0007: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0016: ldnull + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: dup + IL_0024: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0029: ldnull + IL_002a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_003b: ldnull + IL_003c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0041: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0046: nop + IL_0047: ldarga.s s + IL_0049: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004e: dup + IL_004f: ldind.ref + IL_0050: ldnull + IL_0051: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0056: stind.ref + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005f: ldnull + IL_0060: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0065: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006a: nop + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0076: ldnull + IL_0077: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_007c: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008c: ldnull + IL_008d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0092: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0097: nop + IL_0098: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009d: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a2: dup + IL_00a3: ldind.ref + IL_00a4: ldnull + IL_00a5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00aa: stind.ref + IL_00ab: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b0: dup + IL_00b1: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b6: ldnull + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bc: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c1: nop + IL_00c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c7: dup + IL_00c8: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00cd: ldnull + IL_00ce: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d3: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00dd: dup + IL_00de: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e3: ldnull + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ee: nop + IL_00ef: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00f4: dup + IL_00f5: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00fa: ldnull + IL_00fb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0100: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_010a: dup + IL_010b: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0110: ldnull + IL_0111: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0116: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011b: nop + IL_011c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0121: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0126: dup + IL_0127: ldind.ref + IL_0128: ldnull + IL_0129: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_012e: stind.ref + IL_012f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0134: dup + IL_0135: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_013a: ldnull + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0140: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0145: nop + IL_0146: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_014b: dup + IL_014c: ldind.ref + IL_014d: ldnull + IL_014e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Subtraction(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0153: stind.ref + IL_0154: ret + } // end of method CompoundAssignmentTest::CustomClassSubtractTest - .method public hidebysig instance void - IncrementInstancePropertyByte() cil managed + .method public hidebysig static void CustomClassMultiplyTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 25 (0x19) + // Code size 341 (0x155) .maxstack 3 - .locals init (uint8 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: ldc.i4.1 - IL_0010: add - IL_0011: conv.u1 - IL_0012: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) - IL_0017: nop - IL_0018: ret - } // end of method CompoundAssignmentTest::IncrementInstancePropertyByte + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: ldnull + IL_0007: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0016: ldnull + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: dup + IL_0024: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0029: ldnull + IL_002a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_003b: ldnull + IL_003c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0041: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0046: nop + IL_0047: ldarga.s s + IL_0049: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004e: dup + IL_004f: ldind.ref + IL_0050: ldnull + IL_0051: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0056: stind.ref + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005f: ldnull + IL_0060: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0065: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006a: nop + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0076: ldnull + IL_0077: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_007c: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008c: ldnull + IL_008d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0092: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0097: nop + IL_0098: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009d: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a2: dup + IL_00a3: ldind.ref + IL_00a4: ldnull + IL_00a5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00aa: stind.ref + IL_00ab: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b0: dup + IL_00b1: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b6: ldnull + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bc: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c1: nop + IL_00c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c7: dup + IL_00c8: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00cd: ldnull + IL_00ce: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d3: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00dd: dup + IL_00de: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e3: ldnull + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ee: nop + IL_00ef: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00f4: dup + IL_00f5: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00fa: ldnull + IL_00fb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0100: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_010a: dup + IL_010b: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0110: ldnull + IL_0111: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0116: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011b: nop + IL_011c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0121: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0126: dup + IL_0127: ldind.ref + IL_0128: ldnull + IL_0129: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_012e: stind.ref + IL_012f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0134: dup + IL_0135: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_013a: ldnull + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0140: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0145: nop + IL_0146: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_014b: dup + IL_014c: ldind.ref + IL_014d: ldnull + IL_014e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Multiply(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0153: stind.ref + IL_0154: ret + } // end of method CompoundAssignmentTest::CustomClassMultiplyTest - .method public hidebysig instance void - DoubleInstancePropertyByte() cil managed + .method public hidebysig static void CustomClassDivideTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 23 (0x17) - .maxstack 8 + // Code size 341 (0x155) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() - IL_000d: ldc.i4.2 - IL_000e: mul - IL_000f: conv.u1 - IL_0010: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) - IL_0015: nop - IL_0016: ret - } // end of method CompoundAssignmentTest::DoubleInstancePropertyByte + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: ldnull + IL_0007: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0016: ldnull + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: dup + IL_0024: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0029: ldnull + IL_002a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_003b: ldnull + IL_003c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0041: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0046: nop + IL_0047: ldarga.s s + IL_0049: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004e: dup + IL_004f: ldind.ref + IL_0050: ldnull + IL_0051: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0056: stind.ref + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005f: ldnull + IL_0060: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0065: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006a: nop + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0076: ldnull + IL_0077: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_007c: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008c: ldnull + IL_008d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0092: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0097: nop + IL_0098: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009d: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a2: dup + IL_00a3: ldind.ref + IL_00a4: ldnull + IL_00a5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00aa: stind.ref + IL_00ab: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b0: dup + IL_00b1: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b6: ldnull + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bc: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c1: nop + IL_00c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c7: dup + IL_00c8: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00cd: ldnull + IL_00ce: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d3: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00dd: dup + IL_00de: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e3: ldnull + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ee: nop + IL_00ef: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00f4: dup + IL_00f5: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00fa: ldnull + IL_00fb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0100: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_010a: dup + IL_010b: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0110: ldnull + IL_0111: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0116: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011b: nop + IL_011c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0121: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0126: dup + IL_0127: ldind.ref + IL_0128: ldnull + IL_0129: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_012e: stind.ref + IL_012f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0134: dup + IL_0135: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_013a: ldnull + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0140: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0145: nop + IL_0146: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_014b: dup + IL_014c: ldind.ref + IL_014d: ldnull + IL_014e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Division(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0153: stind.ref + IL_0154: ret + } // end of method CompoundAssignmentTest::CustomClassDivideTest - .method public hidebysig instance int32 - DoubleInstancePropertyByteAndReturn() cil managed + .method public hidebysig static void CustomClassModulusTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 30 (0x1e) + // Code size 341 (0x155) .maxstack 3 - .locals init (uint8 V_0, - int32 V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::M() - IL_0007: dup - IL_0008: callvirt instance uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::get_ByteProperty() - IL_000d: ldc.i4.2 - IL_000e: mul - IL_000f: conv.u1 - IL_0010: dup - IL_0011: stloc.0 - IL_0012: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/MutableClass::set_ByteProperty(uint8) - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: stloc.1 - IL_001a: br.s IL_001c - - IL_001c: ldloc.1 - IL_001d: ret - } // end of method CompoundAssignmentTest::DoubleInstancePropertyByteAndReturn + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: ldnull + IL_0007: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0016: ldnull + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: dup + IL_0024: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0029: ldnull + IL_002a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_003b: ldnull + IL_003c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0041: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0046: nop + IL_0047: ldarga.s s + IL_0049: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004e: dup + IL_004f: ldind.ref + IL_0050: ldnull + IL_0051: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0056: stind.ref + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005f: ldnull + IL_0060: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0065: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006a: nop + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0076: ldnull + IL_0077: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_007c: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008c: ldnull + IL_008d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0092: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0097: nop + IL_0098: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009d: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a2: dup + IL_00a3: ldind.ref + IL_00a4: ldnull + IL_00a5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00aa: stind.ref + IL_00ab: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b0: dup + IL_00b1: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b6: ldnull + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bc: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c1: nop + IL_00c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c7: dup + IL_00c8: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00cd: ldnull + IL_00ce: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d3: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00dd: dup + IL_00de: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e3: ldnull + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ee: nop + IL_00ef: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00f4: dup + IL_00f5: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00fa: ldnull + IL_00fb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0100: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_010a: dup + IL_010b: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0110: ldnull + IL_0111: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0116: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011b: nop + IL_011c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0121: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0126: dup + IL_0127: ldind.ref + IL_0128: ldnull + IL_0129: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_012e: stind.ref + IL_012f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0134: dup + IL_0135: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_013a: ldnull + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0140: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0145: nop + IL_0146: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_014b: dup + IL_014c: ldind.ref + IL_014d: ldnull + IL_014e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Modulus(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0153: stind.ref + IL_0154: ret + } // end of method CompoundAssignmentTest::CustomClassModulusTest - .method public hidebysig instance int32 - PreIncrementStaticField() cil managed + .method public hidebysig static void CustomClassLeftShiftTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 19 (0x13) - .maxstack 2 - .locals init (int32 V_0) + // Code size 341 (0x155) + .maxstack 3 IL_0000: nop - IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_0006: ldc.i4.1 - IL_0007: add - IL_0008: dup - IL_0009: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_000e: stloc.0 - IL_000f: br.s IL_0011 - - IL_0011: ldloc.0 - IL_0012: ret - } // end of method CompoundAssignmentTest::PreIncrementStaticField + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: ldc.i4.5 + IL_0007: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0016: ldc.i4.5 + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: dup + IL_0024: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0029: ldc.i4.5 + IL_002a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_002f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_003b: ldc.i4.5 + IL_003c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0041: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0046: nop + IL_0047: ldarga.s s + IL_0049: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004e: dup + IL_004f: ldind.ref + IL_0050: ldc.i4.5 + IL_0051: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0056: stind.ref + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005f: ldc.i4.5 + IL_0060: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0065: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006a: nop + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0076: ldc.i4.5 + IL_0077: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_007c: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008c: ldc.i4.5 + IL_008d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0092: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0097: nop + IL_0098: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009d: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a2: dup + IL_00a3: ldind.ref + IL_00a4: ldc.i4.5 + IL_00a5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00aa: stind.ref + IL_00ab: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b0: dup + IL_00b1: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b6: ldc.i4.5 + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00bc: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c1: nop + IL_00c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c7: dup + IL_00c8: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00cd: ldc.i4.5 + IL_00ce: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00d3: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00dd: dup + IL_00de: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e3: ldc.i4.5 + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00e9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ee: nop + IL_00ef: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00f4: dup + IL_00f5: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00fa: ldc.i4.5 + IL_00fb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0100: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_010a: dup + IL_010b: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0110: ldc.i4.5 + IL_0111: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0116: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011b: nop + IL_011c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0121: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0126: dup + IL_0127: ldind.ref + IL_0128: ldc.i4.5 + IL_0129: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_012e: stind.ref + IL_012f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0134: dup + IL_0135: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_013a: ldc.i4.5 + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0140: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0145: nop + IL_0146: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_014b: dup + IL_014c: ldind.ref + IL_014d: ldc.i4.5 + IL_014e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_LeftShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0153: stind.ref + IL_0154: ret + } // end of method CompoundAssignmentTest::CustomClassLeftShiftTest - .method public hidebysig instance int32 - PostIncrementStaticField() cil managed + .method public hidebysig static void CustomClassRightShiftTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 19 (0x13) + // Code size 341 (0x155) .maxstack 3 - .locals init (int32 V_0) IL_0000: nop - IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_0006: dup - IL_0007: ldc.i4.1 - IL_0008: add - IL_0009: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_000e: stloc.0 - IL_000f: br.s IL_0011 + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: ldc.i4.5 + IL_0007: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0016: ldc.i4.5 + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: dup + IL_0024: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0029: ldc.i4.5 + IL_002a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_002f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_003b: ldc.i4.5 + IL_003c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0041: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0046: nop + IL_0047: ldarga.s s + IL_0049: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004e: dup + IL_004f: ldind.ref + IL_0050: ldc.i4.5 + IL_0051: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0056: stind.ref + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005f: ldc.i4.5 + IL_0060: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0065: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006a: nop + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0076: ldc.i4.5 + IL_0077: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_007c: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008c: ldc.i4.5 + IL_008d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0092: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0097: nop + IL_0098: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009d: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a2: dup + IL_00a3: ldind.ref + IL_00a4: ldc.i4.5 + IL_00a5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00aa: stind.ref + IL_00ab: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b0: dup + IL_00b1: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b6: ldc.i4.5 + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00bc: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c1: nop + IL_00c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c7: dup + IL_00c8: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00cd: ldc.i4.5 + IL_00ce: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00d3: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00dd: dup + IL_00de: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e3: ldc.i4.5 + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_00e9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ee: nop + IL_00ef: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00f4: dup + IL_00f5: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00fa: ldc.i4.5 + IL_00fb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0100: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_010a: dup + IL_010b: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0110: ldc.i4.5 + IL_0111: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0116: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011b: nop + IL_011c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0121: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0126: dup + IL_0127: ldind.ref + IL_0128: ldc.i4.5 + IL_0129: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_012e: stind.ref + IL_012f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0134: dup + IL_0135: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_013a: ldc.i4.5 + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0140: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0145: nop + IL_0146: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_014b: dup + IL_014c: ldind.ref + IL_014d: ldc.i4.5 + IL_014e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_RightShift(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + int32) + IL_0153: stind.ref + IL_0154: ret + } // end of method CompoundAssignmentTest::CustomClassRightShiftTest - IL_0011: ldloc.0 - IL_0012: ret - } // end of method CompoundAssignmentTest::PostIncrementStaticField + .method public hidebysig static void CustomClassBitAndTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 341 (0x155) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: ldnull + IL_0007: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0016: ldnull + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: dup + IL_0024: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0029: ldnull + IL_002a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_003b: ldnull + IL_003c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0041: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0046: nop + IL_0047: ldarga.s s + IL_0049: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004e: dup + IL_004f: ldind.ref + IL_0050: ldnull + IL_0051: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0056: stind.ref + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005f: ldnull + IL_0060: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0065: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006a: nop + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0076: ldnull + IL_0077: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_007c: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008c: ldnull + IL_008d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0092: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0097: nop + IL_0098: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009d: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a2: dup + IL_00a3: ldind.ref + IL_00a4: ldnull + IL_00a5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00aa: stind.ref + IL_00ab: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b0: dup + IL_00b1: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b6: ldnull + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bc: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c1: nop + IL_00c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c7: dup + IL_00c8: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00cd: ldnull + IL_00ce: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d3: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00dd: dup + IL_00de: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e3: ldnull + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ee: nop + IL_00ef: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00f4: dup + IL_00f5: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00fa: ldnull + IL_00fb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0100: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_010a: dup + IL_010b: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0110: ldnull + IL_0111: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0116: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011b: nop + IL_011c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0121: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0126: dup + IL_0127: ldind.ref + IL_0128: ldnull + IL_0129: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_012e: stind.ref + IL_012f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0134: dup + IL_0135: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_013a: ldnull + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0140: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0145: nop + IL_0146: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_014b: dup + IL_014c: ldind.ref + IL_014d: ldnull + IL_014e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseAnd(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0153: stind.ref + IL_0154: ret + } // end of method CompoundAssignmentTest::CustomClassBitAndTest - .method public hidebysig instance void - IncrementStaticField() cil managed + .method public hidebysig static void CustomClassBitOrTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 + // Code size 341 (0x155) + .maxstack 3 IL_0000: nop - IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_0006: ldc.i4.1 - IL_0007: add - IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_000d: ret - } // end of method CompoundAssignmentTest::IncrementStaticField + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: ldnull + IL_0007: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0016: ldnull + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: dup + IL_0024: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0029: ldnull + IL_002a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_003b: ldnull + IL_003c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0041: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0046: nop + IL_0047: ldarga.s s + IL_0049: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004e: dup + IL_004f: ldind.ref + IL_0050: ldnull + IL_0051: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0056: stind.ref + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005f: ldnull + IL_0060: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0065: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006a: nop + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0076: ldnull + IL_0077: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_007c: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008c: ldnull + IL_008d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0092: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0097: nop + IL_0098: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009d: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a2: dup + IL_00a3: ldind.ref + IL_00a4: ldnull + IL_00a5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00aa: stind.ref + IL_00ab: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b0: dup + IL_00b1: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b6: ldnull + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bc: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c1: nop + IL_00c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c7: dup + IL_00c8: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00cd: ldnull + IL_00ce: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d3: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00dd: dup + IL_00de: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e3: ldnull + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ee: nop + IL_00ef: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00f4: dup + IL_00f5: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00fa: ldnull + IL_00fb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0100: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_010a: dup + IL_010b: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0110: ldnull + IL_0111: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0116: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011b: nop + IL_011c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0121: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0126: dup + IL_0127: ldind.ref + IL_0128: ldnull + IL_0129: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_012e: stind.ref + IL_012f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0134: dup + IL_0135: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_013a: ldnull + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0140: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0145: nop + IL_0146: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_014b: dup + IL_014c: ldind.ref + IL_014d: ldnull + IL_014e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_BitwiseOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0153: stind.ref + IL_0154: ret + } // end of method CompoundAssignmentTest::CustomClassBitOrTest - .method public hidebysig instance void - DoubleStaticField() cil managed + .method public hidebysig static void CustomClassBitXorTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 14 (0xe) - .maxstack 8 + // Code size 341 (0x155) + .maxstack 3 IL_0000: nop - IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_0006: ldc.i4.2 - IL_0007: mul - IL_0008: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_000d: ret - } // end of method CompoundAssignmentTest::DoubleStaticField + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: ldnull + IL_0007: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0016: ldnull + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: dup + IL_0024: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0029: ldnull + IL_002a: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_002f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_003b: ldnull + IL_003c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0041: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0046: nop + IL_0047: ldarga.s s + IL_0049: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_004e: dup + IL_004f: ldind.ref + IL_0050: ldnull + IL_0051: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0056: stind.ref + IL_0057: ldarga.s s + IL_0059: dup + IL_005a: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_005f: ldnull + IL_0060: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0065: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_006a: nop + IL_006b: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0070: dup + IL_0071: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0076: ldnull + IL_0077: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_007c: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0081: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0086: dup + IL_0087: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_008c: ldnull + IL_008d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0092: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0097: nop + IL_0098: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_009d: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00a2: dup + IL_00a3: ldind.ref + IL_00a4: ldnull + IL_00a5: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00aa: stind.ref + IL_00ab: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00b0: dup + IL_00b1: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00b6: ldnull + IL_00b7: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00bc: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c1: nop + IL_00c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00c7: dup + IL_00c8: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00cd: ldnull + IL_00ce: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00d3: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00d8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00dd: dup + IL_00de: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00e3: ldnull + IL_00e4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ee: nop + IL_00ef: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_00f4: dup + IL_00f5: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00fa: ldnull + IL_00fb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0100: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0105: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_010a: dup + IL_010b: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0110: ldnull + IL_0111: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0116: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011b: nop + IL_011c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0121: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0126: dup + IL_0127: ldind.ref + IL_0128: ldnull + IL_0129: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_012e: stind.ref + IL_012f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0134: dup + IL_0135: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_013a: ldnull + IL_013b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0140: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0145: nop + IL_0146: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_014b: dup + IL_014c: ldind.ref + IL_014d: ldnull + IL_014e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_ExclusiveOr(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0153: stind.ref + IL_0154: ret + } // end of method CompoundAssignmentTest::CustomClassBitXorTest - .method public hidebysig instance int32 - DoubleStaticFieldAndReturn() cil managed + .method public hidebysig static void CustomClassPostIncTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 19 (0x13) + // Code size 473 (0x1d9) .maxstack 2 - .locals init (int32 V_0) + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_0) IL_0000: nop - IL_0001: ldsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_0006: ldc.i4.2 - IL_0007: mul - IL_0008: dup - IL_0009: stsfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticField - IL_000e: stloc.0 - IL_000f: br.s IL_0011 - - IL_0011: ldloc.0 - IL_0012: ret - } // end of method CompoundAssignmentTest::DoubleStaticFieldAndReturn + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: dup + IL_0007: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0016: nop + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_001c: dup + IL_001d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0027: nop + IL_0028: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002d: nop + IL_002e: ldarg.1 + IL_002f: dup + IL_0030: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0035: stloc.0 + IL_0036: ldloc.0 + IL_0037: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_003c: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0041: ldloc.0 + IL_0042: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0047: nop + IL_0048: ldarg.1 + IL_0049: dup + IL_004a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_004f: stloc.0 + IL_0050: ldloc.0 + IL_0051: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0056: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_005b: nop + IL_005c: ldloc.0 + IL_005d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0062: nop + IL_0063: ldarga.s s + IL_0065: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_006a: dup + IL_006b: ldind.ref + IL_006c: stloc.0 + IL_006d: ldloc.0 + IL_006e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0073: stind.ref + IL_0074: ldloc.0 + IL_0075: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007a: nop + IL_007b: ldarga.s s + IL_007d: dup + IL_007e: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0083: stloc.0 + IL_0084: ldloc.0 + IL_0085: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_008a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_008f: nop + IL_0090: ldloc.0 + IL_0091: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0096: nop + IL_0097: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009c: dup + IL_009d: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00a2: stloc.0 + IL_00a3: ldloc.0 + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00a9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00ae: ldloc.0 + IL_00af: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b4: nop + IL_00b5: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ba: dup + IL_00bb: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00c0: stloc.0 + IL_00c1: ldloc.0 + IL_00c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00cc: nop + IL_00cd: ldloc.0 + IL_00ce: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d3: nop + IL_00d4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d9: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00de: dup + IL_00df: ldind.ref + IL_00e0: stloc.0 + IL_00e1: ldloc.0 + IL_00e2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e7: stind.ref + IL_00e8: ldloc.0 + IL_00e9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ee: nop + IL_00ef: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00f4: dup + IL_00f5: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00fa: stloc.0 + IL_00fb: ldloc.0 + IL_00fc: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0101: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0106: nop + IL_0107: ldloc.0 + IL_0108: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010d: nop + IL_010e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0113: dup + IL_0114: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0119: stloc.0 + IL_011a: ldloc.0 + IL_011b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0120: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0125: ldloc.0 + IL_0126: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012b: nop + IL_012c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0131: dup + IL_0132: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0137: stloc.0 + IL_0138: ldloc.0 + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_013e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0143: nop + IL_0144: ldloc.0 + IL_0145: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014a: nop + IL_014b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0150: dup + IL_0151: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0156: stloc.0 + IL_0157: ldloc.0 + IL_0158: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_015d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0162: ldloc.0 + IL_0163: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0168: nop + IL_0169: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_016e: dup + IL_016f: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0174: stloc.0 + IL_0175: ldloc.0 + IL_0176: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_017b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0180: nop + IL_0181: ldloc.0 + IL_0182: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0187: nop + IL_0188: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018d: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0192: dup + IL_0193: ldind.ref + IL_0194: stloc.0 + IL_0195: ldloc.0 + IL_0196: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_019b: stind.ref + IL_019c: ldloc.0 + IL_019d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a2: nop + IL_01a3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01a8: dup + IL_01a9: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_01ae: stloc.0 + IL_01af: ldloc.0 + IL_01b0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_01b5: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_01ba: nop + IL_01bb: ldloc.0 + IL_01bc: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01c1: nop + IL_01c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_01c7: dup + IL_01c8: ldind.ref + IL_01c9: stloc.0 + IL_01ca: ldloc.0 + IL_01cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_01d0: stind.ref + IL_01d1: ldloc.0 + IL_01d2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01d7: nop + IL_01d8: ret + } // end of method CompoundAssignmentTest::CustomClassPostIncTest - .method public hidebysig instance int32 - PreIncrementStaticFieldShort() cil managed + .method public hidebysig static void CustomClassPreIncTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 20 (0x14) + // Code size 473 (0x1d9) .maxstack 2 - .locals init (int32 V_0) + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_0) IL_0000: nop - IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_0006: ldc.i4.1 - IL_0007: add - IL_0008: conv.i2 - IL_0009: dup - IL_000a: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_000f: stloc.0 - IL_0010: br.s IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method CompoundAssignmentTest::PreIncrementStaticFieldShort + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000b: dup + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0016: nop + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_001c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0021: dup + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0027: nop + IL_0028: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002d: nop + IL_002e: ldarg.1 + IL_002f: dup + IL_0030: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0035: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_003a: stloc.0 + IL_003b: ldloc.0 + IL_003c: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0041: ldloc.0 + IL_0042: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0047: nop + IL_0048: ldarg.1 + IL_0049: dup + IL_004a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_004f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0054: stloc.0 + IL_0055: ldloc.0 + IL_0056: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_005b: nop + IL_005c: ldloc.0 + IL_005d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0062: nop + IL_0063: ldarga.s s + IL_0065: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_006a: dup + IL_006b: ldind.ref + IL_006c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0071: stloc.0 + IL_0072: ldloc.0 + IL_0073: stind.ref + IL_0074: ldloc.0 + IL_0075: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007a: nop + IL_007b: ldarga.s s + IL_007d: dup + IL_007e: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0083: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0088: stloc.0 + IL_0089: ldloc.0 + IL_008a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_008f: nop + IL_0090: ldloc.0 + IL_0091: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0096: nop + IL_0097: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009c: dup + IL_009d: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00a2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00a7: stloc.0 + IL_00a8: ldloc.0 + IL_00a9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00ae: ldloc.0 + IL_00af: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b4: nop + IL_00b5: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ba: dup + IL_00bb: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00c0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c5: stloc.0 + IL_00c6: ldloc.0 + IL_00c7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00cc: nop + IL_00cd: ldloc.0 + IL_00ce: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d3: nop + IL_00d4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d9: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00de: dup + IL_00df: ldind.ref + IL_00e0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e5: stloc.0 + IL_00e6: ldloc.0 + IL_00e7: stind.ref + IL_00e8: ldloc.0 + IL_00e9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ee: nop + IL_00ef: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00f4: dup + IL_00f5: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ff: stloc.0 + IL_0100: ldloc.0 + IL_0101: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0106: nop + IL_0107: ldloc.0 + IL_0108: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010d: nop + IL_010e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0113: dup + IL_0114: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0119: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011e: stloc.0 + IL_011f: ldloc.0 + IL_0120: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0125: ldloc.0 + IL_0126: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012b: nop + IL_012c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0131: dup + IL_0132: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0137: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_013c: stloc.0 + IL_013d: ldloc.0 + IL_013e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0143: nop + IL_0144: ldloc.0 + IL_0145: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014a: nop + IL_014b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0150: dup + IL_0151: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0156: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_015b: stloc.0 + IL_015c: ldloc.0 + IL_015d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0162: ldloc.0 + IL_0163: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0168: nop + IL_0169: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_016e: dup + IL_016f: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0174: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0179: stloc.0 + IL_017a: ldloc.0 + IL_017b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0180: nop + IL_0181: ldloc.0 + IL_0182: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0187: nop + IL_0188: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018d: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0192: dup + IL_0193: ldind.ref + IL_0194: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0199: stloc.0 + IL_019a: ldloc.0 + IL_019b: stind.ref + IL_019c: ldloc.0 + IL_019d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a2: nop + IL_01a3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01a8: dup + IL_01a9: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_01ae: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_01b3: stloc.0 + IL_01b4: ldloc.0 + IL_01b5: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_01ba: nop + IL_01bb: ldloc.0 + IL_01bc: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01c1: nop + IL_01c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_01c7: dup + IL_01c8: ldind.ref + IL_01c9: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Increment(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_01ce: stloc.0 + IL_01cf: ldloc.0 + IL_01d0: stind.ref + IL_01d1: ldloc.0 + IL_01d2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01d7: nop + IL_01d8: ret + } // end of method CompoundAssignmentTest::CustomClassPreIncTest - .method public hidebysig instance int32 - PostIncrementStaticFieldShort() cil managed + .method public hidebysig static void CustomClassPostDecTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 20 (0x14) - .maxstack 3 - .locals init (int32 V_0) + // Code size 473 (0x1d9) + .maxstack 2 + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_0) IL_0000: nop - IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField IL_0006: dup - IL_0007: ldc.i4.1 - IL_0008: add - IL_0009: conv.i2 - IL_000a: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_000f: stloc.0 - IL_0010: br.s IL_0012 + IL_0007: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0016: nop + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_001c: dup + IL_001d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0027: nop + IL_0028: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002d: nop + IL_002e: ldarg.1 + IL_002f: dup + IL_0030: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0035: stloc.0 + IL_0036: ldloc.0 + IL_0037: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_003c: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0041: ldloc.0 + IL_0042: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0047: nop + IL_0048: ldarg.1 + IL_0049: dup + IL_004a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_004f: stloc.0 + IL_0050: ldloc.0 + IL_0051: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0056: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_005b: nop + IL_005c: ldloc.0 + IL_005d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0062: nop + IL_0063: ldarga.s s + IL_0065: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_006a: dup + IL_006b: ldind.ref + IL_006c: stloc.0 + IL_006d: ldloc.0 + IL_006e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0073: stind.ref + IL_0074: ldloc.0 + IL_0075: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007a: nop + IL_007b: ldarga.s s + IL_007d: dup + IL_007e: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0083: stloc.0 + IL_0084: ldloc.0 + IL_0085: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_008a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_008f: nop + IL_0090: ldloc.0 + IL_0091: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0096: nop + IL_0097: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009c: dup + IL_009d: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00a2: stloc.0 + IL_00a3: ldloc.0 + IL_00a4: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00a9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00ae: ldloc.0 + IL_00af: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b4: nop + IL_00b5: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ba: dup + IL_00bb: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00c0: stloc.0 + IL_00c1: ldloc.0 + IL_00c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00cc: nop + IL_00cd: ldloc.0 + IL_00ce: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d3: nop + IL_00d4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d9: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00de: dup + IL_00df: ldind.ref + IL_00e0: stloc.0 + IL_00e1: ldloc.0 + IL_00e2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e7: stind.ref + IL_00e8: ldloc.0 + IL_00e9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ee: nop + IL_00ef: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00f4: dup + IL_00f5: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00fa: stloc.0 + IL_00fb: ldloc.0 + IL_00fc: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0101: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0106: nop + IL_0107: ldloc.0 + IL_0108: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010d: nop + IL_010e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0113: dup + IL_0114: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0119: stloc.0 + IL_011a: ldloc.0 + IL_011b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0120: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0125: ldloc.0 + IL_0126: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012b: nop + IL_012c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0131: dup + IL_0132: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0137: stloc.0 + IL_0138: ldloc.0 + IL_0139: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_013e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0143: nop + IL_0144: ldloc.0 + IL_0145: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014a: nop + IL_014b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0150: dup + IL_0151: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0156: stloc.0 + IL_0157: ldloc.0 + IL_0158: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_015d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0162: ldloc.0 + IL_0163: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0168: nop + IL_0169: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_016e: dup + IL_016f: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0174: stloc.0 + IL_0175: ldloc.0 + IL_0176: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_017b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0180: nop + IL_0181: ldloc.0 + IL_0182: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0187: nop + IL_0188: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018d: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0192: dup + IL_0193: ldind.ref + IL_0194: stloc.0 + IL_0195: ldloc.0 + IL_0196: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_019b: stind.ref + IL_019c: ldloc.0 + IL_019d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a2: nop + IL_01a3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01a8: dup + IL_01a9: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_01ae: stloc.0 + IL_01af: ldloc.0 + IL_01b0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_01b5: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_01ba: nop + IL_01bb: ldloc.0 + IL_01bc: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01c1: nop + IL_01c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_01c7: dup + IL_01c8: ldind.ref + IL_01c9: stloc.0 + IL_01ca: ldloc.0 + IL_01cb: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_01d0: stind.ref + IL_01d1: ldloc.0 + IL_01d2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01d7: nop + IL_01d8: ret + } // end of method CompoundAssignmentTest::CustomClassPostDecTest - IL_0012: ldloc.0 - IL_0013: ret - } // end of method CompoundAssignmentTest::PostIncrementStaticFieldShort + .method public hidebysig static void CustomClassPreDecTest(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 473 (0x1d9) + .maxstack 2 + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass V_0) + IL_0000: nop + IL_0001: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0006: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_000b: dup + IL_000c: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0011: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0016: nop + IL_0017: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_001c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0021: dup + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0027: nop + IL_0028: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002d: nop + IL_002e: ldarg.1 + IL_002f: dup + IL_0030: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0035: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_003a: stloc.0 + IL_003b: ldloc.0 + IL_003c: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0041: ldloc.0 + IL_0042: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0047: nop + IL_0048: ldarg.1 + IL_0049: dup + IL_004a: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_004f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0054: stloc.0 + IL_0055: ldloc.0 + IL_0056: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_005b: nop + IL_005c: ldloc.0 + IL_005d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0062: nop + IL_0063: ldarga.s s + IL_0065: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_006a: dup + IL_006b: ldind.ref + IL_006c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0071: stloc.0 + IL_0072: ldloc.0 + IL_0073: stind.ref + IL_0074: ldloc.0 + IL_0075: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_007a: nop + IL_007b: ldarga.s s + IL_007d: dup + IL_007e: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_0083: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0088: stloc.0 + IL_0089: ldloc.0 + IL_008a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_008f: nop + IL_0090: ldloc.0 + IL_0091: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0096: nop + IL_0097: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_009c: dup + IL_009d: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00a2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00a7: stloc.0 + IL_00a8: ldloc.0 + IL_00a9: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_00ae: ldloc.0 + IL_00af: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00b4: nop + IL_00b5: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00ba: dup + IL_00bb: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_00c0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00c5: stloc.0 + IL_00c6: ldloc.0 + IL_00c7: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00cc: nop + IL_00cd: ldloc.0 + IL_00ce: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00d3: nop + IL_00d4: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00d9: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_00de: dup + IL_00df: ldind.ref + IL_00e0: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00e5: stloc.0 + IL_00e6: ldloc.0 + IL_00e7: stind.ref + IL_00e8: ldloc.0 + IL_00e9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00ee: nop + IL_00ef: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00f4: dup + IL_00f5: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_00fa: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_00ff: stloc.0 + IL_0100: ldloc.0 + IL_0101: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0106: nop + IL_0107: ldloc.0 + IL_0108: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_010d: nop + IL_010e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0113: dup + IL_0114: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0119: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_011e: stloc.0 + IL_011f: ldloc.0 + IL_0120: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0125: ldloc.0 + IL_0126: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_012b: nop + IL_012c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0131: dup + IL_0132: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0137: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_013c: stloc.0 + IL_013d: ldloc.0 + IL_013e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0143: nop + IL_0144: ldloc.0 + IL_0145: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_014a: nop + IL_014b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0150: dup + IL_0151: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0156: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_015b: stloc.0 + IL_015c: ldloc.0 + IL_015d: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomClassField + IL_0162: ldloc.0 + IL_0163: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0168: nop + IL_0169: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_016e: dup + IL_016f: callvirt instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomClassProp() + IL_0174: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0179: stloc.0 + IL_017a: ldloc.0 + IL_017b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0180: nop + IL_0181: ldloc.0 + IL_0182: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0187: nop + IL_0188: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_018d: ldflda class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomClassField + IL_0192: dup + IL_0193: ldind.ref + IL_0194: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_0199: stloc.0 + IL_019a: ldloc.0 + IL_019b: stind.ref + IL_019c: ldloc.0 + IL_019d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01a2: nop + IL_01a3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01a8: dup + IL_01a9: call instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomClassProp() + IL_01ae: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_01b3: stloc.0 + IL_01b4: ldloc.0 + IL_01b5: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_01ba: nop + IL_01bb: ldloc.0 + IL_01bc: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01c1: nop + IL_01c2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomClass() + IL_01c7: dup + IL_01c8: ldind.ref + IL_01c9: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::op_Decrement(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + IL_01ce: stloc.0 + IL_01cf: ldloc.0 + IL_01d0: stind.ref + IL_01d1: ldloc.0 + IL_01d2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01d7: nop + IL_01d8: ret + } // end of method CompoundAssignmentTest::CustomClassPreDecTest - .method public hidebysig instance void - IncrementStaticFieldShort() cil managed + .method public hidebysig static void CustomStructAddTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 15 (0xf) - .maxstack 8 + // Code size 509 (0x1fd) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) IL_0000: nop - IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_0006: ldc.i4.1 - IL_0007: add - IL_0008: conv.i2 - IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_000e: ret - } // end of method CompoundAssignmentTest::IncrementStaticFieldShort + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: ldloca.s V_0 + IL_0008: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000e: ldloc.0 + IL_000f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0014: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0019: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001e: ldloca.s V_0 + IL_0020: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0026: ldloc.0 + IL_0027: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0031: nop + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0039: ldloca.s V_0 + IL_003b: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0041: ldloc.0 + IL_0042: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0047: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004c: ldarg.1 + IL_004d: dup + IL_004e: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0053: ldloca.s V_0 + IL_0055: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_005b: ldloc.0 + IL_005c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0061: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0066: nop + IL_0067: ldarga.s s + IL_0069: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006e: dup + IL_006f: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0074: ldloca.s V_0 + IL_0076: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_007c: ldloc.0 + IL_007d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0082: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0087: ldarga.s s + IL_0089: dup + IL_008a: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008f: ldloca.s V_0 + IL_0091: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0097: ldloc.0 + IL_0098: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00a2: nop + IL_00a3: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a8: dup + IL_00a9: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00ae: ldloca.s V_0 + IL_00b0: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b6: ldloc.0 + IL_00b7: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00bc: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00c1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c6: dup + IL_00c7: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00cc: ldloca.s V_0 + IL_00ce: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00d4: ldloc.0 + IL_00d5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00da: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00df: nop + IL_00e0: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e5: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00ea: dup + IL_00eb: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f0: ldloca.s V_0 + IL_00f2: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f8: ldloc.0 + IL_00f9: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00fe: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0103: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0108: dup + IL_0109: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_010e: ldloca.s V_0 + IL_0110: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0116: ldloc.0 + IL_0117: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_011c: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0121: nop + IL_0122: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0127: dup + IL_0128: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_012d: ldloca.s V_0 + IL_012f: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0135: ldloc.0 + IL_0136: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_013b: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0140: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0145: dup + IL_0146: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_014b: ldloca.s V_0 + IL_014d: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0153: ldloc.0 + IL_0154: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0159: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_015e: nop + IL_015f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0164: dup + IL_0165: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_016a: ldloca.s V_0 + IL_016c: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0172: ldloc.0 + IL_0173: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0178: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_017d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0182: dup + IL_0183: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0188: ldloca.s V_0 + IL_018a: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0190: ldloc.0 + IL_0191: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0196: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_019b: nop + IL_019c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01a1: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_01a6: dup + IL_01a7: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01ac: ldloca.s V_0 + IL_01ae: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01b4: ldloc.0 + IL_01b5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01ba: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01bf: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01c4: dup + IL_01c5: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_01ca: ldloca.s V_0 + IL_01cc: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01d2: ldloc.0 + IL_01d3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01dd: nop + IL_01de: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_01e3: dup + IL_01e4: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e9: ldloca.s V_0 + IL_01eb: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01f1: ldloc.0 + IL_01f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Addition(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01f7: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01fc: ret + } // end of method CompoundAssignmentTest::CustomStructAddTest - .method public hidebysig instance void - DoubleStaticFieldShort() cil managed + .method public hidebysig static void CustomStructSubtractTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 15 (0xf) - .maxstack 8 + // Code size 509 (0x1fd) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) IL_0000: nop - IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_0006: ldc.i4.2 - IL_0007: mul - IL_0008: conv.i2 - IL_0009: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_000e: ret - } // end of method CompoundAssignmentTest::DoubleStaticFieldShort + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: ldloca.s V_0 + IL_0008: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000e: ldloc.0 + IL_000f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0014: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0019: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001e: ldloca.s V_0 + IL_0020: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0026: ldloc.0 + IL_0027: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0031: nop + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0039: ldloca.s V_0 + IL_003b: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0041: ldloc.0 + IL_0042: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0047: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004c: ldarg.1 + IL_004d: dup + IL_004e: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0053: ldloca.s V_0 + IL_0055: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_005b: ldloc.0 + IL_005c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0061: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0066: nop + IL_0067: ldarga.s s + IL_0069: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006e: dup + IL_006f: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0074: ldloca.s V_0 + IL_0076: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_007c: ldloc.0 + IL_007d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0082: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0087: ldarga.s s + IL_0089: dup + IL_008a: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008f: ldloca.s V_0 + IL_0091: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0097: ldloc.0 + IL_0098: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00a2: nop + IL_00a3: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a8: dup + IL_00a9: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00ae: ldloca.s V_0 + IL_00b0: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b6: ldloc.0 + IL_00b7: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00bc: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00c1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c6: dup + IL_00c7: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00cc: ldloca.s V_0 + IL_00ce: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00d4: ldloc.0 + IL_00d5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00da: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00df: nop + IL_00e0: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e5: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00ea: dup + IL_00eb: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f0: ldloca.s V_0 + IL_00f2: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f8: ldloc.0 + IL_00f9: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00fe: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0103: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0108: dup + IL_0109: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_010e: ldloca.s V_0 + IL_0110: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0116: ldloc.0 + IL_0117: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_011c: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0121: nop + IL_0122: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0127: dup + IL_0128: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_012d: ldloca.s V_0 + IL_012f: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0135: ldloc.0 + IL_0136: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_013b: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0140: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0145: dup + IL_0146: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_014b: ldloca.s V_0 + IL_014d: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0153: ldloc.0 + IL_0154: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0159: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_015e: nop + IL_015f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0164: dup + IL_0165: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_016a: ldloca.s V_0 + IL_016c: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0172: ldloc.0 + IL_0173: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0178: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_017d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0182: dup + IL_0183: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0188: ldloca.s V_0 + IL_018a: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0190: ldloc.0 + IL_0191: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0196: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_019b: nop + IL_019c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01a1: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_01a6: dup + IL_01a7: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01ac: ldloca.s V_0 + IL_01ae: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01b4: ldloc.0 + IL_01b5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01ba: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01bf: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01c4: dup + IL_01c5: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_01ca: ldloca.s V_0 + IL_01cc: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01d2: ldloc.0 + IL_01d3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01dd: nop + IL_01de: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_01e3: dup + IL_01e4: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e9: ldloca.s V_0 + IL_01eb: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01f1: ldloc.0 + IL_01f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Subtraction(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01f7: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01fc: ret + } // end of method CompoundAssignmentTest::CustomStructSubtractTest - .method public hidebysig instance int16 - DoubleStaticFieldAndReturnShort() cil managed + .method public hidebysig static void CustomStructMultiplyTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 20 (0x14) - .maxstack 2 - .locals init (int16 V_0) + // Code size 509 (0x1fd) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) IL_0000: nop - IL_0001: ldsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_0006: ldc.i4.2 - IL_0007: mul - IL_0008: conv.i2 - IL_0009: dup - IL_000a: stsfld int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::StaticShortField - IL_000f: stloc.0 - IL_0010: br.s IL_0012 + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: ldloca.s V_0 + IL_0008: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000e: ldloc.0 + IL_000f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0014: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0019: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001e: ldloca.s V_0 + IL_0020: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0026: ldloc.0 + IL_0027: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0031: nop + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0039: ldloca.s V_0 + IL_003b: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0041: ldloc.0 + IL_0042: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0047: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004c: ldarg.1 + IL_004d: dup + IL_004e: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0053: ldloca.s V_0 + IL_0055: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_005b: ldloc.0 + IL_005c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0061: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0066: nop + IL_0067: ldarga.s s + IL_0069: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006e: dup + IL_006f: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0074: ldloca.s V_0 + IL_0076: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_007c: ldloc.0 + IL_007d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0082: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0087: ldarga.s s + IL_0089: dup + IL_008a: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008f: ldloca.s V_0 + IL_0091: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0097: ldloc.0 + IL_0098: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00a2: nop + IL_00a3: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a8: dup + IL_00a9: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00ae: ldloca.s V_0 + IL_00b0: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b6: ldloc.0 + IL_00b7: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00bc: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00c1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c6: dup + IL_00c7: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00cc: ldloca.s V_0 + IL_00ce: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00d4: ldloc.0 + IL_00d5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00da: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00df: nop + IL_00e0: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e5: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00ea: dup + IL_00eb: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f0: ldloca.s V_0 + IL_00f2: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f8: ldloc.0 + IL_00f9: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00fe: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0103: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0108: dup + IL_0109: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_010e: ldloca.s V_0 + IL_0110: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0116: ldloc.0 + IL_0117: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_011c: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0121: nop + IL_0122: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0127: dup + IL_0128: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_012d: ldloca.s V_0 + IL_012f: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0135: ldloc.0 + IL_0136: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_013b: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0140: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0145: dup + IL_0146: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_014b: ldloca.s V_0 + IL_014d: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0153: ldloc.0 + IL_0154: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0159: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_015e: nop + IL_015f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0164: dup + IL_0165: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_016a: ldloca.s V_0 + IL_016c: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0172: ldloc.0 + IL_0173: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0178: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_017d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0182: dup + IL_0183: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0188: ldloca.s V_0 + IL_018a: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0190: ldloc.0 + IL_0191: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0196: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_019b: nop + IL_019c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01a1: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_01a6: dup + IL_01a7: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01ac: ldloca.s V_0 + IL_01ae: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01b4: ldloc.0 + IL_01b5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01ba: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01bf: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01c4: dup + IL_01c5: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_01ca: ldloca.s V_0 + IL_01cc: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01d2: ldloc.0 + IL_01d3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01dd: nop + IL_01de: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_01e3: dup + IL_01e4: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e9: ldloca.s V_0 + IL_01eb: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01f1: ldloc.0 + IL_01f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Multiply(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01f7: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01fc: ret + } // end of method CompoundAssignmentTest::CustomStructMultiplyTest - IL_0012: ldloc.0 - IL_0013: ret - } // end of method CompoundAssignmentTest::DoubleStaticFieldAndReturnShort + .method public hidebysig static void CustomStructDivideTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 509 (0x1fd) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) + IL_0000: nop + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: ldloca.s V_0 + IL_0008: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000e: ldloc.0 + IL_000f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0014: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0019: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001e: ldloca.s V_0 + IL_0020: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0026: ldloc.0 + IL_0027: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0031: nop + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0039: ldloca.s V_0 + IL_003b: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0041: ldloc.0 + IL_0042: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0047: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004c: ldarg.1 + IL_004d: dup + IL_004e: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0053: ldloca.s V_0 + IL_0055: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_005b: ldloc.0 + IL_005c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0061: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0066: nop + IL_0067: ldarga.s s + IL_0069: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006e: dup + IL_006f: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0074: ldloca.s V_0 + IL_0076: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_007c: ldloc.0 + IL_007d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0082: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0087: ldarga.s s + IL_0089: dup + IL_008a: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008f: ldloca.s V_0 + IL_0091: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0097: ldloc.0 + IL_0098: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00a2: nop + IL_00a3: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a8: dup + IL_00a9: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00ae: ldloca.s V_0 + IL_00b0: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b6: ldloc.0 + IL_00b7: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00bc: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00c1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c6: dup + IL_00c7: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00cc: ldloca.s V_0 + IL_00ce: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00d4: ldloc.0 + IL_00d5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00da: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00df: nop + IL_00e0: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e5: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00ea: dup + IL_00eb: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f0: ldloca.s V_0 + IL_00f2: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f8: ldloc.0 + IL_00f9: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00fe: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0103: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0108: dup + IL_0109: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_010e: ldloca.s V_0 + IL_0110: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0116: ldloc.0 + IL_0117: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_011c: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0121: nop + IL_0122: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0127: dup + IL_0128: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_012d: ldloca.s V_0 + IL_012f: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0135: ldloc.0 + IL_0136: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_013b: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0140: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0145: dup + IL_0146: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_014b: ldloca.s V_0 + IL_014d: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0153: ldloc.0 + IL_0154: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0159: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_015e: nop + IL_015f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0164: dup + IL_0165: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_016a: ldloca.s V_0 + IL_016c: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0172: ldloc.0 + IL_0173: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0178: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_017d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0182: dup + IL_0183: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0188: ldloca.s V_0 + IL_018a: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0190: ldloc.0 + IL_0191: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0196: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_019b: nop + IL_019c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01a1: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_01a6: dup + IL_01a7: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01ac: ldloca.s V_0 + IL_01ae: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01b4: ldloc.0 + IL_01b5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01ba: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01bf: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01c4: dup + IL_01c5: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_01ca: ldloca.s V_0 + IL_01cc: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01d2: ldloc.0 + IL_01d3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01dd: nop + IL_01de: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_01e3: dup + IL_01e4: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e9: ldloca.s V_0 + IL_01eb: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01f1: ldloc.0 + IL_01f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Division(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01f7: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01fc: ret + } // end of method CompoundAssignmentTest::CustomStructDivideTest - .method public hidebysig instance int32 - PreIncrementStaticProperty() cil managed + .method public hidebysig static void CustomStructModulusTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 20 (0x14) - .maxstack 2 - .locals init (int32 V_0) + // Code size 509 (0x1fd) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) IL_0000: nop - IL_0001: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() - IL_0006: ldc.i4.1 - IL_0007: add - IL_0008: dup - IL_0009: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) - IL_000e: nop - IL_000f: stloc.0 - IL_0010: br.s IL_0012 + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: ldloca.s V_0 + IL_0008: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000e: ldloc.0 + IL_000f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0014: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0019: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001e: ldloca.s V_0 + IL_0020: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0026: ldloc.0 + IL_0027: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0031: nop + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0039: ldloca.s V_0 + IL_003b: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0041: ldloc.0 + IL_0042: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0047: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004c: ldarg.1 + IL_004d: dup + IL_004e: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0053: ldloca.s V_0 + IL_0055: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_005b: ldloc.0 + IL_005c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0061: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0066: nop + IL_0067: ldarga.s s + IL_0069: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006e: dup + IL_006f: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0074: ldloca.s V_0 + IL_0076: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_007c: ldloc.0 + IL_007d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0082: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0087: ldarga.s s + IL_0089: dup + IL_008a: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008f: ldloca.s V_0 + IL_0091: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0097: ldloc.0 + IL_0098: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00a2: nop + IL_00a3: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a8: dup + IL_00a9: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00ae: ldloca.s V_0 + IL_00b0: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b6: ldloc.0 + IL_00b7: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00bc: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00c1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c6: dup + IL_00c7: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00cc: ldloca.s V_0 + IL_00ce: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00d4: ldloc.0 + IL_00d5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00da: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00df: nop + IL_00e0: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e5: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00ea: dup + IL_00eb: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f0: ldloca.s V_0 + IL_00f2: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f8: ldloc.0 + IL_00f9: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00fe: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0103: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0108: dup + IL_0109: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_010e: ldloca.s V_0 + IL_0110: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0116: ldloc.0 + IL_0117: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_011c: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0121: nop + IL_0122: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0127: dup + IL_0128: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_012d: ldloca.s V_0 + IL_012f: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0135: ldloc.0 + IL_0136: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_013b: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0140: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0145: dup + IL_0146: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_014b: ldloca.s V_0 + IL_014d: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0153: ldloc.0 + IL_0154: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0159: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_015e: nop + IL_015f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0164: dup + IL_0165: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_016a: ldloca.s V_0 + IL_016c: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0172: ldloc.0 + IL_0173: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0178: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_017d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0182: dup + IL_0183: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0188: ldloca.s V_0 + IL_018a: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0190: ldloc.0 + IL_0191: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0196: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_019b: nop + IL_019c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01a1: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_01a6: dup + IL_01a7: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01ac: ldloca.s V_0 + IL_01ae: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01b4: ldloc.0 + IL_01b5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01ba: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01bf: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01c4: dup + IL_01c5: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_01ca: ldloca.s V_0 + IL_01cc: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01d2: ldloc.0 + IL_01d3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01dd: nop + IL_01de: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_01e3: dup + IL_01e4: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e9: ldloca.s V_0 + IL_01eb: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01f1: ldloc.0 + IL_01f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Modulus(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01f7: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01fc: ret + } // end of method CompoundAssignmentTest::CustomStructModulusTest - IL_0012: ldloc.0 - IL_0013: ret - } // end of method CompoundAssignmentTest::PreIncrementStaticProperty + .method public hidebysig static void CustomStructLeftShiftTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 373 (0x175) + .maxstack 3 + IL_0000: nop + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: ldc.i4.5 + IL_0007: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_000c: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0011: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_0016: ldc.i4.5 + IL_0017: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: dup + IL_0024: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0029: ldc.i4.5 + IL_002a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_002f: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_003b: ldc.i4.5 + IL_003c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0041: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0046: nop + IL_0047: ldarga.s s + IL_0049: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_004e: dup + IL_004f: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0054: ldc.i4.5 + IL_0055: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_005a: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_005f: ldarga.s s + IL_0061: dup + IL_0062: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0067: ldc.i4.5 + IL_0068: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_006d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0072: nop + IL_0073: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0078: dup + IL_0079: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_007e: ldc.i4.5 + IL_007f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0084: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0089: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_008e: dup + IL_008f: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0094: ldc.i4.5 + IL_0095: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_009a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009f: nop + IL_00a0: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00a5: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00aa: dup + IL_00ab: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b0: ldc.i4.5 + IL_00b1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00b6: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00bb: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c0: dup + IL_00c1: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_00c6: ldc.i4.5 + IL_00c7: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00cc: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d1: nop + IL_00d2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00d7: dup + IL_00d8: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00dd: ldc.i4.5 + IL_00de: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00e3: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00e8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ed: dup + IL_00ee: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00f3: ldc.i4.5 + IL_00f4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00f9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00fe: nop + IL_00ff: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0104: dup + IL_0105: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_010a: ldc.i4.5 + IL_010b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0110: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_011a: dup + IL_011b: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0120: ldc.i4.5 + IL_0121: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_012b: nop + IL_012c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0131: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0136: dup + IL_0137: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_013c: ldc.i4.5 + IL_013d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0142: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0147: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_014c: dup + IL_014d: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0152: ldc.i4.5 + IL_0153: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0158: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_015d: nop + IL_015e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_0163: dup + IL_0164: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0169: ldc.i4.5 + IL_016a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_LeftShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_016f: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0174: ret + } // end of method CompoundAssignmentTest::CustomStructLeftShiftTest - .method public hidebysig instance int32 - PostIncrementStaticProperty() cil managed + .method public hidebysig static void CustomStructRightShiftTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 20 (0x14) + // Code size 373 (0x175) .maxstack 3 - .locals init (int32 V_0) IL_0000: nop - IL_0001: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() - IL_0006: dup - IL_0007: ldc.i4.1 - IL_0008: add - IL_0009: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) - IL_000e: nop - IL_000f: stloc.0 - IL_0010: br.s IL_0012 + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: ldc.i4.5 + IL_0007: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_000c: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0011: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_0016: ldc.i4.5 + IL_0017: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_001c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: dup + IL_0024: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0029: ldc.i4.5 + IL_002a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_002f: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_003b: ldc.i4.5 + IL_003c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0041: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0046: nop + IL_0047: ldarga.s s + IL_0049: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_004e: dup + IL_004f: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0054: ldc.i4.5 + IL_0055: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_005a: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_005f: ldarga.s s + IL_0061: dup + IL_0062: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0067: ldc.i4.5 + IL_0068: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_006d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0072: nop + IL_0073: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_0078: dup + IL_0079: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_007e: ldc.i4.5 + IL_007f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0084: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0089: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_008e: dup + IL_008f: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0094: ldc.i4.5 + IL_0095: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_009a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009f: nop + IL_00a0: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00a5: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00aa: dup + IL_00ab: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b0: ldc.i4.5 + IL_00b1: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00b6: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00bb: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00c0: dup + IL_00c1: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_00c6: ldc.i4.5 + IL_00c7: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00cc: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d1: nop + IL_00d2: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00d7: dup + IL_00d8: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00dd: ldc.i4.5 + IL_00de: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00e3: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00e8: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_00ed: dup + IL_00ee: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00f3: ldc.i4.5 + IL_00f4: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_00f9: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00fe: nop + IL_00ff: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0104: dup + IL_0105: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_010a: ldc.i4.5 + IL_010b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0110: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0115: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_011a: dup + IL_011b: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0120: ldc.i4.5 + IL_0121: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0126: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_012b: nop + IL_012c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_0131: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_0136: dup + IL_0137: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_013c: ldc.i4.5 + IL_013d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0142: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0147: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_014c: dup + IL_014d: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_0152: ldc.i4.5 + IL_0153: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_0158: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_015d: nop + IL_015e: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_0163: dup + IL_0164: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0169: ldc.i4.5 + IL_016a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_RightShift(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + int32) + IL_016f: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0174: ret + } // end of method CompoundAssignmentTest::CustomStructRightShiftTest - IL_0012: ldloc.0 - IL_0013: ret - } // end of method CompoundAssignmentTest::PostIncrementStaticProperty + .method public hidebysig static void CustomStructBitAndTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed + { + // Code size 509 (0x1fd) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) + IL_0000: nop + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: ldloca.s V_0 + IL_0008: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000e: ldloc.0 + IL_000f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0014: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0019: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001e: ldloca.s V_0 + IL_0020: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0026: ldloc.0 + IL_0027: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0031: nop + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0039: ldloca.s V_0 + IL_003b: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0041: ldloc.0 + IL_0042: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0047: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004c: ldarg.1 + IL_004d: dup + IL_004e: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0053: ldloca.s V_0 + IL_0055: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_005b: ldloc.0 + IL_005c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0061: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0066: nop + IL_0067: ldarga.s s + IL_0069: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006e: dup + IL_006f: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0074: ldloca.s V_0 + IL_0076: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_007c: ldloc.0 + IL_007d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0082: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0087: ldarga.s s + IL_0089: dup + IL_008a: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008f: ldloca.s V_0 + IL_0091: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0097: ldloc.0 + IL_0098: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00a2: nop + IL_00a3: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a8: dup + IL_00a9: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00ae: ldloca.s V_0 + IL_00b0: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b6: ldloc.0 + IL_00b7: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00bc: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00c1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c6: dup + IL_00c7: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00cc: ldloca.s V_0 + IL_00ce: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00d4: ldloc.0 + IL_00d5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00da: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00df: nop + IL_00e0: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e5: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00ea: dup + IL_00eb: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f0: ldloca.s V_0 + IL_00f2: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f8: ldloc.0 + IL_00f9: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00fe: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0103: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0108: dup + IL_0109: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_010e: ldloca.s V_0 + IL_0110: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0116: ldloc.0 + IL_0117: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_011c: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0121: nop + IL_0122: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0127: dup + IL_0128: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_012d: ldloca.s V_0 + IL_012f: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0135: ldloc.0 + IL_0136: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_013b: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0140: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0145: dup + IL_0146: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_014b: ldloca.s V_0 + IL_014d: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0153: ldloc.0 + IL_0154: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0159: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_015e: nop + IL_015f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0164: dup + IL_0165: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_016a: ldloca.s V_0 + IL_016c: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0172: ldloc.0 + IL_0173: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0178: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_017d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0182: dup + IL_0183: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0188: ldloca.s V_0 + IL_018a: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0190: ldloc.0 + IL_0191: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0196: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_019b: nop + IL_019c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01a1: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_01a6: dup + IL_01a7: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01ac: ldloca.s V_0 + IL_01ae: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01b4: ldloc.0 + IL_01b5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01ba: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01bf: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01c4: dup + IL_01c5: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_01ca: ldloca.s V_0 + IL_01cc: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01d2: ldloc.0 + IL_01d3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01dd: nop + IL_01de: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_01e3: dup + IL_01e4: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e9: ldloca.s V_0 + IL_01eb: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01f1: ldloc.0 + IL_01f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseAnd(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01f7: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01fc: ret + } // end of method CompoundAssignmentTest::CustomStructBitAndTest - .method public hidebysig instance void - IncrementStaticProperty() cil managed + .method public hidebysig static void CustomStructBitOrTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 15 (0xf) - .maxstack 8 + // Code size 509 (0x1fd) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) IL_0000: nop - IL_0001: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() - IL_0006: ldc.i4.1 - IL_0007: add - IL_0008: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) - IL_000d: nop - IL_000e: ret - } // end of method CompoundAssignmentTest::IncrementStaticProperty + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: ldloca.s V_0 + IL_0008: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000e: ldloc.0 + IL_000f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0014: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0019: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001e: ldloca.s V_0 + IL_0020: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0026: ldloc.0 + IL_0027: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0031: nop + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0039: ldloca.s V_0 + IL_003b: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0041: ldloc.0 + IL_0042: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0047: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004c: ldarg.1 + IL_004d: dup + IL_004e: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0053: ldloca.s V_0 + IL_0055: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_005b: ldloc.0 + IL_005c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0061: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0066: nop + IL_0067: ldarga.s s + IL_0069: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006e: dup + IL_006f: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0074: ldloca.s V_0 + IL_0076: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_007c: ldloc.0 + IL_007d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0082: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0087: ldarga.s s + IL_0089: dup + IL_008a: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008f: ldloca.s V_0 + IL_0091: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0097: ldloc.0 + IL_0098: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00a2: nop + IL_00a3: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a8: dup + IL_00a9: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00ae: ldloca.s V_0 + IL_00b0: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b6: ldloc.0 + IL_00b7: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00bc: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00c1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c6: dup + IL_00c7: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00cc: ldloca.s V_0 + IL_00ce: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00d4: ldloc.0 + IL_00d5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00da: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00df: nop + IL_00e0: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e5: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00ea: dup + IL_00eb: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f0: ldloca.s V_0 + IL_00f2: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f8: ldloc.0 + IL_00f9: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00fe: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0103: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0108: dup + IL_0109: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_010e: ldloca.s V_0 + IL_0110: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0116: ldloc.0 + IL_0117: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_011c: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0121: nop + IL_0122: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0127: dup + IL_0128: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_012d: ldloca.s V_0 + IL_012f: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0135: ldloc.0 + IL_0136: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_013b: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0140: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0145: dup + IL_0146: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_014b: ldloca.s V_0 + IL_014d: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0153: ldloc.0 + IL_0154: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0159: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_015e: nop + IL_015f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0164: dup + IL_0165: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_016a: ldloca.s V_0 + IL_016c: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0172: ldloc.0 + IL_0173: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0178: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_017d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0182: dup + IL_0183: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0188: ldloca.s V_0 + IL_018a: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0190: ldloc.0 + IL_0191: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0196: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_019b: nop + IL_019c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01a1: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_01a6: dup + IL_01a7: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01ac: ldloca.s V_0 + IL_01ae: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01b4: ldloc.0 + IL_01b5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01ba: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01bf: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01c4: dup + IL_01c5: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_01ca: ldloca.s V_0 + IL_01cc: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01d2: ldloc.0 + IL_01d3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01dd: nop + IL_01de: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_01e3: dup + IL_01e4: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e9: ldloca.s V_0 + IL_01eb: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01f1: ldloc.0 + IL_01f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_BitwiseOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01f7: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01fc: ret + } // end of method CompoundAssignmentTest::CustomStructBitOrTest - .method public hidebysig instance void - DoubleStaticProperty() cil managed + .method public hidebysig static void CustomStructBitXorTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 15 (0xf) - .maxstack 8 + // Code size 509 (0x1fd) + .maxstack 3 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) IL_0000: nop - IL_0001: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() - IL_0006: ldc.i4.2 - IL_0007: mul - IL_0008: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) - IL_000d: nop - IL_000e: ret - } // end of method CompoundAssignmentTest::DoubleStaticProperty + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: ldloca.s V_0 + IL_0008: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_000e: ldloc.0 + IL_000f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0014: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0019: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001e: ldloca.s V_0 + IL_0020: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0026: ldloc.0 + IL_0027: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_002c: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0031: nop + IL_0032: ldarg.1 + IL_0033: dup + IL_0034: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0039: ldloca.s V_0 + IL_003b: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0041: ldloc.0 + IL_0042: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0047: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_004c: ldarg.1 + IL_004d: dup + IL_004e: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0053: ldloca.s V_0 + IL_0055: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_005b: ldloc.0 + IL_005c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0061: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0066: nop + IL_0067: ldarga.s s + IL_0069: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006e: dup + IL_006f: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0074: ldloca.s V_0 + IL_0076: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_007c: ldloc.0 + IL_007d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0082: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0087: ldarga.s s + IL_0089: dup + IL_008a: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008f: ldloca.s V_0 + IL_0091: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0097: ldloc.0 + IL_0098: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_009d: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00a2: nop + IL_00a3: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a8: dup + IL_00a9: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00ae: ldloca.s V_0 + IL_00b0: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00b6: ldloc.0 + IL_00b7: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00bc: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00c1: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c6: dup + IL_00c7: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00cc: ldloca.s V_0 + IL_00ce: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00d4: ldloc.0 + IL_00d5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00da: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00df: nop + IL_00e0: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e5: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00ea: dup + IL_00eb: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f0: ldloca.s V_0 + IL_00f2: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f8: ldloc.0 + IL_00f9: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00fe: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0103: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0108: dup + IL_0109: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_010e: ldloca.s V_0 + IL_0110: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0116: ldloc.0 + IL_0117: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_011c: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0121: nop + IL_0122: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0127: dup + IL_0128: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_012d: ldloca.s V_0 + IL_012f: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0135: ldloc.0 + IL_0136: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_013b: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0140: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0145: dup + IL_0146: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_014b: ldloca.s V_0 + IL_014d: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0153: ldloc.0 + IL_0154: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0159: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_015e: nop + IL_015f: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0164: dup + IL_0165: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_016a: ldloca.s V_0 + IL_016c: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0172: ldloc.0 + IL_0173: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0178: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_017d: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0182: dup + IL_0183: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0188: ldloca.s V_0 + IL_018a: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0190: ldloc.0 + IL_0191: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0196: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_019b: nop + IL_019c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01a1: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_01a6: dup + IL_01a7: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01ac: ldloca.s V_0 + IL_01ae: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01b4: ldloc.0 + IL_01b5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01ba: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01bf: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01c4: dup + IL_01c5: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_01ca: ldloca.s V_0 + IL_01cc: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01d2: ldloc.0 + IL_01d3: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d8: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01dd: nop + IL_01de: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_01e3: dup + IL_01e4: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e9: ldloca.s V_0 + IL_01eb: initobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01f1: ldloc.0 + IL_01f2: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_ExclusiveOr(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01f7: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01fc: ret + } // end of method CompoundAssignmentTest::CustomStructBitXorTest - .method public hidebysig instance int32 - DoubleStaticPropertyAndReturn() cil managed + .method public hidebysig static void CustomStructPostIncTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 20 (0x14) + // Code size 505 (0x1f9) .maxstack 2 - .locals init (int32 V_0) + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) IL_0000: nop - IL_0001: call int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty() - IL_0006: ldc.i4.2 - IL_0007: mul - IL_0008: dup - IL_0009: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticProperty(int32) - IL_000e: nop - IL_000f: stloc.0 - IL_0010: br.s IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method CompoundAssignmentTest::DoubleStaticPropertyAndReturn + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: dup + IL_0007: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_000c: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0011: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0016: nop + IL_0017: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001c: dup + IL_001d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0027: nop + IL_0028: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002d: nop + IL_002e: ldarg.1 + IL_002f: dup + IL_0030: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0035: stloc.0 + IL_0036: ldloc.0 + IL_0037: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_003c: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0041: ldloc.0 + IL_0042: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0047: nop + IL_0048: ldarg.1 + IL_0049: dup + IL_004a: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_004f: stloc.0 + IL_0050: ldloc.0 + IL_0051: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0056: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_005b: nop + IL_005c: ldloc.0 + IL_005d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0062: nop + IL_0063: ldarga.s s + IL_0065: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006a: dup + IL_006b: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0070: stloc.0 + IL_0071: ldloc.0 + IL_0072: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0077: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_007c: ldloc.0 + IL_007d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0082: nop + IL_0083: ldarga.s s + IL_0085: dup + IL_0086: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008b: stloc.0 + IL_008c: ldloc.0 + IL_008d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0092: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0097: nop + IL_0098: ldloc.0 + IL_0099: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009e: nop + IL_009f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a4: dup + IL_00a5: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00aa: stloc.0 + IL_00ab: ldloc.0 + IL_00ac: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b1: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00b6: ldloc.0 + IL_00b7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00bc: nop + IL_00bd: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c2: dup + IL_00c3: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c8: stloc.0 + IL_00c9: ldloc.0 + IL_00ca: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00cf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d4: nop + IL_00d5: ldloc.0 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: nop + IL_00dc: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e1: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e6: dup + IL_00e7: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ec: stloc.0 + IL_00ed: ldloc.0 + IL_00ee: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f3: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f8: ldloc.0 + IL_00f9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00fe: nop + IL_00ff: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0104: dup + IL_0105: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_010a: stloc.0 + IL_010b: ldloc.0 + IL_010c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0111: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0116: nop + IL_0117: ldloc.0 + IL_0118: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011d: nop + IL_011e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0123: dup + IL_0124: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0129: stloc.0 + IL_012a: ldloc.0 + IL_012b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0130: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: nop + IL_013c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0141: dup + IL_0142: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0147: stloc.0 + IL_0148: ldloc.0 + IL_0149: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_014e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0153: nop + IL_0154: ldloc.0 + IL_0155: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015a: nop + IL_015b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0160: dup + IL_0161: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0166: stloc.0 + IL_0167: ldloc.0 + IL_0168: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_016d: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0172: ldloc.0 + IL_0173: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0178: nop + IL_0179: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_017e: dup + IL_017f: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0184: stloc.0 + IL_0185: ldloc.0 + IL_0186: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0190: nop + IL_0191: ldloc.0 + IL_0192: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0197: nop + IL_0198: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_019d: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_01a2: dup + IL_01a3: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01a8: stloc.0 + IL_01a9: ldloc.0 + IL_01aa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01af: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01b4: ldloc.0 + IL_01b5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01ba: nop + IL_01bb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01c0: dup + IL_01c1: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_01c6: stloc.0 + IL_01c7: ldloc.0 + IL_01c8: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01cd: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d2: nop + IL_01d3: ldloc.0 + IL_01d4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01d9: nop + IL_01da: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_01df: dup + IL_01e0: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e5: stloc.0 + IL_01e6: ldloc.0 + IL_01e7: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01ec: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01f1: ldloc.0 + IL_01f2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01f7: nop + IL_01f8: ret + } // end of method CompoundAssignmentTest::CustomStructPostIncTest - .method public hidebysig instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum - PreIncrementStaticPropertyShort() cil managed + .method public hidebysig static void CustomStructPreIncTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 21 (0x15) + // Code size 505 (0x1f9) .maxstack 2 - .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum V_0) + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) IL_0000: nop - IL_0001: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticShortProperty() - IL_0006: ldc.i4.1 - IL_0007: add - IL_0008: conv.i2 - IL_0009: dup - IL_000a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum) - IL_000f: nop - IL_0010: stloc.0 - IL_0011: br.s IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method CompoundAssignmentTest::PreIncrementStaticPropertyShort + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_000b: dup + IL_000c: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0011: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0016: nop + IL_0017: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0021: dup + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0027: nop + IL_0028: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002d: nop + IL_002e: ldarg.1 + IL_002f: dup + IL_0030: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0035: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_003a: stloc.0 + IL_003b: ldloc.0 + IL_003c: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0041: ldloc.0 + IL_0042: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0047: nop + IL_0048: ldarg.1 + IL_0049: dup + IL_004a: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_004f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0054: stloc.0 + IL_0055: ldloc.0 + IL_0056: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_005b: nop + IL_005c: ldloc.0 + IL_005d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0062: nop + IL_0063: ldarga.s s + IL_0065: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006a: dup + IL_006b: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0070: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0075: stloc.0 + IL_0076: ldloc.0 + IL_0077: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_007c: ldloc.0 + IL_007d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0082: nop + IL_0083: ldarga.s s + IL_0085: dup + IL_0086: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0090: stloc.0 + IL_0091: ldloc.0 + IL_0092: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0097: nop + IL_0098: ldloc.0 + IL_0099: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009e: nop + IL_009f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a4: dup + IL_00a5: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00aa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00af: stloc.0 + IL_00b0: ldloc.0 + IL_00b1: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00b6: ldloc.0 + IL_00b7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00bc: nop + IL_00bd: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c2: dup + IL_00c3: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c8: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00cd: stloc.0 + IL_00ce: ldloc.0 + IL_00cf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d4: nop + IL_00d5: ldloc.0 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: nop + IL_00dc: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e1: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e6: dup + IL_00e7: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ec: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f1: stloc.0 + IL_00f2: ldloc.0 + IL_00f3: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f8: ldloc.0 + IL_00f9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00fe: nop + IL_00ff: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0104: dup + IL_0105: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_010a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_010f: stloc.0 + IL_0110: ldloc.0 + IL_0111: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0116: nop + IL_0117: ldloc.0 + IL_0118: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011d: nop + IL_011e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0123: dup + IL_0124: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0129: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_012e: stloc.0 + IL_012f: ldloc.0 + IL_0130: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: nop + IL_013c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0141: dup + IL_0142: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0147: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_014c: stloc.0 + IL_014d: ldloc.0 + IL_014e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0153: nop + IL_0154: ldloc.0 + IL_0155: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015a: nop + IL_015b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0160: dup + IL_0161: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0166: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_016b: stloc.0 + IL_016c: ldloc.0 + IL_016d: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0172: ldloc.0 + IL_0173: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0178: nop + IL_0179: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_017e: dup + IL_017f: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0184: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0189: stloc.0 + IL_018a: ldloc.0 + IL_018b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0190: nop + IL_0191: ldloc.0 + IL_0192: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0197: nop + IL_0198: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_019d: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_01a2: dup + IL_01a3: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01a8: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01ad: stloc.0 + IL_01ae: ldloc.0 + IL_01af: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01b4: ldloc.0 + IL_01b5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01ba: nop + IL_01bb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01c0: dup + IL_01c1: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_01c6: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01cb: stloc.0 + IL_01cc: ldloc.0 + IL_01cd: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d2: nop + IL_01d3: ldloc.0 + IL_01d4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01d9: nop + IL_01da: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_01df: dup + IL_01e0: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Increment(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01ea: stloc.0 + IL_01eb: ldloc.0 + IL_01ec: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01f1: ldloc.0 + IL_01f2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01f7: nop + IL_01f8: ret + } // end of method CompoundAssignmentTest::CustomStructPreIncTest - .method public hidebysig instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum - PostIncrementStaticPropertyShort() cil managed + .method public hidebysig static void CustomStructPostDecTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 21 (0x15) - .maxstack 3 - .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum V_0) + // Code size 505 (0x1f9) + .maxstack 2 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) IL_0000: nop - IL_0001: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticShortProperty() + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField IL_0006: dup - IL_0007: ldc.i4.1 - IL_0008: add - IL_0009: conv.i2 - IL_000a: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum) - IL_000f: nop - IL_0010: stloc.0 - IL_0011: br.s IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method CompoundAssignmentTest::PostIncrementStaticPropertyShort + IL_0007: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_000c: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0011: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0016: nop + IL_0017: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001c: dup + IL_001d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0027: nop + IL_0028: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002d: nop + IL_002e: ldarg.1 + IL_002f: dup + IL_0030: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0035: stloc.0 + IL_0036: ldloc.0 + IL_0037: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_003c: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0041: ldloc.0 + IL_0042: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0047: nop + IL_0048: ldarg.1 + IL_0049: dup + IL_004a: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_004f: stloc.0 + IL_0050: ldloc.0 + IL_0051: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0056: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_005b: nop + IL_005c: ldloc.0 + IL_005d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0062: nop + IL_0063: ldarga.s s + IL_0065: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006a: dup + IL_006b: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0070: stloc.0 + IL_0071: ldloc.0 + IL_0072: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0077: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_007c: ldloc.0 + IL_007d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0082: nop + IL_0083: ldarga.s s + IL_0085: dup + IL_0086: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008b: stloc.0 + IL_008c: ldloc.0 + IL_008d: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0092: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0097: nop + IL_0098: ldloc.0 + IL_0099: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009e: nop + IL_009f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a4: dup + IL_00a5: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00aa: stloc.0 + IL_00ab: ldloc.0 + IL_00ac: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00b1: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00b6: ldloc.0 + IL_00b7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00bc: nop + IL_00bd: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c2: dup + IL_00c3: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c8: stloc.0 + IL_00c9: ldloc.0 + IL_00ca: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00cf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d4: nop + IL_00d5: ldloc.0 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: nop + IL_00dc: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e1: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e6: dup + IL_00e7: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ec: stloc.0 + IL_00ed: ldloc.0 + IL_00ee: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f3: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f8: ldloc.0 + IL_00f9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00fe: nop + IL_00ff: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0104: dup + IL_0105: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_010a: stloc.0 + IL_010b: ldloc.0 + IL_010c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0111: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0116: nop + IL_0117: ldloc.0 + IL_0118: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011d: nop + IL_011e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0123: dup + IL_0124: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0129: stloc.0 + IL_012a: ldloc.0 + IL_012b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0130: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: nop + IL_013c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0141: dup + IL_0142: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0147: stloc.0 + IL_0148: ldloc.0 + IL_0149: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_014e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0153: nop + IL_0154: ldloc.0 + IL_0155: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015a: nop + IL_015b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0160: dup + IL_0161: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0166: stloc.0 + IL_0167: ldloc.0 + IL_0168: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_016d: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0172: ldloc.0 + IL_0173: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0178: nop + IL_0179: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_017e: dup + IL_017f: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0184: stloc.0 + IL_0185: ldloc.0 + IL_0186: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_018b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0190: nop + IL_0191: ldloc.0 + IL_0192: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0197: nop + IL_0198: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_019d: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_01a2: dup + IL_01a3: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01a8: stloc.0 + IL_01a9: ldloc.0 + IL_01aa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01af: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01b4: ldloc.0 + IL_01b5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01ba: nop + IL_01bb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01c0: dup + IL_01c1: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_01c6: stloc.0 + IL_01c7: ldloc.0 + IL_01c8: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01cd: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d2: nop + IL_01d3: ldloc.0 + IL_01d4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01d9: nop + IL_01da: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_01df: dup + IL_01e0: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e5: stloc.0 + IL_01e6: ldloc.0 + IL_01e7: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01ec: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01f1: ldloc.0 + IL_01f2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01f7: nop + IL_01f8: ret + } // end of method CompoundAssignmentTest::CustomStructPostDecTest - .method public hidebysig instance void - IncrementStaticPropertyShort() cil managed + .method public hidebysig static void CustomStructPreDecTest(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct p, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass c, + valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 s) cil managed { - // Code size 16 (0x10) - .maxstack 8 + // Code size 505 (0x1f9) + .maxstack 2 + .locals init (valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct V_0) IL_0000: nop - IL_0001: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticShortProperty() - IL_0006: ldc.i4.1 - IL_0007: add - IL_0008: conv.i2 - IL_0009: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_StaticShortProperty(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/ShortEnum) - IL_000e: nop - IL_000f: ret - } // end of method CompoundAssignmentTest::IncrementStaticPropertyShort + IL_0001: ldsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0006: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_000b: dup + IL_000c: stsfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customStructField + IL_0011: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0016: nop + IL_0017: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + IL_001c: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0021: dup + IL_0022: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0027: nop + IL_0028: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_002d: nop + IL_002e: ldarg.1 + IL_002f: dup + IL_0030: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0035: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_003a: stloc.0 + IL_003b: ldloc.0 + IL_003c: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0041: ldloc.0 + IL_0042: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0047: nop + IL_0048: ldarg.1 + IL_0049: dup + IL_004a: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_004f: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0054: stloc.0 + IL_0055: ldloc.0 + IL_0056: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_005b: nop + IL_005c: ldloc.0 + IL_005d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0062: nop + IL_0063: ldarga.s s + IL_0065: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_006a: dup + IL_006b: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_0070: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0075: stloc.0 + IL_0076: ldloc.0 + IL_0077: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_007c: ldloc.0 + IL_007d: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0082: nop + IL_0083: ldarga.s s + IL_0085: dup + IL_0086: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_008b: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0090: stloc.0 + IL_0091: ldloc.0 + IL_0092: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0097: nop + IL_0098: ldloc.0 + IL_0099: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_009e: nop + IL_009f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00a4: dup + IL_00a5: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00aa: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00af: stloc.0 + IL_00b0: ldloc.0 + IL_00b1: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_00b6: ldloc.0 + IL_00b7: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00bc: nop + IL_00bd: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::customClassField + IL_00c2: dup + IL_00c3: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_00c8: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00cd: stloc.0 + IL_00ce: ldloc.0 + IL_00cf: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00d4: nop + IL_00d5: ldloc.0 + IL_00d6: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00db: nop + IL_00dc: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_00e1: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_00e6: dup + IL_00e7: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00ec: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_00f1: stloc.0 + IL_00f2: ldloc.0 + IL_00f3: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_00f8: ldloc.0 + IL_00f9: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_00fe: nop + IL_00ff: ldsflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::otherCustomStructField + IL_0104: dup + IL_0105: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_010a: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_010f: stloc.0 + IL_0110: ldloc.0 + IL_0111: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0116: nop + IL_0117: ldloc.0 + IL_0118: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_011d: nop + IL_011e: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0123: dup + IL_0124: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0129: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_012e: stloc.0 + IL_012f: ldloc.0 + IL_0130: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0135: ldloc.0 + IL_0136: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_013b: nop + IL_013c: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + IL_0141: dup + IL_0142: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0147: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_014c: stloc.0 + IL_014d: ldloc.0 + IL_014e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0153: nop + IL_0154: ldloc.0 + IL_0155: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_015a: nop + IL_015b: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_0160: dup + IL_0161: ldfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0166: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_016b: stloc.0 + IL_016c: ldloc.0 + IL_016d: stfld valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::CustomStructField + IL_0172: ldloc.0 + IL_0173: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0178: nop + IL_0179: call class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetClass() + IL_017e: dup + IL_017f: callvirt instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::get_CustomStructProp() + IL_0184: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0189: stloc.0 + IL_018a: ldloc.0 + IL_018b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_0190: nop + IL_0191: ldloc.0 + IL_0192: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_0197: nop + IL_0198: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_019d: ldflda valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::CustomStructField + IL_01a2: dup + IL_01a3: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01a8: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01ad: stloc.0 + IL_01ae: ldloc.0 + IL_01af: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01b4: ldloc.0 + IL_01b5: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01ba: nop + IL_01bb: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetStruct() + IL_01c0: dup + IL_01c1: call instance valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::get_CustomStructProp() + IL_01c6: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01cb: stloc.0 + IL_01cc: ldloc.0 + IL_01cd: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct2::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01d2: nop + IL_01d3: ldloc.0 + IL_01d4: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01d9: nop + IL_01da: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct& ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::GetRefCustomStruct() + IL_01df: dup + IL_01e0: ldobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01e5: call valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct::op_Decrement(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + IL_01ea: stloc.0 + IL_01eb: ldloc.0 + IL_01ec: stobj ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + IL_01f1: ldloc.0 + IL_01f2: call void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::X(!!0) + IL_01f7: nop + IL_01f8: ret + } // end of method CompoundAssignmentTest::CustomStructPreDecTest .method private hidebysig static class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/Item GetItem(object obj) cil managed @@ -1951,27 +25363,22 @@ .method private hidebysig instance void Issue588(uint16 val) cil managed { - // Code size 33 (0x21) - .maxstack 4 - .locals init (uint16 V_0) + // Code size 29 (0x1d) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortDict - IL_0007: ldarg.0 - IL_0008: ldarg.0 - IL_0009: ldfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField - IL_000e: stloc.0 - IL_000f: ldloc.0 - IL_0010: ldc.i4.1 - IL_0011: add - IL_0012: conv.u2 - IL_0013: stfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, + IL_0007: ldsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_000c: dup + IL_000d: ldc.i4.1 + IL_000e: add + IL_000f: conv.u2 + IL_0010: stsfld uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::ushortField + IL_0015: ldarg.1 + IL_0016: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_001f: nop - IL_0020: ret + IL_001b: nop + IL_001c: ret } // end of method CompoundAssignmentTest::Issue588 .method private hidebysig instance void @@ -2018,6 +25425,58 @@ IL_0012: ret } // end of method CompoundAssignmentTest::.ctor + .property class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass + CustomClassProp() + { + .get class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomClassProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomClassProp(class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomClass) + } // end of property CompoundAssignmentTest::CustomClassProp + .property valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct + CustomStructProp() + { + .get valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_CustomStructProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_CustomStructProp(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest/CustomStruct) + } // end of property CompoundAssignmentTest::CustomStructProp + .property uint8 ByteProp() + { + .get uint8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ByteProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ByteProp(uint8) + } // end of property CompoundAssignmentTest::ByteProp + .property int8 SbyteProp() + { + .get int8 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_SbyteProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_SbyteProp(int8) + } // end of property CompoundAssignmentTest::SbyteProp + .property int16 ShortProp() + { + .get int16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_ShortProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_ShortProp(int16) + } // end of property CompoundAssignmentTest::ShortProp + .property uint16 UshortProp() + { + .get uint16 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UshortProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UshortProp(uint16) + } // end of property CompoundAssignmentTest::UshortProp + .property int32 IntProp() + { + .get int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_IntProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_IntProp(int32) + } // end of property CompoundAssignmentTest::IntProp + .property uint32 UintProp() + { + .get uint32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UintProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UintProp(uint32) + } // end of property CompoundAssignmentTest::UintProp + .property int64 LongProp() + { + .get int64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_LongProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_LongProp(int64) + } // end of property CompoundAssignmentTest::LongProp + .property uint64 UlongProp() + { + .get uint64 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_UlongProp() + .set void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::set_UlongProp(uint64) + } // end of property CompoundAssignmentTest::UlongProp .property int32 StaticProperty() { .get int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CompoundAssignmentTest::get_StaticProperty()