CodeRush Classic shows the Abstract member cannot be marked as sealed code issue if a member declaration contains both abstract and sealed keywords.
Fix
Remove the sealed keyword from the member declaration statement.
Purpose
Highlights the abstract member declarations, which would cause the 'Member name' cannot be both abstract and sealed compilation error.
Example
public abstract class MyShape
{
public sealed abstract double │GetArea();
}
Fix:
public abstract class MyShape
{
public abstract double GetArea();
}
We are updating the DevExpress product documentation website and this page is part of our new experience. During this transition period, product documentation remains available in our previous format at documentation.devexpress.com. Learn More...