Bug 397 - overriding any method gives the same irrelevant comment in the method body
Summary: overriding any method gives the same irrelevant comment in the method body
Status: RESOLVED INVALID
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: Trunk
Hardware: PC Mac OS
: --- major
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2011-08-25 05:54 UTC by Alan McGovern
Modified: 2011-08-25 07:11 UTC (History)
2 users (show)

Tags:
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:
Status:
RESOLVED INVALID

Description Alan McGovern 2011-08-25 05:54:58 UTC
When i override this method it gives me this by default:

public override bool FinishedLaunching (UIApplication application, NSDictionary launcOptions)
		{
			// TODO: Implement - see: http://go-mono.com/docs/index.aspx?link=T%3aMonoTouch.Foundation.ModelAttribute
		}

Why am i being linked to some weird attribute? I've no idea what relevance it has to overriding this method :)
Comment 1 Alan McGovern 2011-08-25 06:56:14 UTC
I just realised this happens whenever any method is overridden.
Comment 2 Mikayla Hutchinson [MSFT] 2011-08-25 07:01:19 UTC
It's completely relevant, UIApplicationDelegate is a model, i.e. an implementation of an objective-C protocol. You get that when you override any method on an obj-c model, to explain why it's not chaining to base.
Comment 3 Alan McGovern 2011-08-25 07:09:25 UTC
Ah, I was just confused when it appeared for a few methods I had overridden. I choose one of them at random for the bug report. I then realised it was happening for every single method and thought the detection for when it should be created was broken. Now I realise I've just overridden methods in Models all the time :)
Comment 4 Mikayla Hutchinson [MSFT] 2011-08-25 07:11:50 UTC
Well, we could certainly improve the comment text, feel free to do that :)