Edit and Continue (Visual Basic): Class Declaration Edits

This topic applies to:

Edition

Visual Basic

C#

F#

C++

Web Developer

Express

Topic applies Topic does not apply Topic does not apply Topic does not apply Topic applies

Pro, Premium, and Ultimate

Topic applies Topic does not apply Topic does not apply Topic does not apply Topic applies

Most changes to class declarations are not allowed by Edit and Continue while in Break mode. Specifically, Edit and Continue does not support the following changes:

  • Creating a new class.

  • Renaming, deleting, or changing the inheritance of an existing class.

  • Implementing a new interface or removing the implementation of an interface.

  • Changing any of the following modifiers on a class: MustInherit, NotInheritable, or Shared.

  • Adding, changing, or removing ComClass status.

  • Changing the access modifier for a class.

  • Editing any generic class declaration.

If you want to make one of these changes, you must stop debugging and recompile the project.

See Also

Tasks

How to: Apply Edits in Break Mode with Edit and Continue

Reference

Edit and Continue (Visual Basic): Unsupported Declaration Edits

Edit and Continue (Visual Basic): Structure Declaration Edits

Edit and Continue (Visual Basic): Module Declaration Edits

Other Resources

Edit and Continue (Visual Basic)