'function' : no suitable method found to override
A method was marked as an override, but the compiler found no method to override.
The following sample generates CS0115:
namespace x { abstract public class clu { public abstract int f(); } abstract public class clx { public override int f() // CS0115 { return 0; } public static void Main() { } } }
You can resolve CS0115 in one of two ways:
clx
.clu
as a base class for clx
.