Edit and Continue (Visual Basic): Module Declaration Edits
This topic applies to:
Pro, Premium, and Ultimate
Most changes to module 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 module.
Renaming or deleting an existing module.
Changing the access modifier for a module.
If you want to make one of these changes, you must stop debugging and recompile the project.