Bug 22536 - Debugger does not see interface members
Summary: Debugger does not see interface members
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger ()
Version: 5.0
Hardware: PC Mac OS
: Normal normal
Target Milestone: master
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-09-01 08:10 UTC by Marek Safar
Modified: 2016-03-29 09:29 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 FIXED

Description Marek Safar 2014-09-01 08:10:37 UTC
http://screencast.com/t/e3kUJtKi

using System;


interface IFoo
{
	int Prop { get; set; }
}

class A : IFoo
{
	int IFoo.Prop { get; set; }
}

class B
{
	public void Test ()
	{
		Foo = new A ();
		var x = Foo.Prop; // Hover over Prop here
		return;
	}

	public IFoo Foo { get; set; }
}

class X
{
	static void Main ()
	{
		var a = new B ();
		a.Test ();
		return;
	}
}
Comment 1 Sadik Ali 2014-09-01 11:37:26 UTC
I have checked this issue and I am also getting the same behavior.

When I hover the cursor over the Prop property while programming is in debugging mode, I observed that XS shows "Unknown member: Prop".

Screencast: http://www.screencast.com/t/WXoeYEcH


Environment Info:

Mac OS X 10.9.3
Xamarin Studio: 5.4 (build 180)
Build Information
Release ID: 504000180
Git revision: c4134fa71f348cb4278fa3ef2a95b83e66b6b663
Build date: 2014-08-29 15:08:17-04
Xamarin addins: 774a80c5533b1ff34045a56cc0bc74885ba6e61a
Comment 2 xamarin-release-manager 2016-03-29 09:29:17 UTC
Fixed in version 6.1.0.423 (master)

Author: David Karlas??
Commit: 3cf1e47d0c4859b56805beb69884badc9e2b6ca7 (mono/debugger-libs)
Included in Commit: 0715d75f1edf50d022d5682db9024edb2d45b698 (mono/monodevelop)