If you take the BigInteger example class from CodeProject

http://www.codeproject.com/KB/cs/biginteger.aspx

If you try and use reflector the output code will not be correct.
BigInteger integer = new BigInteger(pseudoPrime1);

            integer = integer >> 0x01;
            integer = integer << 0x01;
            integer =  -integer;
            integer = (integer % integer);

will return these if I split each operation into one.
integer = op_RightShift(integer, 1);
integer = op_LeftShift(integer, 1);
integer = op_UnaryNegation(integer);
integer = op_Modulus(integer, integer);


This won't compile since .net won't let you call the operators.
"cannot explicitly call operator or accessor"

Hopefully this will be remedied in future versions.

Sarkie
Sarkie
0

Comments

2 comments

  • Clive Tong
    Thank you for reporting this. I have added it to the bug tracking system.
    Clive Tong
    0
  • Clive Tong
    I've just fixed this bug. The fix will be available in the next EAP for Reflector 6.5.
    Clive Tong
    0

Add comment

Please sign in to leave a comment.