Bug 43309 - MethodListPropertyPanel is mis-generating the signatures for Actions
Summary: MethodListPropertyPanel is mis-generating the signatures for Actions
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS Designer ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-08-12 14:56 UTC by Alan McGovern
Modified: 2017-07-11 16:43 UTC (History)
6 users (show)

Tags: ac vs
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 for Bug 43309 on Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.
Related Links:

Description Alan McGovern 2016-08-12 14:56:48 UTC
The VS logic is completely different to the XS logic and is resulting in broken method signatures being created.

We need to make [0] work in the same way as [1].

Specifically we should use the `AddHandler` code to generate the right method signature and we should obey the 'RemoveOnly' attribute. There may be more issues we encounter after we review the two classes.

[0] https://github.com/xamarin/md-addins/blob/master/Xamarin.Designer.iOS/MonoTouch.Design.Client.Windows/NativePropertyEditing/Xaml/MethodListPanel.xaml.cs
[1] https://github.com/xamarin/md-addins/blob/master/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/NativePropertyEditing/MethodListPropertyEntry.cs