Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 "Goto" gets confused by explicit interfaces
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

scottbilas
Ketchup Master

72 Posts

Posted - Apr 28 2010 :  1:19:32 PM  Show Profile  Reply with Quote
In #1822 on VS2010 I have narrowed down a Goto problem to the following repro. Given this code:


interface IFoo
{
	void Func();
}

class Foo : IFoo
{
	void Func()
	{

	}

	void IFoo.Func()
	{
		Func();
	}
}


Put the cursor on the Func() call inside of IFoo.Func and hit Alt-G. It moves to the top of the function.

Expected: it should instead go to the non-interface Func() function. Note that Visual Studio's F12 goto feature does the right thing here.

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Apr 29 2010 :  6:50:54 PM  Show Profile  Reply with Quote
I assume this is C# code. Testing inside C# I am seeing the same problem here, thank you for the clear description:

case=43475

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000