Edit and Continue (Visual Basic): Module Member Declaration Edits
This topic applies to:
Pro and Team
Does not apply
Command or commands hidden by default.
Using Edit and Continue, you can make a variety of changes to module members, such as properties, methods, and fields, while in Break mode. Some changes, however, are not supported. Most notably, Edit and Continue does not support adding, deleting, or changing the type or signature of non-private members.
Specifically, Edit and Continue does not support the following changes:
Adding a new member, unless that member is Private and there are no occurrences of the name in any active statement.
Removing a property or method.
Changing the signature of a non-private property or method.
Editing any method that uses generics.
Changing the access modifiers for a property or method, for example, changing Public to Private.
Deleting or changing the type of an existing field.
If you want to make one of these changes, you must stop debugging and recompile your project.