Bug 58350 - [generator] Handle sharpie's [RequiresSuper]
Summary: [generator] Handle sharpie's [RequiresSuper]
Alias: None
Product: iOS
Classification: Xamarin
Component: Tools (show other bugs)
Version: master
Hardware: PC Mac OS
: --- enhancement
Target Milestone: Future Cycle (TBD)
Assignee: Bugzilla
Depends on:
Reported: 2017-07-25 03:28 UTC by Sebastien Pouliot
Modified: 2017-08-02 15:57 UTC (History)
2 users (show)

See Also:
Is this bug a regression?: No
Last known good build:


Description Sebastien Pouliot 2017-07-25 03:28:17 UTC
Accept the attribute in the generator and, minimally, output something like:

> [Advice ("You must call the base method when overriding.")]

in the generated code.

This will allow the IDE to show the requirement to the developer.
Comment 1 Sebastien Pouliot 2017-07-25 03:32:39 UTC
This can be done manually until then, 
e.g. https://github.com/xamarin/xamarin-macios/pull/2364

Ideally we need to update xtro to report missing cases.
Comment 2 Manuel de la Peña 2017-08-02 15:57:46 UTC
@Sebastien, setting this to confirmed to keep the backlog clean and not get confused.

Note You need to log in before you can comment on or make changes to this bug.