Bug 3370 - MD ignores member hiding
Summary: MD ignores member hiding
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: Trunk
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Mike Krüger
Depends on:
Reported: 2012-02-10 09:32 UTC by Marek Safar
Modified: 2012-02-13 09:08 UTC (History)
1 user (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 Marek Safar 2012-02-10 09:32:54 UTC
using System;

public class MyClass
	public class A
		public event EventHandler MouseClick;

	public class B : A
		public new event EventHandler MouseClick;

	public class C : B
		public new void MouseClick ()
			Console.WriteLine ("This should be printed");

	static public void Main ()
		C myclass = new C ();
		myclass.	// MD shows all 3 versions of MouseClick
Comment 1 Mike Krüger 2012-02-10 09:50:26 UTC
Works for me with current master (shows 2), I think I fixed it 3 bugs before.

Reopen, if you have still this isse.
Comment 2 Marek Safar 2012-02-13 04:40:38 UTC
It does not work, it still shows 3 members (2 event + 1 method) instead of 1
Comment 3 Mike Krüger 2012-02-13 09:08:03 UTC
fixed - y it should only show 1 in that case.