Bug 3951 - Ambiguous UIView.Animate Overload added
Summary: Ambiguous UIView.Animate Overload added
Alias: None
Product: iOS
Classification: Xamarin
Component: XI runtime ()
Version: 5.2
Hardware: Macintosh Mac OS
: --- major
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2012-03-17 16:10 UTC by bryan costanich
Modified: 2012-03-17 18:52 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:

Description bryan costanich 2012-03-17 16:10:17 UTC
this call: UIView.Animate(this._animationDuration, () => { this.View.Frame = this._hiddenFrame; }, null);

is now ambiguous because of a new overload added in 5.3.0:

Error CS0121: The call is ambiguous between the following methods or properties: `MonoTouch.UIKit.UIView.Animate(double, MonoTouch.Foundation.NSAction, MonoTouch.Foundation.NSAction)' and `MonoTouch.UIKit.UIView.Animate(double, MonoTouch.Foundation.NSAction, MonoTouch.UIKit.UICompletionHandler)'
Comment 1 Sebastien Pouliot 2012-03-17 17:50:08 UTC
This same (null) case was spotted earlier (but after 5.3.0 alpha release) and the new method was renamed AnimateNotify.
Comment 2 Sebastien Pouliot 2012-03-17 18:51:08 UTC

5.2-series: 6eb28f487a43e11837e9cd622ba6c1ed8a340efe and f931ede136a463ccda0045092e55ac8ac2a1c8d5

master: 137f6cd9edb6952802227538ecef89166ae88a7f and 8625c22e0139ac2ded908d30ae3dd9110ba17954

QA: unit tests added in master 1856172613e178f113677e36b7de9e121b1d0feb
Comment 3 Sebastien Pouliot 2012-03-17 18:52:17 UTC
oops, the above was for bug #3950