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.
This refactoring applies to:
C#
Visual Basic
What: Make class abstract refactoring.
When: You write an abstract method in a class that is not abstract.
Why: Having a code fix to make a class abstract after writing an abstract method will save you time.
How-to
Place your caret on the abstract method.
Press Ctrl+. to trigger the Quick Actions and Refactorings menu.
Select Make class 'abstract'.