Hello,
if I disassemble this C# code:
const int SIZE = 20;
int* fib = stackalloc int[SIZE];
I get this in the C# disassembly window:
int* fib = (int*) stackalloc byte[(((IntPtr) 20) * 4)];
Which is not exactly the correct syntax (i.e. can't multiply an IntPtr, (int *) cast is not accespted before stackalloc...
Is there anything that could be improved in Reflector?
Thanks,
Olivier
if I disassemble this C# code:
const int SIZE = 20;
int* fib = stackalloc int[SIZE];
I get this in the C# disassembly window:
int* fib = (int*) stackalloc byte[(((IntPtr) 20) * 4)];
Which is not exactly the correct syntax (i.e. can't multiply an IntPtr, (int *) cast is not accespted before stackalloc...
Is there anything that could be improved in Reflector?
Thanks,
Olivier