Bugs of field order in Reflector

class Demo
{
public static int bbb = 5;
public static int aaa = bbb + 2;
}

aaa=7,bbb=5

decompiled by Reflector:

internal class Demo
{
// Fields
public static int aaa = (bbb + 2);
public static int bbb = 5;
}

aaa=2,bbb=5


Tagged:

Comments

Sign In or Register to comment.