Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 "Goto" gets confused by explicit interfaces

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
scottbilas Posted - Apr 28 2010 : 1:19:32 PM
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.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Apr 29 2010 : 6:50:54 PM
I assume this is C# code. Testing inside C# I am seeing the same problem here, thank you for the clear description:

case=43475

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000