Make class abstract
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'.
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for