'function' : static member function cannot hide interface method
Overloaded methods cannot contain matching signatures and differ only by the static keyword.
The following sample generates C2578:
#using <mscorlib.dll> __gc __interface IFace { public: void Test(); }; __gc class CMyClass : public IFace { public: static void Test() { // C2578 hides IFace::Test } }; void main(){ }