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.
Xamarin.iOS: Version: 188.8.131.52
Looks like we have a bug for NMath.Min:
public static nint Min (nint val1, nint val2)
return (!(val1 > val2)) ? val2 : val1;
Looks like copy-paste from Max method. The same for overloads.
I took this from assembly browser
Fixed in master 831efd139477d858da49e743a1c15e646eb13ce0
Also backported to 8.2 and might backport to 8.0
Backported in monotouch-8.0.0-branch in 3b8e1625003ed2745985b6c3b6a2dd8f4932e941
I have checked this issue with following builds:
Mac OS X 10.9.3
Xamarin Studio: 5.4 (build 239)
Mono 3.8.0 ((no/45d0ba1)
Xcode 6.0 (6194.24)
Xamarin.iOS : 184.108.40.206 (Business Edition)
=== Build Information ===
Release ID: 504000239
Git revision: 338110385bb89c5774e89ffcb15d8f2039e7fbcd
Build date: 2014-09-16 12:25:53-04
Xamarin addins: 05241f5ab70cf79388a0f113bc6877780ed1024a
I have checked the definition of Min method in NMath class in assembly browser and observed that now the condition is updated for the Min(nint, nint) method.
public static nint Min(nint val1, nint val2)
return (!(val1 < val2)) ? val2 : val1;
This issue has been fixed. Hence, I am closing this issue.