The requested page is not available for the requested platform. You are viewing the content for Default platform.

Static class cannot be abstract

CodeRush Classic shows the Static class cannot be abstract code issue if a static class is marked as abstract.


Remove the abstract or static modifier from the class declaration.


Highlights the class declarations, which would cause the An abstract class cannot be sealed or static compilation error.


public static abstract class MyClass


public static class MyClass
public abstract class MyClass