Bug 7882 - Using events doesn't show obsolete methods in MonoTouch
Summary: Using events doesn't show obsolete methods in MonoTouch
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: 6.1.x
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
: 7381 ()
Depends on:
Reported: 2012-10-17 12:14 UTC by Chris Hardy [MSFT]
Modified: 2012-10-18 08:18 UTC (History)
4 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 Chris Hardy [MSFT] 2012-10-17 12:14:54 UTC
Using a CLLocationManager to listen for events on UpdateLocation, the method was deprecated in iOS 6 and marked as obsolete: http://screencast.com/t/TzJL84Kok (see documentation here; http://developer.apple.com/library/ios/#documentation/CoreLocation/Reference/CLLocationManagerDelegate_Protocol/DeprecationAppendix/AppendixADeprecatedAPI.html#//apple_ref/occ/intfm/CLLocationManagerDelegate/locationManager:didUpdateToLocation:fromLocation: )

However, most people do not use the method directly from the delegate and use it the following way: 

manager.UpdatedLocation += (sender, e) => {};

Image here: http://screencast.com/t/isHAhHWQpl so this does not show that this event is deprecated and will not be called, when it should act as the image above and show a strikethrough since it's marked as obsolete.
Comment 1 Sebastien Pouliot 2012-10-17 18:58:46 UTC
hmm.. good catch, I never realized that one.
Comment 2 Sebastien Pouliot 2012-10-17 19:11:38 UTC
master: 4487d7264be56089e1f22e429412cbbd5067d2fe
ios6: 4b671fd2b6c7f5df5d39223f6e249a16981c85d7
Comment 3 Rolf Bjarne Kvinge [MSFT] 2012-10-18 08:18:00 UTC
*** Bug 7381 has been marked as a duplicate of this bug. ***