Automatically generate implementations of base class methods

For virtual methods type override, give an space and intellisense will show you all methods that can be inherited.


For virtual methods, you can type override and then a space. Intellisense should offer you a list of options.

For abstract methods and properties, you can use the smart tag on the base class or interface (also, Ctrl+. or Shift+Alt+F10 will show the smart tag menu) to generate the concrete items.

For example, in the following code snippet, you could place the caret at the end of INotifyPropertyChanged and press Ctrl+. to then select Implement Interface, and the PropertyChanged event would be added to MyClass:

class MyClass : INotifyPropertyChanged
{
}

Just type the Interface that you want to implement, and then click on the Smart Tag, a context menu will popup, and then you can select either Implement Interface or Implement Interface Explicitly:

enter image description here

All the members to be overridden will be contained within a code region that is named to reflect its purpose.

All the members will have a line that throws a NotImplementedException.