Compiler Error CS0534
'function1' does not implement inherited abstract member 'function2'
A class is required to implement all the abstract members in the base class, unless the class is also abstract.
The following sample generates CS0534:
// CS0534.cs
namespace x
{
abstract public class clx
{
public abstract void f();
}
public class cly : clx // CS0534, no override for clx::f
{
// uncomment the following sample override to resolve CS0534
// override public void f()
// {
// }
public static int Main()
{
return 0;
}
}
}
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: