Given the following code:
class Foo : IFoo
{
void Func(string a) {}
void Func(int b) {}
void Test()
{
Func
}
}
Putting the caret in Func in Test() and hitting Alt-G brings up a listbox for both versions of Func(). This is great. Visual Studio does the same thing if I do F12 (though through the much less convenient Find Symbol Results pane).
However, if I change that 'Func' to 'Func("hi")' and again do Alt-G on the call to Func, I still get the disambiguation listbox.
I would expect that, like Visual Studio does with F12, because there is no ambiguity in what function is being called, then it would go right to the string version of Func. This would save a lot of time with heavily overloaded functions, having to pick through the list to find the right version that I'm calling, especially when the IDE already knows which one it is.
This is VS2010 with VAX #1822.