[Mono-list] Coding advice before I raise a bug
Edward Ned Harvey (mono)
edward.harvey.mono at clevertrove.com
Thu Jun 12 15:12:45 UTC 2014
> From: mono-list-bounces at lists.ximian.com [mailto:mono-list-
> bounces at lists.ximian.com] On Behalf Of David Burnett
> I may have found a compiler bug, but as I'm fairly new to c# I thought I'd
First things first, how can we recreate the bug? I tried some rudimentary testing based on the code you posted, and I failed to get the described result. In all the cases I tried, I got x += x behaving as you would expect it to behave. The same as x *= 2 (for ints between 1 and 2047).
What version of mono are you using?
More information about the Mono-list