Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Cannot call an abstract base member: 'method'
You cannot call an abstract method because it does not have a method body. For more information, see Abstract and Sealed Classes and Class Members.
The following sample generates CS0205:
// CS0205.cs
abstract public class MyClass
{
abstract public void M();
}
public class MyClass2 : MyClass
{
public override void M()
{
base.M(); // CS0205, delete this line
}
public static void Main()
{
}
}
.NET feedback
.NET is an open source project. Select a link to provide feedback: