There are several reasons for a method not to have a method body:
NotSupportedException should be thrown.
public override void DoSomething()
{
}
public override void DoSomethingElse()
{
}
public override void DoSomething()
{
// Do nothing because of X and Y.
}
public override void DoSomethingElse()
{
throw new NotSupportedException();
}
The following methods are ignored:
virtual methods, abstract method,