I found a bug in the method stub generation of Visual Studio intellisense.
class A { }
class B : A
{
A a;
void f() { a.NewMethod(); }
}
When I choose "Generate Method Stub" on a.NewMethod(), I should get a public method. Instead, intellisense confuses itself and creates a protected method for me.
The compiler correctly complains about the call to the generated protected void NewMethod() in A.
Is there any way to report this to Microsoft? This post says it's a Mission Impossible to get through.