Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Java's AtomicInteger has methods for returning the current value and mutating it in a single command. The methods are `getAndIncrement` and `getAndDecrement`. Those should not be bound in C# as properties `AndIncrement`/`AndDecrement`. Among other things, it's deceptive to have read-only properties that mutate the value. It's also inconsistent with the rest of the object. `get`, `set`, `getAndSet`, and `getAndAdd` all remained methods.
OK, they look weird and should be brought back to methods. Basically we don't review tens of thousands of methods in Android API but automatically translate the entire API, so things like this happen. Thanks for the feedback, they will be taken care.
Fix PR: https://github.com/xamarin/xamarin-android/pull/240
I'm sorry that I forgot to close this bug and notify you. The PR was merged months ago.